anyscale 0.24.87__py3-none-any.whl → 0.24.91__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/__init__.py +56 -0
- anyscale/_private/anyscale_client/anyscale_client.py +158 -28
- anyscale/_private/anyscale_client/common.py +82 -0
- anyscale/_private/anyscale_client/fake_anyscale_client.py +193 -1
- anyscale/_private/docgen/README.md +1 -1
- anyscale/_private/docgen/__main__.py +74 -19
- anyscale/_private/docgen/api.md +0 -20
- anyscale/_private/docgen/generator.py +4 -2
- anyscale/_private/docgen/models.md +1 -46
- anyscale/_private/workload/workload_config.py +1 -1
- anyscale/aggregated_instance_usage/__init__.py +1 -1
- anyscale/aggregated_instance_usage/commands.py +2 -4
- anyscale/aggregated_instance_usage/models.py +8 -8
- anyscale/client/README.md +19 -23
- anyscale/client/openapi_client/__init__.py +13 -15
- anyscale/client/openapi_client/api/default_api.py +825 -962
- anyscale/client/openapi_client/models/__init__.py +13 -15
- anyscale/client/openapi_client/models/admin_create_user.py +255 -0
- anyscale/client/openapi_client/models/admin_created_user.py +281 -0
- anyscale/client/openapi_client/models/{sessionevent_list_response.py → admincreateduser_list_response.py} +15 -15
- anyscale/client/openapi_client/models/aggregated_usage_query.py +1 -29
- anyscale/client/openapi_client/models/{session_event_types.py → cloud_deployment_config.py} +35 -24
- anyscale/client/openapi_client/models/{platformfinetuningjob_response.py → clouddeploymentconfig_response.py} +11 -11
- anyscale/client/openapi_client/models/{company_size.py → cluster_size.py} +10 -10
- anyscale/client/openapi_client/models/cluster_status_details.py +2 -1
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/{resubmit_ft_job_request.py → describe_machine_pool_request.py} +21 -20
- anyscale/client/openapi_client/models/describe_machine_pool_response.py +123 -0
- anyscale/client/openapi_client/models/{fine_tuning_job_status.py → describemachinepoolresponse_response.py} +34 -16
- anyscale/client/openapi_client/models/machine_allocation_state.py +3 -1
- anyscale/client/openapi_client/models/machine_state_info.py +326 -0
- anyscale/client/openapi_client/models/organization_marketing_questions.py +80 -54
- anyscale/client/openapi_client/models/request_state_info.py +210 -0
- anyscale/client/openapi_client/models/{platformfinetuningjob_list_response.py → scheduler_info.py} +43 -38
- anyscale/client/openapi_client/models/usage_by_cluster.py +28 -1
- anyscale/client/openapi_client/models/usage_by_user.py +30 -3
- anyscale/client/openapi_client/models/workload_info.py +210 -0
- anyscale/cloud/__init__.py +83 -0
- anyscale/cloud/_private/cloud_sdk.py +25 -0
- anyscale/cloud/commands.py +45 -0
- anyscale/cloud/models.py +91 -0
- anyscale/cluster_compute.py +1 -1
- anyscale/commands/aggregated_instance_usage_commands.py +4 -4
- anyscale/commands/cloud_commands.py +38 -2
- anyscale/commands/command_examples.py +67 -0
- anyscale/commands/job_commands.py +15 -3
- anyscale/commands/machine_pool_commands.py +113 -1
- anyscale/commands/organization_invitation_commands.py +98 -0
- anyscale/commands/project_commands.py +52 -2
- anyscale/commands/resource_quota_commands.py +98 -11
- anyscale/commands/service_commands.py +1 -1
- anyscale/commands/session_commands_hidden.py +5 -1
- anyscale/commands/user_commands.py +49 -0
- anyscale/commands/util.py +1 -1
- anyscale/commands/workspace_commands.py +1 -1
- anyscale/connect.py +1 -1
- anyscale/connect_utils/project.py +7 -4
- anyscale/controllers/cloud_controller.py +6 -6
- anyscale/controllers/cloud_functional_verification_controller.py +1 -1
- anyscale/controllers/cluster_controller.py +2 -2
- anyscale/controllers/compute_config_controller.py +1 -1
- anyscale/controllers/experimental_integrations_controller.py +1 -1
- anyscale/controllers/job_controller.py +8 -3
- anyscale/controllers/list_controller.py +2 -2
- anyscale/controllers/machine_pool_controller.py +12 -1
- anyscale/controllers/project_controller.py +4 -3
- anyscale/controllers/schedule_controller.py +1 -1
- anyscale/controllers/service_controller.py +1 -1
- anyscale/controllers/workspace_controller.py +1 -1
- anyscale/models/job_model.py +1 -1
- anyscale/organization_invitation/__init__.py +61 -0
- anyscale/organization_invitation/_private/organization_invitation_sdk.py +24 -0
- anyscale/organization_invitation/commands.py +84 -0
- anyscale/organization_invitation/models.py +45 -0
- anyscale/project/__init__.py +35 -0
- anyscale/project/_private/project_sdk.py +27 -0
- anyscale/project/commands.py +56 -0
- anyscale/project/models.py +91 -0
- anyscale/{project.py → project_utils.py} +3 -4
- anyscale/resource_quota/__init__.py +99 -0
- anyscale/resource_quota/_private/resource_quota_sdk.py +111 -0
- anyscale/resource_quota/commands.py +150 -0
- anyscale/resource_quota/models.py +303 -0
- anyscale/scripts.py +6 -0
- anyscale/sdk/anyscale_client/__init__.py +0 -5
- anyscale/sdk/anyscale_client/api/default_api.py +0 -150
- anyscale/sdk/anyscale_client/models/__init__.py +0 -5
- anyscale/sdk/anyscale_client/models/cluster_status_details.py +2 -1
- anyscale/sdk/anyscale_client/sdk.py +1 -1
- anyscale/user/__init__.py +35 -0
- anyscale/user/_private/user_sdk.py +32 -0
- anyscale/user/commands.py +42 -0
- anyscale/user/models.py +201 -0
- anyscale/util.py +15 -0
- anyscale/utils/cloud_utils.py +1 -1
- anyscale/version.py +1 -1
- anyscale/workspace_utils.py +1 -1
- {anyscale-0.24.87.dist-info → anyscale-0.24.91.dist-info}/METADATA +1 -5
- {anyscale-0.24.87.dist-info → anyscale-0.24.91.dist-info}/RECORD +105 -92
- anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +0 -156
- anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +0 -353
- anyscale/client/openapi_client/models/finish_ft_job_request.py +0 -204
- anyscale/client/openapi_client/models/log_level_types.py +0 -100
- anyscale/client/openapi_client/models/paging_context.py +0 -172
- anyscale/client/openapi_client/models/platform_fine_tuning_job.py +0 -577
- anyscale/client/openapi_client/models/session_event.py +0 -267
- anyscale/client/openapi_client/models/session_event_cause.py +0 -150
- anyscale/controllers/resource_quota_controller.py +0 -183
- anyscale/sdk/anyscale_client/models/log_level_types.py +0 -100
- anyscale/sdk/anyscale_client/models/session_event.py +0 -267
- anyscale/sdk/anyscale_client/models/session_event_cause.py +0 -150
- anyscale/sdk/anyscale_client/models/session_event_types.py +0 -111
- anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +0 -147
- anyscale/utils/imports/azure.py +0 -14
- /anyscale/{cloud.py → cloud_utils.py} +0 -0
- {anyscale-0.24.87.dist-info → anyscale-0.24.91.dist-info}/LICENSE +0 -0
- {anyscale-0.24.87.dist-info → anyscale-0.24.91.dist-info}/NOTICE +0 -0
- {anyscale-0.24.87.dist-info → anyscale-0.24.91.dist-info}/WHEEL +0 -0
- {anyscale-0.24.87.dist-info → anyscale-0.24.91.dist-info}/entry_points.txt +0 -0
- {anyscale-0.24.87.dist-info → anyscale-0.24.91.dist-info}/top_level.txt +0 -0
|
@@ -152,6 +152,122 @@ class DefaultApi(object):
|
|
|
152
152
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
153
153
|
collection_formats=collection_formats)
|
|
154
154
|
|
|
155
|
+
def admin_batch_create_users_api_v2_users_admin_batch_create_post(self, admin_create_user, **kwargs): # noqa: E501
|
|
156
|
+
"""Admin Batch Create Users # noqa: E501
|
|
157
|
+
|
|
158
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
159
|
+
asynchronous HTTP request, please pass async_req=True
|
|
160
|
+
>>> thread = api.admin_batch_create_users_api_v2_users_admin_batch_create_post(admin_create_user, async_req=True)
|
|
161
|
+
>>> result = thread.get()
|
|
162
|
+
|
|
163
|
+
:param async_req bool: execute request asynchronously
|
|
164
|
+
:param list[AdminCreateUser] admin_create_user: (required)
|
|
165
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
166
|
+
be returned without reading/decoding response
|
|
167
|
+
data. Default is True.
|
|
168
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
169
|
+
number provided, it will be total request
|
|
170
|
+
timeout. It can also be a pair (tuple) of
|
|
171
|
+
(connection, read) timeouts.
|
|
172
|
+
:return: AdmincreateduserListResponse
|
|
173
|
+
If the method is called asynchronously,
|
|
174
|
+
returns the request thread.
|
|
175
|
+
"""
|
|
176
|
+
kwargs['_return_http_data_only'] = True
|
|
177
|
+
return self.admin_batch_create_users_api_v2_users_admin_batch_create_post_with_http_info(admin_create_user, **kwargs) # noqa: E501
|
|
178
|
+
|
|
179
|
+
def admin_batch_create_users_api_v2_users_admin_batch_create_post_with_http_info(self, admin_create_user, **kwargs): # noqa: E501
|
|
180
|
+
"""Admin Batch Create Users # noqa: E501
|
|
181
|
+
|
|
182
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
183
|
+
asynchronous HTTP request, please pass async_req=True
|
|
184
|
+
>>> thread = api.admin_batch_create_users_api_v2_users_admin_batch_create_post_with_http_info(admin_create_user, async_req=True)
|
|
185
|
+
>>> result = thread.get()
|
|
186
|
+
|
|
187
|
+
:param async_req bool: execute request asynchronously
|
|
188
|
+
:param list[AdminCreateUser] admin_create_user: (required)
|
|
189
|
+
:param _return_http_data_only: response data without head status code
|
|
190
|
+
and headers
|
|
191
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
192
|
+
be returned without reading/decoding response
|
|
193
|
+
data. Default is True.
|
|
194
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
195
|
+
number provided, it will be total request
|
|
196
|
+
timeout. It can also be a pair (tuple) of
|
|
197
|
+
(connection, read) timeouts.
|
|
198
|
+
:return: tuple(AdmincreateduserListResponse, status_code(int), headers(HTTPHeaderDict))
|
|
199
|
+
If the method is called asynchronously,
|
|
200
|
+
returns the request thread.
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
local_var_params = locals()
|
|
204
|
+
|
|
205
|
+
all_params = [
|
|
206
|
+
'admin_create_user'
|
|
207
|
+
]
|
|
208
|
+
all_params.extend(
|
|
209
|
+
[
|
|
210
|
+
'async_req',
|
|
211
|
+
'_return_http_data_only',
|
|
212
|
+
'_preload_content',
|
|
213
|
+
'_request_timeout'
|
|
214
|
+
]
|
|
215
|
+
)
|
|
216
|
+
|
|
217
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
218
|
+
if key not in all_params:
|
|
219
|
+
raise ApiTypeError(
|
|
220
|
+
"Got an unexpected keyword argument '%s'"
|
|
221
|
+
" to method admin_batch_create_users_api_v2_users_admin_batch_create_post" % key
|
|
222
|
+
)
|
|
223
|
+
local_var_params[key] = val
|
|
224
|
+
del local_var_params['kwargs']
|
|
225
|
+
# verify the required parameter 'admin_create_user' is set
|
|
226
|
+
if self.api_client.client_side_validation and ('admin_create_user' not in local_var_params or # noqa: E501
|
|
227
|
+
local_var_params['admin_create_user'] is None): # noqa: E501
|
|
228
|
+
raise ApiValueError("Missing the required parameter `admin_create_user` when calling `admin_batch_create_users_api_v2_users_admin_batch_create_post`") # noqa: E501
|
|
229
|
+
|
|
230
|
+
collection_formats = {}
|
|
231
|
+
|
|
232
|
+
path_params = {}
|
|
233
|
+
|
|
234
|
+
query_params = []
|
|
235
|
+
|
|
236
|
+
header_params = {}
|
|
237
|
+
|
|
238
|
+
form_params = []
|
|
239
|
+
local_var_files = {}
|
|
240
|
+
|
|
241
|
+
body_params = None
|
|
242
|
+
if 'admin_create_user' in local_var_params:
|
|
243
|
+
body_params = local_var_params['admin_create_user']
|
|
244
|
+
# HTTP header `Accept`
|
|
245
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
246
|
+
['application/json']) # noqa: E501
|
|
247
|
+
|
|
248
|
+
# HTTP header `Content-Type`
|
|
249
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
250
|
+
['application/json']) # noqa: E501
|
|
251
|
+
|
|
252
|
+
# Authentication setting
|
|
253
|
+
auth_settings = [] # noqa: E501
|
|
254
|
+
|
|
255
|
+
return self.api_client.call_api(
|
|
256
|
+
'/api/v2/users/admin_batch_create', 'POST',
|
|
257
|
+
path_params,
|
|
258
|
+
query_params,
|
|
259
|
+
header_params,
|
|
260
|
+
body=body_params,
|
|
261
|
+
post_params=form_params,
|
|
262
|
+
files=local_var_files,
|
|
263
|
+
response_type='AdmincreateduserListResponse', # noqa: E501
|
|
264
|
+
auth_settings=auth_settings,
|
|
265
|
+
async_req=local_var_params.get('async_req'),
|
|
266
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
267
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
268
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
269
|
+
collection_formats=collection_formats)
|
|
270
|
+
|
|
155
271
|
def admission_api_v2_kubernetes_manager_admission_cloud_resource_id_post(self, cloud_resource_id, **kwargs): # noqa: E501
|
|
156
272
|
"""Admission # noqa: E501
|
|
157
273
|
|
|
@@ -1563,6 +1679,133 @@ class DefaultApi(object):
|
|
|
1563
1679
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1564
1680
|
collection_formats=collection_formats)
|
|
1565
1681
|
|
|
1682
|
+
def batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post(self, cloud_id, create_cloud_collaborator, **kwargs): # noqa: E501
|
|
1683
|
+
"""Batch Create Cloud Collaborators # noqa: E501
|
|
1684
|
+
|
|
1685
|
+
Give users in the same organization as auth context who previously did not have any individual permissions for this cloud the designated permissions. An error will be raised if any of the users already has permissions # noqa: E501
|
|
1686
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1687
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1688
|
+
>>> thread = api.batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post(cloud_id, create_cloud_collaborator, async_req=True)
|
|
1689
|
+
>>> result = thread.get()
|
|
1690
|
+
|
|
1691
|
+
:param async_req bool: execute request asynchronously
|
|
1692
|
+
:param str cloud_id: (required)
|
|
1693
|
+
:param list[CreateCloudCollaborator] create_cloud_collaborator: (required)
|
|
1694
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1695
|
+
be returned without reading/decoding response
|
|
1696
|
+
data. Default is True.
|
|
1697
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1698
|
+
number provided, it will be total request
|
|
1699
|
+
timeout. It can also be a pair (tuple) of
|
|
1700
|
+
(connection, read) timeouts.
|
|
1701
|
+
:return: None
|
|
1702
|
+
If the method is called asynchronously,
|
|
1703
|
+
returns the request thread.
|
|
1704
|
+
"""
|
|
1705
|
+
kwargs['_return_http_data_only'] = True
|
|
1706
|
+
return self.batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post_with_http_info(cloud_id, create_cloud_collaborator, **kwargs) # noqa: E501
|
|
1707
|
+
|
|
1708
|
+
def batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post_with_http_info(self, cloud_id, create_cloud_collaborator, **kwargs): # noqa: E501
|
|
1709
|
+
"""Batch Create Cloud Collaborators # noqa: E501
|
|
1710
|
+
|
|
1711
|
+
Give users in the same organization as auth context who previously did not have any individual permissions for this cloud the designated permissions. An error will be raised if any of the users already has permissions # noqa: E501
|
|
1712
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1713
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1714
|
+
>>> thread = api.batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post_with_http_info(cloud_id, create_cloud_collaborator, async_req=True)
|
|
1715
|
+
>>> result = thread.get()
|
|
1716
|
+
|
|
1717
|
+
:param async_req bool: execute request asynchronously
|
|
1718
|
+
:param str cloud_id: (required)
|
|
1719
|
+
:param list[CreateCloudCollaborator] create_cloud_collaborator: (required)
|
|
1720
|
+
:param _return_http_data_only: response data without head status code
|
|
1721
|
+
and headers
|
|
1722
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1723
|
+
be returned without reading/decoding response
|
|
1724
|
+
data. Default is True.
|
|
1725
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1726
|
+
number provided, it will be total request
|
|
1727
|
+
timeout. It can also be a pair (tuple) of
|
|
1728
|
+
(connection, read) timeouts.
|
|
1729
|
+
:return: None
|
|
1730
|
+
If the method is called asynchronously,
|
|
1731
|
+
returns the request thread.
|
|
1732
|
+
"""
|
|
1733
|
+
|
|
1734
|
+
local_var_params = locals()
|
|
1735
|
+
|
|
1736
|
+
all_params = [
|
|
1737
|
+
'cloud_id',
|
|
1738
|
+
'create_cloud_collaborator'
|
|
1739
|
+
]
|
|
1740
|
+
all_params.extend(
|
|
1741
|
+
[
|
|
1742
|
+
'async_req',
|
|
1743
|
+
'_return_http_data_only',
|
|
1744
|
+
'_preload_content',
|
|
1745
|
+
'_request_timeout'
|
|
1746
|
+
]
|
|
1747
|
+
)
|
|
1748
|
+
|
|
1749
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
1750
|
+
if key not in all_params:
|
|
1751
|
+
raise ApiTypeError(
|
|
1752
|
+
"Got an unexpected keyword argument '%s'"
|
|
1753
|
+
" to method batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post" % key
|
|
1754
|
+
)
|
|
1755
|
+
local_var_params[key] = val
|
|
1756
|
+
del local_var_params['kwargs']
|
|
1757
|
+
# verify the required parameter 'cloud_id' is set
|
|
1758
|
+
if self.api_client.client_side_validation and ('cloud_id' not in local_var_params or # noqa: E501
|
|
1759
|
+
local_var_params['cloud_id'] is None): # noqa: E501
|
|
1760
|
+
raise ApiValueError("Missing the required parameter `cloud_id` when calling `batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post`") # noqa: E501
|
|
1761
|
+
# verify the required parameter 'create_cloud_collaborator' is set
|
|
1762
|
+
if self.api_client.client_side_validation and ('create_cloud_collaborator' not in local_var_params or # noqa: E501
|
|
1763
|
+
local_var_params['create_cloud_collaborator'] is None): # noqa: E501
|
|
1764
|
+
raise ApiValueError("Missing the required parameter `create_cloud_collaborator` when calling `batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post`") # noqa: E501
|
|
1765
|
+
|
|
1766
|
+
collection_formats = {}
|
|
1767
|
+
|
|
1768
|
+
path_params = {}
|
|
1769
|
+
if 'cloud_id' in local_var_params:
|
|
1770
|
+
path_params['cloud_id'] = local_var_params['cloud_id'] # noqa: E501
|
|
1771
|
+
|
|
1772
|
+
query_params = []
|
|
1773
|
+
|
|
1774
|
+
header_params = {}
|
|
1775
|
+
|
|
1776
|
+
form_params = []
|
|
1777
|
+
local_var_files = {}
|
|
1778
|
+
|
|
1779
|
+
body_params = None
|
|
1780
|
+
if 'create_cloud_collaborator' in local_var_params:
|
|
1781
|
+
body_params = local_var_params['create_cloud_collaborator']
|
|
1782
|
+
# HTTP header `Accept`
|
|
1783
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1784
|
+
['application/json']) # noqa: E501
|
|
1785
|
+
|
|
1786
|
+
# HTTP header `Content-Type`
|
|
1787
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1788
|
+
['application/json']) # noqa: E501
|
|
1789
|
+
|
|
1790
|
+
# Authentication setting
|
|
1791
|
+
auth_settings = [] # noqa: E501
|
|
1792
|
+
|
|
1793
|
+
return self.api_client.call_api(
|
|
1794
|
+
'/api/v2/clouds/{cloud_id}/collaborators/users/batch_create', 'POST',
|
|
1795
|
+
path_params,
|
|
1796
|
+
query_params,
|
|
1797
|
+
header_params,
|
|
1798
|
+
body=body_params,
|
|
1799
|
+
post_params=form_params,
|
|
1800
|
+
files=local_var_files,
|
|
1801
|
+
response_type=None, # noqa: E501
|
|
1802
|
+
auth_settings=auth_settings,
|
|
1803
|
+
async_req=local_var_params.get('async_req'),
|
|
1804
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
1805
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
1806
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1807
|
+
collection_formats=collection_formats)
|
|
1808
|
+
|
|
1566
1809
|
def batch_create_invitations_api_v2_organization_invitations_batch_create_post(self, create_organization_invitation, **kwargs): # noqa: E501
|
|
1567
1810
|
"""Batch Create Invitations # noqa: E501
|
|
1568
1811
|
|
|
@@ -1679,6 +1922,131 @@ class DefaultApi(object):
|
|
|
1679
1922
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1680
1923
|
collection_formats=collection_formats)
|
|
1681
1924
|
|
|
1925
|
+
def batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post(self, project_id, create_user_project_collaborator, **kwargs): # noqa: E501
|
|
1926
|
+
"""Batch Create Project Collaborators # noqa: E501
|
|
1927
|
+
|
|
1928
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1929
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1930
|
+
>>> thread = api.batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post(project_id, create_user_project_collaborator, async_req=True)
|
|
1931
|
+
>>> result = thread.get()
|
|
1932
|
+
|
|
1933
|
+
:param async_req bool: execute request asynchronously
|
|
1934
|
+
:param str project_id: (required)
|
|
1935
|
+
:param list[CreateUserProjectCollaborator] create_user_project_collaborator: (required)
|
|
1936
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1937
|
+
be returned without reading/decoding response
|
|
1938
|
+
data. Default is True.
|
|
1939
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1940
|
+
number provided, it will be total request
|
|
1941
|
+
timeout. It can also be a pair (tuple) of
|
|
1942
|
+
(connection, read) timeouts.
|
|
1943
|
+
:return: None
|
|
1944
|
+
If the method is called asynchronously,
|
|
1945
|
+
returns the request thread.
|
|
1946
|
+
"""
|
|
1947
|
+
kwargs['_return_http_data_only'] = True
|
|
1948
|
+
return self.batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post_with_http_info(project_id, create_user_project_collaborator, **kwargs) # noqa: E501
|
|
1949
|
+
|
|
1950
|
+
def batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post_with_http_info(self, project_id, create_user_project_collaborator, **kwargs): # noqa: E501
|
|
1951
|
+
"""Batch Create Project Collaborators # noqa: E501
|
|
1952
|
+
|
|
1953
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1954
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1955
|
+
>>> thread = api.batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post_with_http_info(project_id, create_user_project_collaborator, async_req=True)
|
|
1956
|
+
>>> result = thread.get()
|
|
1957
|
+
|
|
1958
|
+
:param async_req bool: execute request asynchronously
|
|
1959
|
+
:param str project_id: (required)
|
|
1960
|
+
:param list[CreateUserProjectCollaborator] create_user_project_collaborator: (required)
|
|
1961
|
+
:param _return_http_data_only: response data without head status code
|
|
1962
|
+
and headers
|
|
1963
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1964
|
+
be returned without reading/decoding response
|
|
1965
|
+
data. Default is True.
|
|
1966
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1967
|
+
number provided, it will be total request
|
|
1968
|
+
timeout. It can also be a pair (tuple) of
|
|
1969
|
+
(connection, read) timeouts.
|
|
1970
|
+
:return: None
|
|
1971
|
+
If the method is called asynchronously,
|
|
1972
|
+
returns the request thread.
|
|
1973
|
+
"""
|
|
1974
|
+
|
|
1975
|
+
local_var_params = locals()
|
|
1976
|
+
|
|
1977
|
+
all_params = [
|
|
1978
|
+
'project_id',
|
|
1979
|
+
'create_user_project_collaborator'
|
|
1980
|
+
]
|
|
1981
|
+
all_params.extend(
|
|
1982
|
+
[
|
|
1983
|
+
'async_req',
|
|
1984
|
+
'_return_http_data_only',
|
|
1985
|
+
'_preload_content',
|
|
1986
|
+
'_request_timeout'
|
|
1987
|
+
]
|
|
1988
|
+
)
|
|
1989
|
+
|
|
1990
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
1991
|
+
if key not in all_params:
|
|
1992
|
+
raise ApiTypeError(
|
|
1993
|
+
"Got an unexpected keyword argument '%s'"
|
|
1994
|
+
" to method batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post" % key
|
|
1995
|
+
)
|
|
1996
|
+
local_var_params[key] = val
|
|
1997
|
+
del local_var_params['kwargs']
|
|
1998
|
+
# verify the required parameter 'project_id' is set
|
|
1999
|
+
if self.api_client.client_side_validation and ('project_id' not in local_var_params or # noqa: E501
|
|
2000
|
+
local_var_params['project_id'] is None): # noqa: E501
|
|
2001
|
+
raise ApiValueError("Missing the required parameter `project_id` when calling `batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post`") # noqa: E501
|
|
2002
|
+
# verify the required parameter 'create_user_project_collaborator' is set
|
|
2003
|
+
if self.api_client.client_side_validation and ('create_user_project_collaborator' not in local_var_params or # noqa: E501
|
|
2004
|
+
local_var_params['create_user_project_collaborator'] is None): # noqa: E501
|
|
2005
|
+
raise ApiValueError("Missing the required parameter `create_user_project_collaborator` when calling `batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post`") # noqa: E501
|
|
2006
|
+
|
|
2007
|
+
collection_formats = {}
|
|
2008
|
+
|
|
2009
|
+
path_params = {}
|
|
2010
|
+
if 'project_id' in local_var_params:
|
|
2011
|
+
path_params['project_id'] = local_var_params['project_id'] # noqa: E501
|
|
2012
|
+
|
|
2013
|
+
query_params = []
|
|
2014
|
+
|
|
2015
|
+
header_params = {}
|
|
2016
|
+
|
|
2017
|
+
form_params = []
|
|
2018
|
+
local_var_files = {}
|
|
2019
|
+
|
|
2020
|
+
body_params = None
|
|
2021
|
+
if 'create_user_project_collaborator' in local_var_params:
|
|
2022
|
+
body_params = local_var_params['create_user_project_collaborator']
|
|
2023
|
+
# HTTP header `Accept`
|
|
2024
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2025
|
+
['application/json']) # noqa: E501
|
|
2026
|
+
|
|
2027
|
+
# HTTP header `Content-Type`
|
|
2028
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2029
|
+
['application/json']) # noqa: E501
|
|
2030
|
+
|
|
2031
|
+
# Authentication setting
|
|
2032
|
+
auth_settings = [] # noqa: E501
|
|
2033
|
+
|
|
2034
|
+
return self.api_client.call_api(
|
|
2035
|
+
'/api/v2/projects/{project_id}/collaborators/users/batch_create', 'POST',
|
|
2036
|
+
path_params,
|
|
2037
|
+
query_params,
|
|
2038
|
+
header_params,
|
|
2039
|
+
body=body_params,
|
|
2040
|
+
post_params=form_params,
|
|
2041
|
+
files=local_var_files,
|
|
2042
|
+
response_type=None, # noqa: E501
|
|
2043
|
+
auth_settings=auth_settings,
|
|
2044
|
+
async_req=local_var_params.get('async_req'),
|
|
2045
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
2046
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
2047
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
2048
|
+
collection_formats=collection_formats)
|
|
2049
|
+
|
|
1682
2050
|
def batch_get_job_api_v2_decorated_ha_jobs_batch_get_post(self, request_body, **kwargs): # noqa: E501
|
|
1683
2051
|
"""Batch Get Job # noqa: E501
|
|
1684
2052
|
|
|
@@ -3760,7 +4128,7 @@ class DefaultApi(object):
|
|
|
3760
4128
|
def create_cloud_collaborator_api_v2_clouds_cloud_id_collaborators_users_post(self, cloud_id, create_cloud_collaborator, **kwargs): # noqa: E501
|
|
3761
4129
|
"""Create Cloud Collaborator # noqa: E501
|
|
3762
4130
|
|
|
3763
|
-
Give a user in the same organization as auth context who previously did not have any individual permissions for this cloud the designated permissions. # noqa: E501
|
|
4131
|
+
Give a user in the same organization as auth context who previously did not have any individual permissions for this cloud the designated permissions. An error will be raised if the user already has permissions # noqa: E501
|
|
3764
4132
|
This method makes a synchronous HTTP request by default. To make an
|
|
3765
4133
|
asynchronous HTTP request, please pass async_req=True
|
|
3766
4134
|
>>> thread = api.create_cloud_collaborator_api_v2_clouds_cloud_id_collaborators_users_post(cloud_id, create_cloud_collaborator, async_req=True)
|
|
@@ -3786,7 +4154,7 @@ class DefaultApi(object):
|
|
|
3786
4154
|
def create_cloud_collaborator_api_v2_clouds_cloud_id_collaborators_users_post_with_http_info(self, cloud_id, create_cloud_collaborator, **kwargs): # noqa: E501
|
|
3787
4155
|
"""Create Cloud Collaborator # noqa: E501
|
|
3788
4156
|
|
|
3789
|
-
Give a user in the same organization as auth context who previously did not have any individual permissions for this cloud the designated permissions. # noqa: E501
|
|
4157
|
+
Give a user in the same organization as auth context who previously did not have any individual permissions for this cloud the designated permissions. An error will be raised if the user already has permissions # noqa: E501
|
|
3790
4158
|
This method makes a synchronous HTTP request by default. To make an
|
|
3791
4159
|
asynchronous HTTP request, please pass async_req=True
|
|
3792
4160
|
>>> thread = api.create_cloud_collaborator_api_v2_clouds_cloud_id_collaborators_users_post_with_http_info(cloud_id, create_cloud_collaborator, async_req=True)
|
|
@@ -4827,122 +5195,6 @@ class DefaultApi(object):
|
|
|
4827
5195
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
4828
5196
|
collection_formats=collection_formats)
|
|
4829
5197
|
|
|
4830
|
-
def create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post(self, create_fine_tuning_job_product_request, **kwargs): # noqa: E501
|
|
4831
|
-
"""Create Fine Tuning Job # noqa: E501
|
|
4832
|
-
|
|
4833
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4834
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4835
|
-
>>> thread = api.create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post(create_fine_tuning_job_product_request, async_req=True)
|
|
4836
|
-
>>> result = thread.get()
|
|
4837
|
-
|
|
4838
|
-
:param async_req bool: execute request asynchronously
|
|
4839
|
-
:param CreateFineTuningJobProductRequest create_fine_tuning_job_product_request: (required)
|
|
4840
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
4841
|
-
be returned without reading/decoding response
|
|
4842
|
-
data. Default is True.
|
|
4843
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4844
|
-
number provided, it will be total request
|
|
4845
|
-
timeout. It can also be a pair (tuple) of
|
|
4846
|
-
(connection, read) timeouts.
|
|
4847
|
-
:return: PlatformfinetuningjobResponse
|
|
4848
|
-
If the method is called asynchronously,
|
|
4849
|
-
returns the request thread.
|
|
4850
|
-
"""
|
|
4851
|
-
kwargs['_return_http_data_only'] = True
|
|
4852
|
-
return self.create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post_with_http_info(create_fine_tuning_job_product_request, **kwargs) # noqa: E501
|
|
4853
|
-
|
|
4854
|
-
def create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post_with_http_info(self, create_fine_tuning_job_product_request, **kwargs): # noqa: E501
|
|
4855
|
-
"""Create Fine Tuning Job # noqa: E501
|
|
4856
|
-
|
|
4857
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4858
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4859
|
-
>>> thread = api.create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post_with_http_info(create_fine_tuning_job_product_request, async_req=True)
|
|
4860
|
-
>>> result = thread.get()
|
|
4861
|
-
|
|
4862
|
-
:param async_req bool: execute request asynchronously
|
|
4863
|
-
:param CreateFineTuningJobProductRequest create_fine_tuning_job_product_request: (required)
|
|
4864
|
-
:param _return_http_data_only: response data without head status code
|
|
4865
|
-
and headers
|
|
4866
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
4867
|
-
be returned without reading/decoding response
|
|
4868
|
-
data. Default is True.
|
|
4869
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4870
|
-
number provided, it will be total request
|
|
4871
|
-
timeout. It can also be a pair (tuple) of
|
|
4872
|
-
(connection, read) timeouts.
|
|
4873
|
-
:return: tuple(PlatformfinetuningjobResponse, status_code(int), headers(HTTPHeaderDict))
|
|
4874
|
-
If the method is called asynchronously,
|
|
4875
|
-
returns the request thread.
|
|
4876
|
-
"""
|
|
4877
|
-
|
|
4878
|
-
local_var_params = locals()
|
|
4879
|
-
|
|
4880
|
-
all_params = [
|
|
4881
|
-
'create_fine_tuning_job_product_request'
|
|
4882
|
-
]
|
|
4883
|
-
all_params.extend(
|
|
4884
|
-
[
|
|
4885
|
-
'async_req',
|
|
4886
|
-
'_return_http_data_only',
|
|
4887
|
-
'_preload_content',
|
|
4888
|
-
'_request_timeout'
|
|
4889
|
-
]
|
|
4890
|
-
)
|
|
4891
|
-
|
|
4892
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
4893
|
-
if key not in all_params:
|
|
4894
|
-
raise ApiTypeError(
|
|
4895
|
-
"Got an unexpected keyword argument '%s'"
|
|
4896
|
-
" to method create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post" % key
|
|
4897
|
-
)
|
|
4898
|
-
local_var_params[key] = val
|
|
4899
|
-
del local_var_params['kwargs']
|
|
4900
|
-
# verify the required parameter 'create_fine_tuning_job_product_request' is set
|
|
4901
|
-
if self.api_client.client_side_validation and ('create_fine_tuning_job_product_request' not in local_var_params or # noqa: E501
|
|
4902
|
-
local_var_params['create_fine_tuning_job_product_request'] is None): # noqa: E501
|
|
4903
|
-
raise ApiValueError("Missing the required parameter `create_fine_tuning_job_product_request` when calling `create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post`") # noqa: E501
|
|
4904
|
-
|
|
4905
|
-
collection_formats = {}
|
|
4906
|
-
|
|
4907
|
-
path_params = {}
|
|
4908
|
-
|
|
4909
|
-
query_params = []
|
|
4910
|
-
|
|
4911
|
-
header_params = {}
|
|
4912
|
-
|
|
4913
|
-
form_params = []
|
|
4914
|
-
local_var_files = {}
|
|
4915
|
-
|
|
4916
|
-
body_params = None
|
|
4917
|
-
if 'create_fine_tuning_job_product_request' in local_var_params:
|
|
4918
|
-
body_params = local_var_params['create_fine_tuning_job_product_request']
|
|
4919
|
-
# HTTP header `Accept`
|
|
4920
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
4921
|
-
['application/json']) # noqa: E501
|
|
4922
|
-
|
|
4923
|
-
# HTTP header `Content-Type`
|
|
4924
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
4925
|
-
['application/json']) # noqa: E501
|
|
4926
|
-
|
|
4927
|
-
# Authentication setting
|
|
4928
|
-
auth_settings = [] # noqa: E501
|
|
4929
|
-
|
|
4930
|
-
return self.api_client.call_api(
|
|
4931
|
-
'/api/v2/fine_tuning/jobs/create', 'POST',
|
|
4932
|
-
path_params,
|
|
4933
|
-
query_params,
|
|
4934
|
-
header_params,
|
|
4935
|
-
body=body_params,
|
|
4936
|
-
post_params=form_params,
|
|
4937
|
-
files=local_var_files,
|
|
4938
|
-
response_type='PlatformfinetuningjobResponse', # noqa: E501
|
|
4939
|
-
auth_settings=auth_settings,
|
|
4940
|
-
async_req=local_var_params.get('async_req'),
|
|
4941
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
4942
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
4943
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
4944
|
-
collection_formats=collection_formats)
|
|
4945
|
-
|
|
4946
5198
|
def create_instance_usage_budget_api_v2_instance_usage_budgets_post(self, create_instance_usage_budget, **kwargs): # noqa: E501
|
|
4947
5199
|
"""Create Instance Usage Budget # noqa: E501
|
|
4948
5200
|
|
|
@@ -9020,6 +9272,124 @@ class DefaultApi(object):
|
|
|
9020
9272
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
9021
9273
|
collection_formats=collection_formats)
|
|
9022
9274
|
|
|
9275
|
+
def describe_machine_pool_api_v2_machine_pools_describe_post(self, describe_machine_pool_request, **kwargs): # noqa: E501
|
|
9276
|
+
"""Describe Machine Pool # noqa: E501
|
|
9277
|
+
|
|
9278
|
+
Describe the current state of a machine pool. # noqa: E501
|
|
9279
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
9280
|
+
asynchronous HTTP request, please pass async_req=True
|
|
9281
|
+
>>> thread = api.describe_machine_pool_api_v2_machine_pools_describe_post(describe_machine_pool_request, async_req=True)
|
|
9282
|
+
>>> result = thread.get()
|
|
9283
|
+
|
|
9284
|
+
:param async_req bool: execute request asynchronously
|
|
9285
|
+
:param DescribeMachinePoolRequest describe_machine_pool_request: (required)
|
|
9286
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
9287
|
+
be returned without reading/decoding response
|
|
9288
|
+
data. Default is True.
|
|
9289
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
9290
|
+
number provided, it will be total request
|
|
9291
|
+
timeout. It can also be a pair (tuple) of
|
|
9292
|
+
(connection, read) timeouts.
|
|
9293
|
+
:return: DescribemachinepoolresponseResponse
|
|
9294
|
+
If the method is called asynchronously,
|
|
9295
|
+
returns the request thread.
|
|
9296
|
+
"""
|
|
9297
|
+
kwargs['_return_http_data_only'] = True
|
|
9298
|
+
return self.describe_machine_pool_api_v2_machine_pools_describe_post_with_http_info(describe_machine_pool_request, **kwargs) # noqa: E501
|
|
9299
|
+
|
|
9300
|
+
def describe_machine_pool_api_v2_machine_pools_describe_post_with_http_info(self, describe_machine_pool_request, **kwargs): # noqa: E501
|
|
9301
|
+
"""Describe Machine Pool # noqa: E501
|
|
9302
|
+
|
|
9303
|
+
Describe the current state of a machine pool. # noqa: E501
|
|
9304
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
9305
|
+
asynchronous HTTP request, please pass async_req=True
|
|
9306
|
+
>>> thread = api.describe_machine_pool_api_v2_machine_pools_describe_post_with_http_info(describe_machine_pool_request, async_req=True)
|
|
9307
|
+
>>> result = thread.get()
|
|
9308
|
+
|
|
9309
|
+
:param async_req bool: execute request asynchronously
|
|
9310
|
+
:param DescribeMachinePoolRequest describe_machine_pool_request: (required)
|
|
9311
|
+
:param _return_http_data_only: response data without head status code
|
|
9312
|
+
and headers
|
|
9313
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
9314
|
+
be returned without reading/decoding response
|
|
9315
|
+
data. Default is True.
|
|
9316
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
9317
|
+
number provided, it will be total request
|
|
9318
|
+
timeout. It can also be a pair (tuple) of
|
|
9319
|
+
(connection, read) timeouts.
|
|
9320
|
+
:return: tuple(DescribemachinepoolresponseResponse, status_code(int), headers(HTTPHeaderDict))
|
|
9321
|
+
If the method is called asynchronously,
|
|
9322
|
+
returns the request thread.
|
|
9323
|
+
"""
|
|
9324
|
+
|
|
9325
|
+
local_var_params = locals()
|
|
9326
|
+
|
|
9327
|
+
all_params = [
|
|
9328
|
+
'describe_machine_pool_request'
|
|
9329
|
+
]
|
|
9330
|
+
all_params.extend(
|
|
9331
|
+
[
|
|
9332
|
+
'async_req',
|
|
9333
|
+
'_return_http_data_only',
|
|
9334
|
+
'_preload_content',
|
|
9335
|
+
'_request_timeout'
|
|
9336
|
+
]
|
|
9337
|
+
)
|
|
9338
|
+
|
|
9339
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
9340
|
+
if key not in all_params:
|
|
9341
|
+
raise ApiTypeError(
|
|
9342
|
+
"Got an unexpected keyword argument '%s'"
|
|
9343
|
+
" to method describe_machine_pool_api_v2_machine_pools_describe_post" % key
|
|
9344
|
+
)
|
|
9345
|
+
local_var_params[key] = val
|
|
9346
|
+
del local_var_params['kwargs']
|
|
9347
|
+
# verify the required parameter 'describe_machine_pool_request' is set
|
|
9348
|
+
if self.api_client.client_side_validation and ('describe_machine_pool_request' not in local_var_params or # noqa: E501
|
|
9349
|
+
local_var_params['describe_machine_pool_request'] is None): # noqa: E501
|
|
9350
|
+
raise ApiValueError("Missing the required parameter `describe_machine_pool_request` when calling `describe_machine_pool_api_v2_machine_pools_describe_post`") # noqa: E501
|
|
9351
|
+
|
|
9352
|
+
collection_formats = {}
|
|
9353
|
+
|
|
9354
|
+
path_params = {}
|
|
9355
|
+
|
|
9356
|
+
query_params = []
|
|
9357
|
+
|
|
9358
|
+
header_params = {}
|
|
9359
|
+
|
|
9360
|
+
form_params = []
|
|
9361
|
+
local_var_files = {}
|
|
9362
|
+
|
|
9363
|
+
body_params = None
|
|
9364
|
+
if 'describe_machine_pool_request' in local_var_params:
|
|
9365
|
+
body_params = local_var_params['describe_machine_pool_request']
|
|
9366
|
+
# HTTP header `Accept`
|
|
9367
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
9368
|
+
['application/json']) # noqa: E501
|
|
9369
|
+
|
|
9370
|
+
# HTTP header `Content-Type`
|
|
9371
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
9372
|
+
['application/json']) # noqa: E501
|
|
9373
|
+
|
|
9374
|
+
# Authentication setting
|
|
9375
|
+
auth_settings = [] # noqa: E501
|
|
9376
|
+
|
|
9377
|
+
return self.api_client.call_api(
|
|
9378
|
+
'/api/v2/machine_pools/describe', 'POST',
|
|
9379
|
+
path_params,
|
|
9380
|
+
query_params,
|
|
9381
|
+
header_params,
|
|
9382
|
+
body=body_params,
|
|
9383
|
+
post_params=form_params,
|
|
9384
|
+
files=local_var_files,
|
|
9385
|
+
response_type='DescribemachinepoolresponseResponse', # noqa: E501
|
|
9386
|
+
auth_settings=auth_settings,
|
|
9387
|
+
async_req=local_var_params.get('async_req'),
|
|
9388
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
9389
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
9390
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
9391
|
+
collection_formats=collection_formats)
|
|
9392
|
+
|
|
9023
9393
|
def describe_session_api_v2_sessions_session_id_describe_get(self, session_id, **kwargs): # noqa: E501
|
|
9024
9394
|
"""Describe Session # noqa: E501
|
|
9025
9395
|
|
|
@@ -10258,6 +10628,8 @@ class DefaultApi(object):
|
|
|
10258
10628
|
|
|
10259
10629
|
:param async_req bool: execute request asynchronously
|
|
10260
10630
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
10631
|
+
:param str paging_token:
|
|
10632
|
+
:param int count:
|
|
10261
10633
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
10262
10634
|
be returned without reading/decoding response
|
|
10263
10635
|
data. Default is True.
|
|
@@ -10282,6 +10654,8 @@ class DefaultApi(object):
|
|
|
10282
10654
|
|
|
10283
10655
|
:param async_req bool: execute request asynchronously
|
|
10284
10656
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
10657
|
+
:param str paging_token:
|
|
10658
|
+
:param int count:
|
|
10285
10659
|
:param _return_http_data_only: response data without head status code
|
|
10286
10660
|
and headers
|
|
10287
10661
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -10299,7 +10673,9 @@ class DefaultApi(object):
|
|
|
10299
10673
|
local_var_params = locals()
|
|
10300
10674
|
|
|
10301
10675
|
all_params = [
|
|
10302
|
-
'aggregated_usage_query'
|
|
10676
|
+
'aggregated_usage_query',
|
|
10677
|
+
'paging_token',
|
|
10678
|
+
'count'
|
|
10303
10679
|
]
|
|
10304
10680
|
all_params.extend(
|
|
10305
10681
|
[
|
|
@@ -10323,11 +10699,19 @@ class DefaultApi(object):
|
|
|
10323
10699
|
local_var_params['aggregated_usage_query'] is None): # noqa: E501
|
|
10324
10700
|
raise ApiValueError("Missing the required parameter `aggregated_usage_query` when calling `fetch_usage_group_by_cloud_api_v2_aggregated_instance_usage_cloud_post`") # noqa: E501
|
|
10325
10701
|
|
|
10702
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
|
10703
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_cloud_api_v2_aggregated_instance_usage_cloud_post`, must be a value less than or equal to `50`") # noqa: E501
|
|
10704
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
10705
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_cloud_api_v2_aggregated_instance_usage_cloud_post`, must be a value greater than or equal to `0`") # noqa: E501
|
|
10326
10706
|
collection_formats = {}
|
|
10327
10707
|
|
|
10328
10708
|
path_params = {}
|
|
10329
10709
|
|
|
10330
10710
|
query_params = []
|
|
10711
|
+
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
10712
|
+
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
10713
|
+
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
10714
|
+
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
10331
10715
|
|
|
10332
10716
|
header_params = {}
|
|
10333
10717
|
|
|
@@ -10374,6 +10758,8 @@ class DefaultApi(object):
|
|
|
10374
10758
|
|
|
10375
10759
|
:param async_req bool: execute request asynchronously
|
|
10376
10760
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
10761
|
+
:param str paging_token:
|
|
10762
|
+
:param int count:
|
|
10377
10763
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
10378
10764
|
be returned without reading/decoding response
|
|
10379
10765
|
data. Default is True.
|
|
@@ -10398,6 +10784,8 @@ class DefaultApi(object):
|
|
|
10398
10784
|
|
|
10399
10785
|
:param async_req bool: execute request asynchronously
|
|
10400
10786
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
10787
|
+
:param str paging_token:
|
|
10788
|
+
:param int count:
|
|
10401
10789
|
:param _return_http_data_only: response data without head status code
|
|
10402
10790
|
and headers
|
|
10403
10791
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -10415,7 +10803,9 @@ class DefaultApi(object):
|
|
|
10415
10803
|
local_var_params = locals()
|
|
10416
10804
|
|
|
10417
10805
|
all_params = [
|
|
10418
|
-
'aggregated_usage_query'
|
|
10806
|
+
'aggregated_usage_query',
|
|
10807
|
+
'paging_token',
|
|
10808
|
+
'count'
|
|
10419
10809
|
]
|
|
10420
10810
|
all_params.extend(
|
|
10421
10811
|
[
|
|
@@ -10439,11 +10829,19 @@ class DefaultApi(object):
|
|
|
10439
10829
|
local_var_params['aggregated_usage_query'] is None): # noqa: E501
|
|
10440
10830
|
raise ApiValueError("Missing the required parameter `aggregated_usage_query` when calling `fetch_usage_group_by_cluster_api_v2_aggregated_instance_usage_cluster_post`") # noqa: E501
|
|
10441
10831
|
|
|
10832
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
|
10833
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_cluster_api_v2_aggregated_instance_usage_cluster_post`, must be a value less than or equal to `50`") # noqa: E501
|
|
10834
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
10835
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_cluster_api_v2_aggregated_instance_usage_cluster_post`, must be a value greater than or equal to `0`") # noqa: E501
|
|
10442
10836
|
collection_formats = {}
|
|
10443
10837
|
|
|
10444
10838
|
path_params = {}
|
|
10445
10839
|
|
|
10446
10840
|
query_params = []
|
|
10841
|
+
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
10842
|
+
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
10843
|
+
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
10844
|
+
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
10447
10845
|
|
|
10448
10846
|
header_params = {}
|
|
10449
10847
|
|
|
@@ -10490,6 +10888,8 @@ class DefaultApi(object):
|
|
|
10490
10888
|
|
|
10491
10889
|
:param async_req bool: execute request asynchronously
|
|
10492
10890
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
10891
|
+
:param str paging_token:
|
|
10892
|
+
:param int count:
|
|
10493
10893
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
10494
10894
|
be returned without reading/decoding response
|
|
10495
10895
|
data. Default is True.
|
|
@@ -10514,6 +10914,8 @@ class DefaultApi(object):
|
|
|
10514
10914
|
|
|
10515
10915
|
:param async_req bool: execute request asynchronously
|
|
10516
10916
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
10917
|
+
:param str paging_token:
|
|
10918
|
+
:param int count:
|
|
10517
10919
|
:param _return_http_data_only: response data without head status code
|
|
10518
10920
|
and headers
|
|
10519
10921
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -10531,7 +10933,9 @@ class DefaultApi(object):
|
|
|
10531
10933
|
local_var_params = locals()
|
|
10532
10934
|
|
|
10533
10935
|
all_params = [
|
|
10534
|
-
'aggregated_usage_query'
|
|
10936
|
+
'aggregated_usage_query',
|
|
10937
|
+
'paging_token',
|
|
10938
|
+
'count'
|
|
10535
10939
|
]
|
|
10536
10940
|
all_params.extend(
|
|
10537
10941
|
[
|
|
@@ -10555,11 +10959,19 @@ class DefaultApi(object):
|
|
|
10555
10959
|
local_var_params['aggregated_usage_query'] is None): # noqa: E501
|
|
10556
10960
|
raise ApiValueError("Missing the required parameter `aggregated_usage_query` when calling `fetch_usage_group_by_instance_type_api_v2_aggregated_instance_usage_instance_type_post`") # noqa: E501
|
|
10557
10961
|
|
|
10962
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
|
10963
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_instance_type_api_v2_aggregated_instance_usage_instance_type_post`, must be a value less than or equal to `50`") # noqa: E501
|
|
10964
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
10965
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_instance_type_api_v2_aggregated_instance_usage_instance_type_post`, must be a value greater than or equal to `0`") # noqa: E501
|
|
10558
10966
|
collection_formats = {}
|
|
10559
10967
|
|
|
10560
10968
|
path_params = {}
|
|
10561
10969
|
|
|
10562
10970
|
query_params = []
|
|
10971
|
+
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
10972
|
+
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
10973
|
+
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
10974
|
+
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
10563
10975
|
|
|
10564
10976
|
header_params = {}
|
|
10565
10977
|
|
|
@@ -10606,6 +11018,8 @@ class DefaultApi(object):
|
|
|
10606
11018
|
|
|
10607
11019
|
:param async_req bool: execute request asynchronously
|
|
10608
11020
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
11021
|
+
:param str paging_token:
|
|
11022
|
+
:param int count:
|
|
10609
11023
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
10610
11024
|
be returned without reading/decoding response
|
|
10611
11025
|
data. Default is True.
|
|
@@ -10630,6 +11044,8 @@ class DefaultApi(object):
|
|
|
10630
11044
|
|
|
10631
11045
|
:param async_req bool: execute request asynchronously
|
|
10632
11046
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
11047
|
+
:param str paging_token:
|
|
11048
|
+
:param int count:
|
|
10633
11049
|
:param _return_http_data_only: response data without head status code
|
|
10634
11050
|
and headers
|
|
10635
11051
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -10647,7 +11063,9 @@ class DefaultApi(object):
|
|
|
10647
11063
|
local_var_params = locals()
|
|
10648
11064
|
|
|
10649
11065
|
all_params = [
|
|
10650
|
-
'aggregated_usage_query'
|
|
11066
|
+
'aggregated_usage_query',
|
|
11067
|
+
'paging_token',
|
|
11068
|
+
'count'
|
|
10651
11069
|
]
|
|
10652
11070
|
all_params.extend(
|
|
10653
11071
|
[
|
|
@@ -10671,11 +11089,19 @@ class DefaultApi(object):
|
|
|
10671
11089
|
local_var_params['aggregated_usage_query'] is None): # noqa: E501
|
|
10672
11090
|
raise ApiValueError("Missing the required parameter `aggregated_usage_query` when calling `fetch_usage_group_by_project_api_v2_aggregated_instance_usage_project_post`") # noqa: E501
|
|
10673
11091
|
|
|
11092
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
|
11093
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_project_api_v2_aggregated_instance_usage_project_post`, must be a value less than or equal to `50`") # noqa: E501
|
|
11094
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
11095
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_project_api_v2_aggregated_instance_usage_project_post`, must be a value greater than or equal to `0`") # noqa: E501
|
|
10674
11096
|
collection_formats = {}
|
|
10675
11097
|
|
|
10676
11098
|
path_params = {}
|
|
10677
11099
|
|
|
10678
11100
|
query_params = []
|
|
11101
|
+
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
11102
|
+
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
11103
|
+
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
11104
|
+
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
10679
11105
|
|
|
10680
11106
|
header_params = {}
|
|
10681
11107
|
|
|
@@ -10722,6 +11148,8 @@ class DefaultApi(object):
|
|
|
10722
11148
|
|
|
10723
11149
|
:param async_req bool: execute request asynchronously
|
|
10724
11150
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
11151
|
+
:param str paging_token:
|
|
11152
|
+
:param int count:
|
|
10725
11153
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
10726
11154
|
be returned without reading/decoding response
|
|
10727
11155
|
data. Default is True.
|
|
@@ -10746,6 +11174,8 @@ class DefaultApi(object):
|
|
|
10746
11174
|
|
|
10747
11175
|
:param async_req bool: execute request asynchronously
|
|
10748
11176
|
:param AggregatedUsageQuery aggregated_usage_query: (required)
|
|
11177
|
+
:param str paging_token:
|
|
11178
|
+
:param int count:
|
|
10749
11179
|
:param _return_http_data_only: response data without head status code
|
|
10750
11180
|
and headers
|
|
10751
11181
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -10763,7 +11193,9 @@ class DefaultApi(object):
|
|
|
10763
11193
|
local_var_params = locals()
|
|
10764
11194
|
|
|
10765
11195
|
all_params = [
|
|
10766
|
-
'aggregated_usage_query'
|
|
11196
|
+
'aggregated_usage_query',
|
|
11197
|
+
'paging_token',
|
|
11198
|
+
'count'
|
|
10767
11199
|
]
|
|
10768
11200
|
all_params.extend(
|
|
10769
11201
|
[
|
|
@@ -10787,11 +11219,19 @@ class DefaultApi(object):
|
|
|
10787
11219
|
local_var_params['aggregated_usage_query'] is None): # noqa: E501
|
|
10788
11220
|
raise ApiValueError("Missing the required parameter `aggregated_usage_query` when calling `fetch_usage_group_by_user_api_v2_aggregated_instance_usage_user_post`") # noqa: E501
|
|
10789
11221
|
|
|
11222
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
|
11223
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_user_api_v2_aggregated_instance_usage_user_post`, must be a value less than or equal to `50`") # noqa: E501
|
|
11224
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
11225
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `fetch_usage_group_by_user_api_v2_aggregated_instance_usage_user_post`, must be a value greater than or equal to `0`") # noqa: E501
|
|
10790
11226
|
collection_formats = {}
|
|
10791
11227
|
|
|
10792
11228
|
path_params = {}
|
|
10793
11229
|
|
|
10794
11230
|
query_params = []
|
|
11231
|
+
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
11232
|
+
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
11233
|
+
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
11234
|
+
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
10795
11235
|
|
|
10796
11236
|
header_params = {}
|
|
10797
11237
|
|
|
@@ -11537,122 +11977,6 @@ class DefaultApi(object):
|
|
|
11537
11977
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
11538
11978
|
collection_formats=collection_formats)
|
|
11539
11979
|
|
|
11540
|
-
def fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post(self, finish_ft_job_request, **kwargs): # noqa: E501
|
|
11541
|
-
"""Fine Tuning Job Callback # noqa: E501
|
|
11542
|
-
|
|
11543
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
11544
|
-
asynchronous HTTP request, please pass async_req=True
|
|
11545
|
-
>>> thread = api.fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post(finish_ft_job_request, async_req=True)
|
|
11546
|
-
>>> result = thread.get()
|
|
11547
|
-
|
|
11548
|
-
:param async_req bool: execute request asynchronously
|
|
11549
|
-
:param FinishFTJobRequest finish_ft_job_request: (required)
|
|
11550
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
11551
|
-
be returned without reading/decoding response
|
|
11552
|
-
data. Default is True.
|
|
11553
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
11554
|
-
number provided, it will be total request
|
|
11555
|
-
timeout. It can also be a pair (tuple) of
|
|
11556
|
-
(connection, read) timeouts.
|
|
11557
|
-
:return: None
|
|
11558
|
-
If the method is called asynchronously,
|
|
11559
|
-
returns the request thread.
|
|
11560
|
-
"""
|
|
11561
|
-
kwargs['_return_http_data_only'] = True
|
|
11562
|
-
return self.fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post_with_http_info(finish_ft_job_request, **kwargs) # noqa: E501
|
|
11563
|
-
|
|
11564
|
-
def fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post_with_http_info(self, finish_ft_job_request, **kwargs): # noqa: E501
|
|
11565
|
-
"""Fine Tuning Job Callback # noqa: E501
|
|
11566
|
-
|
|
11567
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
11568
|
-
asynchronous HTTP request, please pass async_req=True
|
|
11569
|
-
>>> thread = api.fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post_with_http_info(finish_ft_job_request, async_req=True)
|
|
11570
|
-
>>> result = thread.get()
|
|
11571
|
-
|
|
11572
|
-
:param async_req bool: execute request asynchronously
|
|
11573
|
-
:param FinishFTJobRequest finish_ft_job_request: (required)
|
|
11574
|
-
:param _return_http_data_only: response data without head status code
|
|
11575
|
-
and headers
|
|
11576
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
11577
|
-
be returned without reading/decoding response
|
|
11578
|
-
data. Default is True.
|
|
11579
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
11580
|
-
number provided, it will be total request
|
|
11581
|
-
timeout. It can also be a pair (tuple) of
|
|
11582
|
-
(connection, read) timeouts.
|
|
11583
|
-
:return: None
|
|
11584
|
-
If the method is called asynchronously,
|
|
11585
|
-
returns the request thread.
|
|
11586
|
-
"""
|
|
11587
|
-
|
|
11588
|
-
local_var_params = locals()
|
|
11589
|
-
|
|
11590
|
-
all_params = [
|
|
11591
|
-
'finish_ft_job_request'
|
|
11592
|
-
]
|
|
11593
|
-
all_params.extend(
|
|
11594
|
-
[
|
|
11595
|
-
'async_req',
|
|
11596
|
-
'_return_http_data_only',
|
|
11597
|
-
'_preload_content',
|
|
11598
|
-
'_request_timeout'
|
|
11599
|
-
]
|
|
11600
|
-
)
|
|
11601
|
-
|
|
11602
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
11603
|
-
if key not in all_params:
|
|
11604
|
-
raise ApiTypeError(
|
|
11605
|
-
"Got an unexpected keyword argument '%s'"
|
|
11606
|
-
" to method fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post" % key
|
|
11607
|
-
)
|
|
11608
|
-
local_var_params[key] = val
|
|
11609
|
-
del local_var_params['kwargs']
|
|
11610
|
-
# verify the required parameter 'finish_ft_job_request' is set
|
|
11611
|
-
if self.api_client.client_side_validation and ('finish_ft_job_request' not in local_var_params or # noqa: E501
|
|
11612
|
-
local_var_params['finish_ft_job_request'] is None): # noqa: E501
|
|
11613
|
-
raise ApiValueError("Missing the required parameter `finish_ft_job_request` when calling `fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post`") # noqa: E501
|
|
11614
|
-
|
|
11615
|
-
collection_formats = {}
|
|
11616
|
-
|
|
11617
|
-
path_params = {}
|
|
11618
|
-
|
|
11619
|
-
query_params = []
|
|
11620
|
-
|
|
11621
|
-
header_params = {}
|
|
11622
|
-
|
|
11623
|
-
form_params = []
|
|
11624
|
-
local_var_files = {}
|
|
11625
|
-
|
|
11626
|
-
body_params = None
|
|
11627
|
-
if 'finish_ft_job_request' in local_var_params:
|
|
11628
|
-
body_params = local_var_params['finish_ft_job_request']
|
|
11629
|
-
# HTTP header `Accept`
|
|
11630
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
11631
|
-
['application/json']) # noqa: E501
|
|
11632
|
-
|
|
11633
|
-
# HTTP header `Content-Type`
|
|
11634
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
11635
|
-
['application/json']) # noqa: E501
|
|
11636
|
-
|
|
11637
|
-
# Authentication setting
|
|
11638
|
-
auth_settings = [] # noqa: E501
|
|
11639
|
-
|
|
11640
|
-
return self.api_client.call_api(
|
|
11641
|
-
'/api/v2/fine_tuning/jobs/internal/finish', 'POST',
|
|
11642
|
-
path_params,
|
|
11643
|
-
query_params,
|
|
11644
|
-
header_params,
|
|
11645
|
-
body=body_params,
|
|
11646
|
-
post_params=form_params,
|
|
11647
|
-
files=local_var_files,
|
|
11648
|
-
response_type=None, # noqa: E501
|
|
11649
|
-
auth_settings=auth_settings,
|
|
11650
|
-
async_req=local_var_params.get('async_req'),
|
|
11651
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
11652
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
11653
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
11654
|
-
collection_formats=collection_formats)
|
|
11655
|
-
|
|
11656
11980
|
def fine_tuning_job_callback_v2_api_v2_fine_tuning_v2_jobs_internal_finish_post(self, finish_ft_job_request_v2, **kwargs): # noqa: E501
|
|
11657
11981
|
"""Fine Tuning Job Callback V2 # noqa: E501
|
|
11658
11982
|
|
|
@@ -13132,6 +13456,127 @@ class DefaultApi(object):
|
|
|
13132
13456
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
13133
13457
|
collection_formats=collection_formats)
|
|
13134
13458
|
|
|
13459
|
+
def get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get(self, cloud_id, cloud_deployment_id, **kwargs): # noqa: E501
|
|
13460
|
+
"""Get Cloud Deployment Config # noqa: E501
|
|
13461
|
+
|
|
13462
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
13463
|
+
asynchronous HTTP request, please pass async_req=True
|
|
13464
|
+
>>> thread = api.get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get(cloud_id, cloud_deployment_id, async_req=True)
|
|
13465
|
+
>>> result = thread.get()
|
|
13466
|
+
|
|
13467
|
+
:param async_req bool: execute request asynchronously
|
|
13468
|
+
:param str cloud_id: (required)
|
|
13469
|
+
:param str cloud_deployment_id: (required)
|
|
13470
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
13471
|
+
be returned without reading/decoding response
|
|
13472
|
+
data. Default is True.
|
|
13473
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
13474
|
+
number provided, it will be total request
|
|
13475
|
+
timeout. It can also be a pair (tuple) of
|
|
13476
|
+
(connection, read) timeouts.
|
|
13477
|
+
:return: ClouddeploymentconfigResponse
|
|
13478
|
+
If the method is called asynchronously,
|
|
13479
|
+
returns the request thread.
|
|
13480
|
+
"""
|
|
13481
|
+
kwargs['_return_http_data_only'] = True
|
|
13482
|
+
return self.get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get_with_http_info(cloud_id, cloud_deployment_id, **kwargs) # noqa: E501
|
|
13483
|
+
|
|
13484
|
+
def get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get_with_http_info(self, cloud_id, cloud_deployment_id, **kwargs): # noqa: E501
|
|
13485
|
+
"""Get Cloud Deployment Config # noqa: E501
|
|
13486
|
+
|
|
13487
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
13488
|
+
asynchronous HTTP request, please pass async_req=True
|
|
13489
|
+
>>> thread = api.get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get_with_http_info(cloud_id, cloud_deployment_id, async_req=True)
|
|
13490
|
+
>>> result = thread.get()
|
|
13491
|
+
|
|
13492
|
+
:param async_req bool: execute request asynchronously
|
|
13493
|
+
:param str cloud_id: (required)
|
|
13494
|
+
:param str cloud_deployment_id: (required)
|
|
13495
|
+
:param _return_http_data_only: response data without head status code
|
|
13496
|
+
and headers
|
|
13497
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
13498
|
+
be returned without reading/decoding response
|
|
13499
|
+
data. Default is True.
|
|
13500
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
13501
|
+
number provided, it will be total request
|
|
13502
|
+
timeout. It can also be a pair (tuple) of
|
|
13503
|
+
(connection, read) timeouts.
|
|
13504
|
+
:return: tuple(ClouddeploymentconfigResponse, status_code(int), headers(HTTPHeaderDict))
|
|
13505
|
+
If the method is called asynchronously,
|
|
13506
|
+
returns the request thread.
|
|
13507
|
+
"""
|
|
13508
|
+
|
|
13509
|
+
local_var_params = locals()
|
|
13510
|
+
|
|
13511
|
+
all_params = [
|
|
13512
|
+
'cloud_id',
|
|
13513
|
+
'cloud_deployment_id'
|
|
13514
|
+
]
|
|
13515
|
+
all_params.extend(
|
|
13516
|
+
[
|
|
13517
|
+
'async_req',
|
|
13518
|
+
'_return_http_data_only',
|
|
13519
|
+
'_preload_content',
|
|
13520
|
+
'_request_timeout'
|
|
13521
|
+
]
|
|
13522
|
+
)
|
|
13523
|
+
|
|
13524
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
13525
|
+
if key not in all_params:
|
|
13526
|
+
raise ApiTypeError(
|
|
13527
|
+
"Got an unexpected keyword argument '%s'"
|
|
13528
|
+
" to method get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get" % key
|
|
13529
|
+
)
|
|
13530
|
+
local_var_params[key] = val
|
|
13531
|
+
del local_var_params['kwargs']
|
|
13532
|
+
# verify the required parameter 'cloud_id' is set
|
|
13533
|
+
if self.api_client.client_side_validation and ('cloud_id' not in local_var_params or # noqa: E501
|
|
13534
|
+
local_var_params['cloud_id'] is None): # noqa: E501
|
|
13535
|
+
raise ApiValueError("Missing the required parameter `cloud_id` when calling `get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get`") # noqa: E501
|
|
13536
|
+
# verify the required parameter 'cloud_deployment_id' is set
|
|
13537
|
+
if self.api_client.client_side_validation and ('cloud_deployment_id' not in local_var_params or # noqa: E501
|
|
13538
|
+
local_var_params['cloud_deployment_id'] is None): # noqa: E501
|
|
13539
|
+
raise ApiValueError("Missing the required parameter `cloud_deployment_id` when calling `get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get`") # noqa: E501
|
|
13540
|
+
|
|
13541
|
+
collection_formats = {}
|
|
13542
|
+
|
|
13543
|
+
path_params = {}
|
|
13544
|
+
if 'cloud_id' in local_var_params:
|
|
13545
|
+
path_params['cloud_id'] = local_var_params['cloud_id'] # noqa: E501
|
|
13546
|
+
if 'cloud_deployment_id' in local_var_params:
|
|
13547
|
+
path_params['cloud_deployment_id'] = local_var_params['cloud_deployment_id'] # noqa: E501
|
|
13548
|
+
|
|
13549
|
+
query_params = []
|
|
13550
|
+
|
|
13551
|
+
header_params = {}
|
|
13552
|
+
|
|
13553
|
+
form_params = []
|
|
13554
|
+
local_var_files = {}
|
|
13555
|
+
|
|
13556
|
+
body_params = None
|
|
13557
|
+
# HTTP header `Accept`
|
|
13558
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
13559
|
+
['application/json']) # noqa: E501
|
|
13560
|
+
|
|
13561
|
+
# Authentication setting
|
|
13562
|
+
auth_settings = [] # noqa: E501
|
|
13563
|
+
|
|
13564
|
+
return self.api_client.call_api(
|
|
13565
|
+
'/api/v2/clouds/{cloud_id}/deployment/{cloud_deployment_id}/config', 'GET',
|
|
13566
|
+
path_params,
|
|
13567
|
+
query_params,
|
|
13568
|
+
header_params,
|
|
13569
|
+
body=body_params,
|
|
13570
|
+
post_params=form_params,
|
|
13571
|
+
files=local_var_files,
|
|
13572
|
+
response_type='ClouddeploymentconfigResponse', # noqa: E501
|
|
13573
|
+
auth_settings=auth_settings,
|
|
13574
|
+
async_req=local_var_params.get('async_req'),
|
|
13575
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
13576
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
13577
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
13578
|
+
collection_formats=collection_formats)
|
|
13579
|
+
|
|
13135
13580
|
def get_cloud_overview_dashboard_api_v2_clouds_cloud_id_cloud_overview_dashboard_get(self, cloud_id, **kwargs): # noqa: E501
|
|
13136
13581
|
"""Get Cloud Overview Dashboard # noqa: E501
|
|
13137
13582
|
|
|
@@ -16608,118 +17053,6 @@ class DefaultApi(object):
|
|
|
16608
17053
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
16609
17054
|
collection_formats=collection_formats)
|
|
16610
17055
|
|
|
16611
|
-
def get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get(self, fine_tuning_job_id, **kwargs): # noqa: E501
|
|
16612
|
-
"""Get Fine Tuning Job # noqa: E501
|
|
16613
|
-
|
|
16614
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
16615
|
-
asynchronous HTTP request, please pass async_req=True
|
|
16616
|
-
>>> thread = api.get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get(fine_tuning_job_id, async_req=True)
|
|
16617
|
-
>>> result = thread.get()
|
|
16618
|
-
|
|
16619
|
-
:param async_req bool: execute request asynchronously
|
|
16620
|
-
:param str fine_tuning_job_id: (required)
|
|
16621
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
16622
|
-
be returned without reading/decoding response
|
|
16623
|
-
data. Default is True.
|
|
16624
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
16625
|
-
number provided, it will be total request
|
|
16626
|
-
timeout. It can also be a pair (tuple) of
|
|
16627
|
-
(connection, read) timeouts.
|
|
16628
|
-
:return: PlatformfinetuningjobResponse
|
|
16629
|
-
If the method is called asynchronously,
|
|
16630
|
-
returns the request thread.
|
|
16631
|
-
"""
|
|
16632
|
-
kwargs['_return_http_data_only'] = True
|
|
16633
|
-
return self.get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get_with_http_info(fine_tuning_job_id, **kwargs) # noqa: E501
|
|
16634
|
-
|
|
16635
|
-
def get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get_with_http_info(self, fine_tuning_job_id, **kwargs): # noqa: E501
|
|
16636
|
-
"""Get Fine Tuning Job # noqa: E501
|
|
16637
|
-
|
|
16638
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
16639
|
-
asynchronous HTTP request, please pass async_req=True
|
|
16640
|
-
>>> thread = api.get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get_with_http_info(fine_tuning_job_id, async_req=True)
|
|
16641
|
-
>>> result = thread.get()
|
|
16642
|
-
|
|
16643
|
-
:param async_req bool: execute request asynchronously
|
|
16644
|
-
:param str fine_tuning_job_id: (required)
|
|
16645
|
-
:param _return_http_data_only: response data without head status code
|
|
16646
|
-
and headers
|
|
16647
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
16648
|
-
be returned without reading/decoding response
|
|
16649
|
-
data. Default is True.
|
|
16650
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
16651
|
-
number provided, it will be total request
|
|
16652
|
-
timeout. It can also be a pair (tuple) of
|
|
16653
|
-
(connection, read) timeouts.
|
|
16654
|
-
:return: tuple(PlatformfinetuningjobResponse, status_code(int), headers(HTTPHeaderDict))
|
|
16655
|
-
If the method is called asynchronously,
|
|
16656
|
-
returns the request thread.
|
|
16657
|
-
"""
|
|
16658
|
-
|
|
16659
|
-
local_var_params = locals()
|
|
16660
|
-
|
|
16661
|
-
all_params = [
|
|
16662
|
-
'fine_tuning_job_id'
|
|
16663
|
-
]
|
|
16664
|
-
all_params.extend(
|
|
16665
|
-
[
|
|
16666
|
-
'async_req',
|
|
16667
|
-
'_return_http_data_only',
|
|
16668
|
-
'_preload_content',
|
|
16669
|
-
'_request_timeout'
|
|
16670
|
-
]
|
|
16671
|
-
)
|
|
16672
|
-
|
|
16673
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
16674
|
-
if key not in all_params:
|
|
16675
|
-
raise ApiTypeError(
|
|
16676
|
-
"Got an unexpected keyword argument '%s'"
|
|
16677
|
-
" to method get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get" % key
|
|
16678
|
-
)
|
|
16679
|
-
local_var_params[key] = val
|
|
16680
|
-
del local_var_params['kwargs']
|
|
16681
|
-
# verify the required parameter 'fine_tuning_job_id' is set
|
|
16682
|
-
if self.api_client.client_side_validation and ('fine_tuning_job_id' not in local_var_params or # noqa: E501
|
|
16683
|
-
local_var_params['fine_tuning_job_id'] is None): # noqa: E501
|
|
16684
|
-
raise ApiValueError("Missing the required parameter `fine_tuning_job_id` when calling `get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get`") # noqa: E501
|
|
16685
|
-
|
|
16686
|
-
collection_formats = {}
|
|
16687
|
-
|
|
16688
|
-
path_params = {}
|
|
16689
|
-
if 'fine_tuning_job_id' in local_var_params:
|
|
16690
|
-
path_params['fine_tuning_job_id'] = local_var_params['fine_tuning_job_id'] # noqa: E501
|
|
16691
|
-
|
|
16692
|
-
query_params = []
|
|
16693
|
-
|
|
16694
|
-
header_params = {}
|
|
16695
|
-
|
|
16696
|
-
form_params = []
|
|
16697
|
-
local_var_files = {}
|
|
16698
|
-
|
|
16699
|
-
body_params = None
|
|
16700
|
-
# HTTP header `Accept`
|
|
16701
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
16702
|
-
['application/json']) # noqa: E501
|
|
16703
|
-
|
|
16704
|
-
# Authentication setting
|
|
16705
|
-
auth_settings = [] # noqa: E501
|
|
16706
|
-
|
|
16707
|
-
return self.api_client.call_api(
|
|
16708
|
-
'/api/v2/fine_tuning/jobs/{fine_tuning_job_id}', 'GET',
|
|
16709
|
-
path_params,
|
|
16710
|
-
query_params,
|
|
16711
|
-
header_params,
|
|
16712
|
-
body=body_params,
|
|
16713
|
-
post_params=form_params,
|
|
16714
|
-
files=local_var_files,
|
|
16715
|
-
response_type='PlatformfinetuningjobResponse', # noqa: E501
|
|
16716
|
-
auth_settings=auth_settings,
|
|
16717
|
-
async_req=local_var_params.get('async_req'),
|
|
16718
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
16719
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
16720
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
16721
|
-
collection_formats=collection_formats)
|
|
16722
|
-
|
|
16723
17056
|
def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
|
|
16724
17057
|
"""Get Instance Usage Budget # noqa: E501
|
|
16725
17058
|
|
|
@@ -22945,156 +23278,6 @@ class DefaultApi(object):
|
|
|
22945
23278
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
22946
23279
|
collection_formats=collection_formats)
|
|
22947
23280
|
|
|
22948
|
-
def get_session_event_log_api_v2_session_events_get(self, session_id, **kwargs): # noqa: E501
|
|
22949
|
-
"""Get Session Event Log # noqa: E501
|
|
22950
|
-
|
|
22951
|
-
Retrieves a session's event log. # noqa: E501
|
|
22952
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
22953
|
-
asynchronous HTTP request, please pass async_req=True
|
|
22954
|
-
>>> thread = api.get_session_event_log_api_v2_session_events_get(session_id, async_req=True)
|
|
22955
|
-
>>> result = thread.get()
|
|
22956
|
-
|
|
22957
|
-
:param async_req bool: execute request asynchronously
|
|
22958
|
-
:param str session_id: (required)
|
|
22959
|
-
:param datetime before:
|
|
22960
|
-
:param datetime after:
|
|
22961
|
-
:param list[SessionEventTypes] event_types:
|
|
22962
|
-
:param list[LogLevelTypes] log_level_types:
|
|
22963
|
-
:param str paging_token:
|
|
22964
|
-
:param int count:
|
|
22965
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
22966
|
-
be returned without reading/decoding response
|
|
22967
|
-
data. Default is True.
|
|
22968
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
22969
|
-
number provided, it will be total request
|
|
22970
|
-
timeout. It can also be a pair (tuple) of
|
|
22971
|
-
(connection, read) timeouts.
|
|
22972
|
-
:return: SessioneventListResponse
|
|
22973
|
-
If the method is called asynchronously,
|
|
22974
|
-
returns the request thread.
|
|
22975
|
-
"""
|
|
22976
|
-
kwargs['_return_http_data_only'] = True
|
|
22977
|
-
return self.get_session_event_log_api_v2_session_events_get_with_http_info(session_id, **kwargs) # noqa: E501
|
|
22978
|
-
|
|
22979
|
-
def get_session_event_log_api_v2_session_events_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
|
22980
|
-
"""Get Session Event Log # noqa: E501
|
|
22981
|
-
|
|
22982
|
-
Retrieves a session's event log. # noqa: E501
|
|
22983
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
22984
|
-
asynchronous HTTP request, please pass async_req=True
|
|
22985
|
-
>>> thread = api.get_session_event_log_api_v2_session_events_get_with_http_info(session_id, async_req=True)
|
|
22986
|
-
>>> result = thread.get()
|
|
22987
|
-
|
|
22988
|
-
:param async_req bool: execute request asynchronously
|
|
22989
|
-
:param str session_id: (required)
|
|
22990
|
-
:param datetime before:
|
|
22991
|
-
:param datetime after:
|
|
22992
|
-
:param list[SessionEventTypes] event_types:
|
|
22993
|
-
:param list[LogLevelTypes] log_level_types:
|
|
22994
|
-
:param str paging_token:
|
|
22995
|
-
:param int count:
|
|
22996
|
-
:param _return_http_data_only: response data without head status code
|
|
22997
|
-
and headers
|
|
22998
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
22999
|
-
be returned without reading/decoding response
|
|
23000
|
-
data. Default is True.
|
|
23001
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
23002
|
-
number provided, it will be total request
|
|
23003
|
-
timeout. It can also be a pair (tuple) of
|
|
23004
|
-
(connection, read) timeouts.
|
|
23005
|
-
:return: tuple(SessioneventListResponse, status_code(int), headers(HTTPHeaderDict))
|
|
23006
|
-
If the method is called asynchronously,
|
|
23007
|
-
returns the request thread.
|
|
23008
|
-
"""
|
|
23009
|
-
|
|
23010
|
-
local_var_params = locals()
|
|
23011
|
-
|
|
23012
|
-
all_params = [
|
|
23013
|
-
'session_id',
|
|
23014
|
-
'before',
|
|
23015
|
-
'after',
|
|
23016
|
-
'event_types',
|
|
23017
|
-
'log_level_types',
|
|
23018
|
-
'paging_token',
|
|
23019
|
-
'count'
|
|
23020
|
-
]
|
|
23021
|
-
all_params.extend(
|
|
23022
|
-
[
|
|
23023
|
-
'async_req',
|
|
23024
|
-
'_return_http_data_only',
|
|
23025
|
-
'_preload_content',
|
|
23026
|
-
'_request_timeout'
|
|
23027
|
-
]
|
|
23028
|
-
)
|
|
23029
|
-
|
|
23030
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
23031
|
-
if key not in all_params:
|
|
23032
|
-
raise ApiTypeError(
|
|
23033
|
-
"Got an unexpected keyword argument '%s'"
|
|
23034
|
-
" to method get_session_event_log_api_v2_session_events_get" % key
|
|
23035
|
-
)
|
|
23036
|
-
local_var_params[key] = val
|
|
23037
|
-
del local_var_params['kwargs']
|
|
23038
|
-
# verify the required parameter 'session_id' is set
|
|
23039
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
|
23040
|
-
local_var_params['session_id'] is None): # noqa: E501
|
|
23041
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_event_log_api_v2_session_events_get`") # noqa: E501
|
|
23042
|
-
|
|
23043
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
|
|
23044
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `get_session_event_log_api_v2_session_events_get`, must be a value less than or equal to `1000`") # noqa: E501
|
|
23045
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
23046
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `get_session_event_log_api_v2_session_events_get`, must be a value greater than or equal to `0`") # noqa: E501
|
|
23047
|
-
collection_formats = {}
|
|
23048
|
-
|
|
23049
|
-
path_params = {}
|
|
23050
|
-
|
|
23051
|
-
query_params = []
|
|
23052
|
-
if 'session_id' in local_var_params and local_var_params['session_id'] is not None: # noqa: E501
|
|
23053
|
-
query_params.append(('session_id', local_var_params['session_id'])) # noqa: E501
|
|
23054
|
-
if 'before' in local_var_params and local_var_params['before'] is not None: # noqa: E501
|
|
23055
|
-
query_params.append(('before', local_var_params['before'])) # noqa: E501
|
|
23056
|
-
if 'after' in local_var_params and local_var_params['after'] is not None: # noqa: E501
|
|
23057
|
-
query_params.append(('after', local_var_params['after'])) # noqa: E501
|
|
23058
|
-
if 'event_types' in local_var_params and local_var_params['event_types'] is not None: # noqa: E501
|
|
23059
|
-
query_params.append(('event_types', local_var_params['event_types'])) # noqa: E501
|
|
23060
|
-
collection_formats['event_types'] = 'multi' # noqa: E501
|
|
23061
|
-
if 'log_level_types' in local_var_params and local_var_params['log_level_types'] is not None: # noqa: E501
|
|
23062
|
-
query_params.append(('log_level_types', local_var_params['log_level_types'])) # noqa: E501
|
|
23063
|
-
collection_formats['log_level_types'] = 'multi' # noqa: E501
|
|
23064
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
23065
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
23066
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
23067
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
23068
|
-
|
|
23069
|
-
header_params = {}
|
|
23070
|
-
|
|
23071
|
-
form_params = []
|
|
23072
|
-
local_var_files = {}
|
|
23073
|
-
|
|
23074
|
-
body_params = None
|
|
23075
|
-
# HTTP header `Accept`
|
|
23076
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
23077
|
-
['application/json']) # noqa: E501
|
|
23078
|
-
|
|
23079
|
-
# Authentication setting
|
|
23080
|
-
auth_settings = [] # noqa: E501
|
|
23081
|
-
|
|
23082
|
-
return self.api_client.call_api(
|
|
23083
|
-
'/api/v2/session_events/', 'GET',
|
|
23084
|
-
path_params,
|
|
23085
|
-
query_params,
|
|
23086
|
-
header_params,
|
|
23087
|
-
body=body_params,
|
|
23088
|
-
post_params=form_params,
|
|
23089
|
-
files=local_var_files,
|
|
23090
|
-
response_type='SessioneventListResponse', # noqa: E501
|
|
23091
|
-
auth_settings=auth_settings,
|
|
23092
|
-
async_req=local_var_params.get('async_req'),
|
|
23093
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
23094
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
23095
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
23096
|
-
collection_formats=collection_formats)
|
|
23097
|
-
|
|
23098
23281
|
def get_session_head_ip_api_v2_sessions_session_id_head_ip_get(self, session_id, **kwargs): # noqa: E501
|
|
23099
23282
|
"""Get Session Head Ip # noqa: E501
|
|
23100
23283
|
|
|
@@ -27981,8 +28164,8 @@ class DefaultApi(object):
|
|
|
27981
28164
|
local_var_params[key] = val
|
|
27982
28165
|
del local_var_params['kwargs']
|
|
27983
28166
|
|
|
27984
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] >
|
|
27985
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_jobs_api_v2_decorated_ha_jobs_get`, must be a value less than or equal to `
|
|
28167
|
+
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
|
|
28168
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_jobs_api_v2_decorated_ha_jobs_get`, must be a value less than or equal to `1000`") # noqa: E501
|
|
27986
28169
|
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
27987
28170
|
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_jobs_api_v2_decorated_ha_jobs_get`, must be a value greater than or equal to `0`") # noqa: E501
|
|
27988
28171
|
collection_formats = {}
|
|
@@ -28466,133 +28649,6 @@ class DefaultApi(object):
|
|
|
28466
28649
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
28467
28650
|
collection_formats=collection_formats)
|
|
28468
28651
|
|
|
28469
|
-
def list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get(self, **kwargs): # noqa: E501
|
|
28470
|
-
"""List Fine Tuning Jobs # noqa: E501
|
|
28471
|
-
|
|
28472
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
28473
|
-
asynchronous HTTP request, please pass async_req=True
|
|
28474
|
-
>>> thread = api.list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get(async_req=True)
|
|
28475
|
-
>>> result = thread.get()
|
|
28476
|
-
|
|
28477
|
-
:param async_req bool: execute request asynchronously
|
|
28478
|
-
:param str ft_job_id_contains: id to filter by
|
|
28479
|
-
:param str creator_id: filter by creator id
|
|
28480
|
-
:param str paging_token:
|
|
28481
|
-
:param int count:
|
|
28482
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
28483
|
-
be returned without reading/decoding response
|
|
28484
|
-
data. Default is True.
|
|
28485
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
28486
|
-
number provided, it will be total request
|
|
28487
|
-
timeout. It can also be a pair (tuple) of
|
|
28488
|
-
(connection, read) timeouts.
|
|
28489
|
-
:return: PlatformfinetuningjobListResponse
|
|
28490
|
-
If the method is called asynchronously,
|
|
28491
|
-
returns the request thread.
|
|
28492
|
-
"""
|
|
28493
|
-
kwargs['_return_http_data_only'] = True
|
|
28494
|
-
return self.list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get_with_http_info(**kwargs) # noqa: E501
|
|
28495
|
-
|
|
28496
|
-
def list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get_with_http_info(self, **kwargs): # noqa: E501
|
|
28497
|
-
"""List Fine Tuning Jobs # noqa: E501
|
|
28498
|
-
|
|
28499
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
28500
|
-
asynchronous HTTP request, please pass async_req=True
|
|
28501
|
-
>>> thread = api.list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get_with_http_info(async_req=True)
|
|
28502
|
-
>>> result = thread.get()
|
|
28503
|
-
|
|
28504
|
-
:param async_req bool: execute request asynchronously
|
|
28505
|
-
:param str ft_job_id_contains: id to filter by
|
|
28506
|
-
:param str creator_id: filter by creator id
|
|
28507
|
-
:param str paging_token:
|
|
28508
|
-
:param int count:
|
|
28509
|
-
:param _return_http_data_only: response data without head status code
|
|
28510
|
-
and headers
|
|
28511
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
28512
|
-
be returned without reading/decoding response
|
|
28513
|
-
data. Default is True.
|
|
28514
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
28515
|
-
number provided, it will be total request
|
|
28516
|
-
timeout. It can also be a pair (tuple) of
|
|
28517
|
-
(connection, read) timeouts.
|
|
28518
|
-
:return: tuple(PlatformfinetuningjobListResponse, status_code(int), headers(HTTPHeaderDict))
|
|
28519
|
-
If the method is called asynchronously,
|
|
28520
|
-
returns the request thread.
|
|
28521
|
-
"""
|
|
28522
|
-
|
|
28523
|
-
local_var_params = locals()
|
|
28524
|
-
|
|
28525
|
-
all_params = [
|
|
28526
|
-
'ft_job_id_contains',
|
|
28527
|
-
'creator_id',
|
|
28528
|
-
'paging_token',
|
|
28529
|
-
'count'
|
|
28530
|
-
]
|
|
28531
|
-
all_params.extend(
|
|
28532
|
-
[
|
|
28533
|
-
'async_req',
|
|
28534
|
-
'_return_http_data_only',
|
|
28535
|
-
'_preload_content',
|
|
28536
|
-
'_request_timeout'
|
|
28537
|
-
]
|
|
28538
|
-
)
|
|
28539
|
-
|
|
28540
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
28541
|
-
if key not in all_params:
|
|
28542
|
-
raise ApiTypeError(
|
|
28543
|
-
"Got an unexpected keyword argument '%s'"
|
|
28544
|
-
" to method list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get" % key
|
|
28545
|
-
)
|
|
28546
|
-
local_var_params[key] = val
|
|
28547
|
-
del local_var_params['kwargs']
|
|
28548
|
-
|
|
28549
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
|
28550
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get`, must be a value less than or equal to `50`") # noqa: E501
|
|
28551
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
28552
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get`, must be a value greater than or equal to `0`") # noqa: E501
|
|
28553
|
-
collection_formats = {}
|
|
28554
|
-
|
|
28555
|
-
path_params = {}
|
|
28556
|
-
|
|
28557
|
-
query_params = []
|
|
28558
|
-
if 'ft_job_id_contains' in local_var_params and local_var_params['ft_job_id_contains'] is not None: # noqa: E501
|
|
28559
|
-
query_params.append(('ft_job_id_contains', local_var_params['ft_job_id_contains'])) # noqa: E501
|
|
28560
|
-
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
|
28561
|
-
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
|
28562
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
28563
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
28564
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
28565
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
28566
|
-
|
|
28567
|
-
header_params = {}
|
|
28568
|
-
|
|
28569
|
-
form_params = []
|
|
28570
|
-
local_var_files = {}
|
|
28571
|
-
|
|
28572
|
-
body_params = None
|
|
28573
|
-
# HTTP header `Accept`
|
|
28574
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
28575
|
-
['application/json']) # noqa: E501
|
|
28576
|
-
|
|
28577
|
-
# Authentication setting
|
|
28578
|
-
auth_settings = [] # noqa: E501
|
|
28579
|
-
|
|
28580
|
-
return self.api_client.call_api(
|
|
28581
|
-
'/api/v2/fine_tuning/jobs', 'GET',
|
|
28582
|
-
path_params,
|
|
28583
|
-
query_params,
|
|
28584
|
-
header_params,
|
|
28585
|
-
body=body_params,
|
|
28586
|
-
post_params=form_params,
|
|
28587
|
-
files=local_var_files,
|
|
28588
|
-
response_type='PlatformfinetuningjobListResponse', # noqa: E501
|
|
28589
|
-
auth_settings=auth_settings,
|
|
28590
|
-
async_req=local_var_params.get('async_req'),
|
|
28591
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
28592
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
28593
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
28594
|
-
collection_formats=collection_formats)
|
|
28595
|
-
|
|
28596
28652
|
def list_instance_usage_budgets_api_v2_instance_usage_budgets_get(self, **kwargs): # noqa: E501
|
|
28597
28653
|
"""List Instance Usage Budgets # noqa: E501
|
|
28598
28654
|
|
|
@@ -28730,6 +28786,7 @@ class DefaultApi(object):
|
|
|
28730
28786
|
>>> result = thread.get()
|
|
28731
28787
|
|
|
28732
28788
|
:param async_req bool: execute request asynchronously
|
|
28789
|
+
:param str email:
|
|
28733
28790
|
:param str paging_token:
|
|
28734
28791
|
:param int count:
|
|
28735
28792
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -28756,6 +28813,7 @@ class DefaultApi(object):
|
|
|
28756
28813
|
>>> result = thread.get()
|
|
28757
28814
|
|
|
28758
28815
|
:param async_req bool: execute request asynchronously
|
|
28816
|
+
:param str email:
|
|
28759
28817
|
:param str paging_token:
|
|
28760
28818
|
:param int count:
|
|
28761
28819
|
:param _return_http_data_only: response data without head status code
|
|
@@ -28775,6 +28833,7 @@ class DefaultApi(object):
|
|
|
28775
28833
|
local_var_params = locals()
|
|
28776
28834
|
|
|
28777
28835
|
all_params = [
|
|
28836
|
+
'email',
|
|
28778
28837
|
'paging_token',
|
|
28779
28838
|
'count'
|
|
28780
28839
|
]
|
|
@@ -28805,6 +28864,8 @@ class DefaultApi(object):
|
|
|
28805
28864
|
path_params = {}
|
|
28806
28865
|
|
|
28807
28866
|
query_params = []
|
|
28867
|
+
if 'email' in local_var_params and local_var_params['email'] is not None: # noqa: E501
|
|
28868
|
+
query_params.append(('email', local_var_params['email'])) # noqa: E501
|
|
28808
28869
|
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
28809
28870
|
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
28810
28871
|
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
@@ -34642,7 +34703,6 @@ class DefaultApi(object):
|
|
|
34642
34703
|
:param str redirect_to: A path within Anyscale console to redirect to after the user logs in. This only supports paths and not full urls.
|
|
34643
34704
|
:param bool no_sso: If true, do not use SSO to log in.
|
|
34644
34705
|
:param bool force_send: If true, we always send a magic link. Even if there is only one org the user belongs to.
|
|
34645
|
-
:param bool is_oa: If true, we use to the OA registration flow, where self-service is enabled.
|
|
34646
34706
|
:param str invite_code:
|
|
34647
34707
|
:param UtmFields utm_fields:
|
|
34648
34708
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -34673,7 +34733,6 @@ class DefaultApi(object):
|
|
|
34673
34733
|
:param str redirect_to: A path within Anyscale console to redirect to after the user logs in. This only supports paths and not full urls.
|
|
34674
34734
|
:param bool no_sso: If true, do not use SSO to log in.
|
|
34675
34735
|
:param bool force_send: If true, we always send a magic link. Even if there is only one org the user belongs to.
|
|
34676
|
-
:param bool is_oa: If true, we use to the OA registration flow, where self-service is enabled.
|
|
34677
34736
|
:param str invite_code:
|
|
34678
34737
|
:param UtmFields utm_fields:
|
|
34679
34738
|
:param _return_http_data_only: response data without head status code
|
|
@@ -34697,7 +34756,6 @@ class DefaultApi(object):
|
|
|
34697
34756
|
'redirect_to',
|
|
34698
34757
|
'no_sso',
|
|
34699
34758
|
'force_send',
|
|
34700
|
-
'is_oa',
|
|
34701
34759
|
'invite_code',
|
|
34702
34760
|
'utm_fields'
|
|
34703
34761
|
]
|
|
@@ -34736,8 +34794,6 @@ class DefaultApi(object):
|
|
|
34736
34794
|
query_params.append(('no_sso', local_var_params['no_sso'])) # noqa: E501
|
|
34737
34795
|
if 'force_send' in local_var_params and local_var_params['force_send'] is not None: # noqa: E501
|
|
34738
34796
|
query_params.append(('force_send', local_var_params['force_send'])) # noqa: E501
|
|
34739
|
-
if 'is_oa' in local_var_params and local_var_params['is_oa'] is not None: # noqa: E501
|
|
34740
|
-
query_params.append(('is_oa', local_var_params['is_oa'])) # noqa: E501
|
|
34741
34797
|
if 'invite_code' in local_var_params and local_var_params['invite_code'] is not None: # noqa: E501
|
|
34742
34798
|
query_params.append(('invite_code', local_var_params['invite_code'])) # noqa: E501
|
|
34743
34799
|
|
|
@@ -35131,122 +35187,6 @@ class DefaultApi(object):
|
|
|
35131
35187
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
35132
35188
|
collection_formats=collection_formats)
|
|
35133
35189
|
|
|
35134
|
-
def resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post(self, resubmit_ft_job_request, **kwargs): # noqa: E501
|
|
35135
|
-
"""Resubmit Fine Tuning Job # noqa: E501
|
|
35136
|
-
|
|
35137
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
35138
|
-
asynchronous HTTP request, please pass async_req=True
|
|
35139
|
-
>>> thread = api.resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post(resubmit_ft_job_request, async_req=True)
|
|
35140
|
-
>>> result = thread.get()
|
|
35141
|
-
|
|
35142
|
-
:param async_req bool: execute request asynchronously
|
|
35143
|
-
:param ResubmitFTJobRequest resubmit_ft_job_request: (required)
|
|
35144
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
35145
|
-
be returned without reading/decoding response
|
|
35146
|
-
data. Default is True.
|
|
35147
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
35148
|
-
number provided, it will be total request
|
|
35149
|
-
timeout. It can also be a pair (tuple) of
|
|
35150
|
-
(connection, read) timeouts.
|
|
35151
|
-
:return: object
|
|
35152
|
-
If the method is called asynchronously,
|
|
35153
|
-
returns the request thread.
|
|
35154
|
-
"""
|
|
35155
|
-
kwargs['_return_http_data_only'] = True
|
|
35156
|
-
return self.resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post_with_http_info(resubmit_ft_job_request, **kwargs) # noqa: E501
|
|
35157
|
-
|
|
35158
|
-
def resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post_with_http_info(self, resubmit_ft_job_request, **kwargs): # noqa: E501
|
|
35159
|
-
"""Resubmit Fine Tuning Job # noqa: E501
|
|
35160
|
-
|
|
35161
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
35162
|
-
asynchronous HTTP request, please pass async_req=True
|
|
35163
|
-
>>> thread = api.resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post_with_http_info(resubmit_ft_job_request, async_req=True)
|
|
35164
|
-
>>> result = thread.get()
|
|
35165
|
-
|
|
35166
|
-
:param async_req bool: execute request asynchronously
|
|
35167
|
-
:param ResubmitFTJobRequest resubmit_ft_job_request: (required)
|
|
35168
|
-
:param _return_http_data_only: response data without head status code
|
|
35169
|
-
and headers
|
|
35170
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
35171
|
-
be returned without reading/decoding response
|
|
35172
|
-
data. Default is True.
|
|
35173
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
35174
|
-
number provided, it will be total request
|
|
35175
|
-
timeout. It can also be a pair (tuple) of
|
|
35176
|
-
(connection, read) timeouts.
|
|
35177
|
-
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
35178
|
-
If the method is called asynchronously,
|
|
35179
|
-
returns the request thread.
|
|
35180
|
-
"""
|
|
35181
|
-
|
|
35182
|
-
local_var_params = locals()
|
|
35183
|
-
|
|
35184
|
-
all_params = [
|
|
35185
|
-
'resubmit_ft_job_request'
|
|
35186
|
-
]
|
|
35187
|
-
all_params.extend(
|
|
35188
|
-
[
|
|
35189
|
-
'async_req',
|
|
35190
|
-
'_return_http_data_only',
|
|
35191
|
-
'_preload_content',
|
|
35192
|
-
'_request_timeout'
|
|
35193
|
-
]
|
|
35194
|
-
)
|
|
35195
|
-
|
|
35196
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
35197
|
-
if key not in all_params:
|
|
35198
|
-
raise ApiTypeError(
|
|
35199
|
-
"Got an unexpected keyword argument '%s'"
|
|
35200
|
-
" to method resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post" % key
|
|
35201
|
-
)
|
|
35202
|
-
local_var_params[key] = val
|
|
35203
|
-
del local_var_params['kwargs']
|
|
35204
|
-
# verify the required parameter 'resubmit_ft_job_request' is set
|
|
35205
|
-
if self.api_client.client_side_validation and ('resubmit_ft_job_request' not in local_var_params or # noqa: E501
|
|
35206
|
-
local_var_params['resubmit_ft_job_request'] is None): # noqa: E501
|
|
35207
|
-
raise ApiValueError("Missing the required parameter `resubmit_ft_job_request` when calling `resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post`") # noqa: E501
|
|
35208
|
-
|
|
35209
|
-
collection_formats = {}
|
|
35210
|
-
|
|
35211
|
-
path_params = {}
|
|
35212
|
-
|
|
35213
|
-
query_params = []
|
|
35214
|
-
|
|
35215
|
-
header_params = {}
|
|
35216
|
-
|
|
35217
|
-
form_params = []
|
|
35218
|
-
local_var_files = {}
|
|
35219
|
-
|
|
35220
|
-
body_params = None
|
|
35221
|
-
if 'resubmit_ft_job_request' in local_var_params:
|
|
35222
|
-
body_params = local_var_params['resubmit_ft_job_request']
|
|
35223
|
-
# HTTP header `Accept`
|
|
35224
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
35225
|
-
['application/json']) # noqa: E501
|
|
35226
|
-
|
|
35227
|
-
# HTTP header `Content-Type`
|
|
35228
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
35229
|
-
['application/json']) # noqa: E501
|
|
35230
|
-
|
|
35231
|
-
# Authentication setting
|
|
35232
|
-
auth_settings = [] # noqa: E501
|
|
35233
|
-
|
|
35234
|
-
return self.api_client.call_api(
|
|
35235
|
-
'/api/v2/fine_tuning/jobs/internal/resubmit', 'POST',
|
|
35236
|
-
path_params,
|
|
35237
|
-
query_params,
|
|
35238
|
-
header_params,
|
|
35239
|
-
body=body_params,
|
|
35240
|
-
post_params=form_params,
|
|
35241
|
-
files=local_var_files,
|
|
35242
|
-
response_type='object', # noqa: E501
|
|
35243
|
-
auth_settings=auth_settings,
|
|
35244
|
-
async_req=local_var_params.get('async_req'),
|
|
35245
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
35246
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
35247
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
35248
|
-
collection_formats=collection_formats)
|
|
35249
|
-
|
|
35250
35190
|
def rollback_service_api_v2_services_v2_service_id_rollback_post(self, service_id, **kwargs): # noqa: E501
|
|
35251
35191
|
"""Rollback Service # noqa: E501
|
|
35252
35192
|
|
|
@@ -36560,217 +36500,6 @@ class DefaultApi(object):
|
|
|
36560
36500
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
36561
36501
|
collection_formats=collection_formats)
|
|
36562
36502
|
|
|
36563
|
-
def set_organization_to_be_blocked_api_v2_organizations_block_post(self, **kwargs): # noqa: E501
|
|
36564
|
-
"""Set Organization To Be Blocked # noqa: E501
|
|
36565
|
-
|
|
36566
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36567
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36568
|
-
>>> thread = api.set_organization_to_be_blocked_api_v2_organizations_block_post(async_req=True)
|
|
36569
|
-
>>> result = thread.get()
|
|
36570
|
-
|
|
36571
|
-
:param async_req bool: execute request asynchronously
|
|
36572
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36573
|
-
be returned without reading/decoding response
|
|
36574
|
-
data. Default is True.
|
|
36575
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36576
|
-
number provided, it will be total request
|
|
36577
|
-
timeout. It can also be a pair (tuple) of
|
|
36578
|
-
(connection, read) timeouts.
|
|
36579
|
-
:return: None
|
|
36580
|
-
If the method is called asynchronously,
|
|
36581
|
-
returns the request thread.
|
|
36582
|
-
"""
|
|
36583
|
-
kwargs['_return_http_data_only'] = True
|
|
36584
|
-
return self.set_organization_to_be_blocked_api_v2_organizations_block_post_with_http_info(**kwargs) # noqa: E501
|
|
36585
|
-
|
|
36586
|
-
def set_organization_to_be_blocked_api_v2_organizations_block_post_with_http_info(self, **kwargs): # noqa: E501
|
|
36587
|
-
"""Set Organization To Be Blocked # noqa: E501
|
|
36588
|
-
|
|
36589
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36590
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36591
|
-
>>> thread = api.set_organization_to_be_blocked_api_v2_organizations_block_post_with_http_info(async_req=True)
|
|
36592
|
-
>>> result = thread.get()
|
|
36593
|
-
|
|
36594
|
-
:param async_req bool: execute request asynchronously
|
|
36595
|
-
:param _return_http_data_only: response data without head status code
|
|
36596
|
-
and headers
|
|
36597
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36598
|
-
be returned without reading/decoding response
|
|
36599
|
-
data. Default is True.
|
|
36600
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36601
|
-
number provided, it will be total request
|
|
36602
|
-
timeout. It can also be a pair (tuple) of
|
|
36603
|
-
(connection, read) timeouts.
|
|
36604
|
-
:return: None
|
|
36605
|
-
If the method is called asynchronously,
|
|
36606
|
-
returns the request thread.
|
|
36607
|
-
"""
|
|
36608
|
-
|
|
36609
|
-
local_var_params = locals()
|
|
36610
|
-
|
|
36611
|
-
all_params = [
|
|
36612
|
-
]
|
|
36613
|
-
all_params.extend(
|
|
36614
|
-
[
|
|
36615
|
-
'async_req',
|
|
36616
|
-
'_return_http_data_only',
|
|
36617
|
-
'_preload_content',
|
|
36618
|
-
'_request_timeout'
|
|
36619
|
-
]
|
|
36620
|
-
)
|
|
36621
|
-
|
|
36622
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
36623
|
-
if key not in all_params:
|
|
36624
|
-
raise ApiTypeError(
|
|
36625
|
-
"Got an unexpected keyword argument '%s'"
|
|
36626
|
-
" to method set_organization_to_be_blocked_api_v2_organizations_block_post" % key
|
|
36627
|
-
)
|
|
36628
|
-
local_var_params[key] = val
|
|
36629
|
-
del local_var_params['kwargs']
|
|
36630
|
-
|
|
36631
|
-
collection_formats = {}
|
|
36632
|
-
|
|
36633
|
-
path_params = {}
|
|
36634
|
-
|
|
36635
|
-
query_params = []
|
|
36636
|
-
|
|
36637
|
-
header_params = {}
|
|
36638
|
-
|
|
36639
|
-
form_params = []
|
|
36640
|
-
local_var_files = {}
|
|
36641
|
-
|
|
36642
|
-
body_params = None
|
|
36643
|
-
# Authentication setting
|
|
36644
|
-
auth_settings = [] # noqa: E501
|
|
36645
|
-
|
|
36646
|
-
return self.api_client.call_api(
|
|
36647
|
-
'/api/v2/organizations/block', 'POST',
|
|
36648
|
-
path_params,
|
|
36649
|
-
query_params,
|
|
36650
|
-
header_params,
|
|
36651
|
-
body=body_params,
|
|
36652
|
-
post_params=form_params,
|
|
36653
|
-
files=local_var_files,
|
|
36654
|
-
response_type=None, # noqa: E501
|
|
36655
|
-
auth_settings=auth_settings,
|
|
36656
|
-
async_req=local_var_params.get('async_req'),
|
|
36657
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
36658
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
36659
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
36660
|
-
collection_formats=collection_formats)
|
|
36661
|
-
|
|
36662
|
-
def set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post(self, organization_id, **kwargs): # noqa: E501
|
|
36663
|
-
"""Set Organization To Be Unblocked # noqa: E501
|
|
36664
|
-
|
|
36665
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36666
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36667
|
-
>>> thread = api.set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post(organization_id, async_req=True)
|
|
36668
|
-
>>> result = thread.get()
|
|
36669
|
-
|
|
36670
|
-
:param async_req bool: execute request asynchronously
|
|
36671
|
-
:param str organization_id: (required)
|
|
36672
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36673
|
-
be returned without reading/decoding response
|
|
36674
|
-
data. Default is True.
|
|
36675
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36676
|
-
number provided, it will be total request
|
|
36677
|
-
timeout. It can also be a pair (tuple) of
|
|
36678
|
-
(connection, read) timeouts.
|
|
36679
|
-
:return: object
|
|
36680
|
-
If the method is called asynchronously,
|
|
36681
|
-
returns the request thread.
|
|
36682
|
-
"""
|
|
36683
|
-
kwargs['_return_http_data_only'] = True
|
|
36684
|
-
return self.set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post_with_http_info(organization_id, **kwargs) # noqa: E501
|
|
36685
|
-
|
|
36686
|
-
def set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post_with_http_info(self, organization_id, **kwargs): # noqa: E501
|
|
36687
|
-
"""Set Organization To Be Unblocked # noqa: E501
|
|
36688
|
-
|
|
36689
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36690
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36691
|
-
>>> thread = api.set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post_with_http_info(organization_id, async_req=True)
|
|
36692
|
-
>>> result = thread.get()
|
|
36693
|
-
|
|
36694
|
-
:param async_req bool: execute request asynchronously
|
|
36695
|
-
:param str organization_id: (required)
|
|
36696
|
-
:param _return_http_data_only: response data without head status code
|
|
36697
|
-
and headers
|
|
36698
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36699
|
-
be returned without reading/decoding response
|
|
36700
|
-
data. Default is True.
|
|
36701
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36702
|
-
number provided, it will be total request
|
|
36703
|
-
timeout. It can also be a pair (tuple) of
|
|
36704
|
-
(connection, read) timeouts.
|
|
36705
|
-
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
36706
|
-
If the method is called asynchronously,
|
|
36707
|
-
returns the request thread.
|
|
36708
|
-
"""
|
|
36709
|
-
|
|
36710
|
-
local_var_params = locals()
|
|
36711
|
-
|
|
36712
|
-
all_params = [
|
|
36713
|
-
'organization_id'
|
|
36714
|
-
]
|
|
36715
|
-
all_params.extend(
|
|
36716
|
-
[
|
|
36717
|
-
'async_req',
|
|
36718
|
-
'_return_http_data_only',
|
|
36719
|
-
'_preload_content',
|
|
36720
|
-
'_request_timeout'
|
|
36721
|
-
]
|
|
36722
|
-
)
|
|
36723
|
-
|
|
36724
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
36725
|
-
if key not in all_params:
|
|
36726
|
-
raise ApiTypeError(
|
|
36727
|
-
"Got an unexpected keyword argument '%s'"
|
|
36728
|
-
" to method set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post" % key
|
|
36729
|
-
)
|
|
36730
|
-
local_var_params[key] = val
|
|
36731
|
-
del local_var_params['kwargs']
|
|
36732
|
-
# verify the required parameter 'organization_id' is set
|
|
36733
|
-
if self.api_client.client_side_validation and ('organization_id' not in local_var_params or # noqa: E501
|
|
36734
|
-
local_var_params['organization_id'] is None): # noqa: E501
|
|
36735
|
-
raise ApiValueError("Missing the required parameter `organization_id` when calling `set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post`") # noqa: E501
|
|
36736
|
-
|
|
36737
|
-
collection_formats = {}
|
|
36738
|
-
|
|
36739
|
-
path_params = {}
|
|
36740
|
-
if 'organization_id' in local_var_params:
|
|
36741
|
-
path_params['organization_id'] = local_var_params['organization_id'] # noqa: E501
|
|
36742
|
-
|
|
36743
|
-
query_params = []
|
|
36744
|
-
|
|
36745
|
-
header_params = {}
|
|
36746
|
-
|
|
36747
|
-
form_params = []
|
|
36748
|
-
local_var_files = {}
|
|
36749
|
-
|
|
36750
|
-
body_params = None
|
|
36751
|
-
# HTTP header `Accept`
|
|
36752
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
36753
|
-
['application/json']) # noqa: E501
|
|
36754
|
-
|
|
36755
|
-
# Authentication setting
|
|
36756
|
-
auth_settings = [] # noqa: E501
|
|
36757
|
-
|
|
36758
|
-
return self.api_client.call_api(
|
|
36759
|
-
'/api/v2/organizations/{organization_id}/unblock', 'POST',
|
|
36760
|
-
path_params,
|
|
36761
|
-
query_params,
|
|
36762
|
-
header_params,
|
|
36763
|
-
body=body_params,
|
|
36764
|
-
post_params=form_params,
|
|
36765
|
-
files=local_var_files,
|
|
36766
|
-
response_type='object', # noqa: E501
|
|
36767
|
-
auth_settings=auth_settings,
|
|
36768
|
-
async_req=local_var_params.get('async_req'),
|
|
36769
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
36770
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
36771
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
36772
|
-
collection_formats=collection_formats)
|
|
36773
|
-
|
|
36774
36503
|
def set_resource_quota_status_api_v2_resource_quotas_resource_quota_id_status_patch(self, resource_quota_id, resource_quota_status, **kwargs): # noqa: E501
|
|
36775
36504
|
"""Set Resource Quota Status # noqa: E501
|
|
36776
36505
|
|
|
@@ -39132,6 +38861,140 @@ class DefaultApi(object):
|
|
|
39132
38861
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
39133
38862
|
collection_formats=collection_formats)
|
|
39134
38863
|
|
|
38864
|
+
def update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put(self, cloud_id, cloud_deployment_id, cloud_deployment_config, **kwargs): # noqa: E501
|
|
38865
|
+
"""Update Cloud Deployment Config # noqa: E501
|
|
38866
|
+
|
|
38867
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
38868
|
+
asynchronous HTTP request, please pass async_req=True
|
|
38869
|
+
>>> thread = api.update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put(cloud_id, cloud_deployment_id, cloud_deployment_config, async_req=True)
|
|
38870
|
+
>>> result = thread.get()
|
|
38871
|
+
|
|
38872
|
+
:param async_req bool: execute request asynchronously
|
|
38873
|
+
:param str cloud_id: (required)
|
|
38874
|
+
:param str cloud_deployment_id: (required)
|
|
38875
|
+
:param CloudDeploymentConfig cloud_deployment_config: (required)
|
|
38876
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
38877
|
+
be returned without reading/decoding response
|
|
38878
|
+
data. Default is True.
|
|
38879
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
38880
|
+
number provided, it will be total request
|
|
38881
|
+
timeout. It can also be a pair (tuple) of
|
|
38882
|
+
(connection, read) timeouts.
|
|
38883
|
+
:return: ClouddeploymentconfigResponse
|
|
38884
|
+
If the method is called asynchronously,
|
|
38885
|
+
returns the request thread.
|
|
38886
|
+
"""
|
|
38887
|
+
kwargs['_return_http_data_only'] = True
|
|
38888
|
+
return self.update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put_with_http_info(cloud_id, cloud_deployment_id, cloud_deployment_config, **kwargs) # noqa: E501
|
|
38889
|
+
|
|
38890
|
+
def update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put_with_http_info(self, cloud_id, cloud_deployment_id, cloud_deployment_config, **kwargs): # noqa: E501
|
|
38891
|
+
"""Update Cloud Deployment Config # noqa: E501
|
|
38892
|
+
|
|
38893
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
38894
|
+
asynchronous HTTP request, please pass async_req=True
|
|
38895
|
+
>>> thread = api.update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put_with_http_info(cloud_id, cloud_deployment_id, cloud_deployment_config, async_req=True)
|
|
38896
|
+
>>> result = thread.get()
|
|
38897
|
+
|
|
38898
|
+
:param async_req bool: execute request asynchronously
|
|
38899
|
+
:param str cloud_id: (required)
|
|
38900
|
+
:param str cloud_deployment_id: (required)
|
|
38901
|
+
:param CloudDeploymentConfig cloud_deployment_config: (required)
|
|
38902
|
+
:param _return_http_data_only: response data without head status code
|
|
38903
|
+
and headers
|
|
38904
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
38905
|
+
be returned without reading/decoding response
|
|
38906
|
+
data. Default is True.
|
|
38907
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
38908
|
+
number provided, it will be total request
|
|
38909
|
+
timeout. It can also be a pair (tuple) of
|
|
38910
|
+
(connection, read) timeouts.
|
|
38911
|
+
:return: tuple(ClouddeploymentconfigResponse, status_code(int), headers(HTTPHeaderDict))
|
|
38912
|
+
If the method is called asynchronously,
|
|
38913
|
+
returns the request thread.
|
|
38914
|
+
"""
|
|
38915
|
+
|
|
38916
|
+
local_var_params = locals()
|
|
38917
|
+
|
|
38918
|
+
all_params = [
|
|
38919
|
+
'cloud_id',
|
|
38920
|
+
'cloud_deployment_id',
|
|
38921
|
+
'cloud_deployment_config'
|
|
38922
|
+
]
|
|
38923
|
+
all_params.extend(
|
|
38924
|
+
[
|
|
38925
|
+
'async_req',
|
|
38926
|
+
'_return_http_data_only',
|
|
38927
|
+
'_preload_content',
|
|
38928
|
+
'_request_timeout'
|
|
38929
|
+
]
|
|
38930
|
+
)
|
|
38931
|
+
|
|
38932
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
38933
|
+
if key not in all_params:
|
|
38934
|
+
raise ApiTypeError(
|
|
38935
|
+
"Got an unexpected keyword argument '%s'"
|
|
38936
|
+
" to method update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put" % key
|
|
38937
|
+
)
|
|
38938
|
+
local_var_params[key] = val
|
|
38939
|
+
del local_var_params['kwargs']
|
|
38940
|
+
# verify the required parameter 'cloud_id' is set
|
|
38941
|
+
if self.api_client.client_side_validation and ('cloud_id' not in local_var_params or # noqa: E501
|
|
38942
|
+
local_var_params['cloud_id'] is None): # noqa: E501
|
|
38943
|
+
raise ApiValueError("Missing the required parameter `cloud_id` when calling `update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put`") # noqa: E501
|
|
38944
|
+
# verify the required parameter 'cloud_deployment_id' is set
|
|
38945
|
+
if self.api_client.client_side_validation and ('cloud_deployment_id' not in local_var_params or # noqa: E501
|
|
38946
|
+
local_var_params['cloud_deployment_id'] is None): # noqa: E501
|
|
38947
|
+
raise ApiValueError("Missing the required parameter `cloud_deployment_id` when calling `update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put`") # noqa: E501
|
|
38948
|
+
# verify the required parameter 'cloud_deployment_config' is set
|
|
38949
|
+
if self.api_client.client_side_validation and ('cloud_deployment_config' not in local_var_params or # noqa: E501
|
|
38950
|
+
local_var_params['cloud_deployment_config'] is None): # noqa: E501
|
|
38951
|
+
raise ApiValueError("Missing the required parameter `cloud_deployment_config` when calling `update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put`") # noqa: E501
|
|
38952
|
+
|
|
38953
|
+
collection_formats = {}
|
|
38954
|
+
|
|
38955
|
+
path_params = {}
|
|
38956
|
+
if 'cloud_id' in local_var_params:
|
|
38957
|
+
path_params['cloud_id'] = local_var_params['cloud_id'] # noqa: E501
|
|
38958
|
+
if 'cloud_deployment_id' in local_var_params:
|
|
38959
|
+
path_params['cloud_deployment_id'] = local_var_params['cloud_deployment_id'] # noqa: E501
|
|
38960
|
+
|
|
38961
|
+
query_params = []
|
|
38962
|
+
|
|
38963
|
+
header_params = {}
|
|
38964
|
+
|
|
38965
|
+
form_params = []
|
|
38966
|
+
local_var_files = {}
|
|
38967
|
+
|
|
38968
|
+
body_params = None
|
|
38969
|
+
if 'cloud_deployment_config' in local_var_params:
|
|
38970
|
+
body_params = local_var_params['cloud_deployment_config']
|
|
38971
|
+
# HTTP header `Accept`
|
|
38972
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
38973
|
+
['application/json']) # noqa: E501
|
|
38974
|
+
|
|
38975
|
+
# HTTP header `Content-Type`
|
|
38976
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
38977
|
+
['application/json']) # noqa: E501
|
|
38978
|
+
|
|
38979
|
+
# Authentication setting
|
|
38980
|
+
auth_settings = [] # noqa: E501
|
|
38981
|
+
|
|
38982
|
+
return self.api_client.call_api(
|
|
38983
|
+
'/api/v2/clouds/{cloud_id}/deployment/{cloud_deployment_id}/config', 'PUT',
|
|
38984
|
+
path_params,
|
|
38985
|
+
query_params,
|
|
38986
|
+
header_params,
|
|
38987
|
+
body=body_params,
|
|
38988
|
+
post_params=form_params,
|
|
38989
|
+
files=local_var_files,
|
|
38990
|
+
response_type='ClouddeploymentconfigResponse', # noqa: E501
|
|
38991
|
+
auth_settings=auth_settings,
|
|
38992
|
+
async_req=local_var_params.get('async_req'),
|
|
38993
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
38994
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
38995
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
38996
|
+
collection_formats=collection_formats)
|
|
38997
|
+
|
|
39135
38998
|
def update_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_gcp_router_cloud_id_put(self, cloud_id, update_cloud_with_cloud_resource_gcp, **kwargs): # noqa: E501
|
|
39136
38999
|
"""Update Cloud With Cloud Resource # noqa: E501
|
|
39137
39000
|
|