anyscale 0.24.88__py3-none-any.whl → 0.25.0__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 +46 -0
- anyscale/_private/anyscale_client/anyscale_client.py +148 -28
- anyscale/_private/anyscale_client/common.py +74 -1
- anyscale/_private/anyscale_client/fake_anyscale_client.py +165 -1
- anyscale/_private/docgen/README.md +1 -1
- anyscale/_private/docgen/__main__.py +62 -19
- anyscale/_private/docgen/api.md +0 -20
- anyscale/_private/docgen/generator.py +3 -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 +15 -22
- anyscale/client/openapi_client/__init__.py +10 -14
- anyscale/client/openapi_client/api/default_api.py +634 -957
- anyscale/client/openapi_client/models/__init__.py +10 -14
- 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/{sessionevent_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 +61 -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 +1 -1
- anyscale/commands/util.py +2 -2
- 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 +4 -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 +1 -1
- anyscale/user/commands.py +1 -1
- anyscale/user/models.py +25 -15
- 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.88.dist-info → anyscale-0.25.0.dist-info}/METADATA +1 -5
- {anyscale-0.24.88.dist-info → anyscale-0.25.0.dist-info}/RECORD +100 -94
- 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/platform_fine_tuning_job.py +0 -577
- anyscale/client/openapi_client/models/platformfinetuningjob_list_response.py +0 -147
- 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.88.dist-info → anyscale-0.25.0.dist-info}/LICENSE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.0.dist-info}/NOTICE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.0.dist-info}/WHEEL +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.0.dist-info}/entry_points.txt +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.0.dist-info}/top_level.txt +0 -0
|
@@ -1679,6 +1679,133 @@ class DefaultApi(object):
|
|
|
1679
1679
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1680
1680
|
collection_formats=collection_formats)
|
|
1681
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
|
+
|
|
1682
1809
|
def batch_create_invitations_api_v2_organization_invitations_batch_create_post(self, create_organization_invitation, **kwargs): # noqa: E501
|
|
1683
1810
|
"""Batch Create Invitations # noqa: E501
|
|
1684
1811
|
|
|
@@ -1795,6 +1922,131 @@ class DefaultApi(object):
|
|
|
1795
1922
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1796
1923
|
collection_formats=collection_formats)
|
|
1797
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
|
+
|
|
1798
2050
|
def batch_get_job_api_v2_decorated_ha_jobs_batch_get_post(self, request_body, **kwargs): # noqa: E501
|
|
1799
2051
|
"""Batch Get Job # noqa: E501
|
|
1800
2052
|
|
|
@@ -3876,7 +4128,7 @@ class DefaultApi(object):
|
|
|
3876
4128
|
def create_cloud_collaborator_api_v2_clouds_cloud_id_collaborators_users_post(self, cloud_id, create_cloud_collaborator, **kwargs): # noqa: E501
|
|
3877
4129
|
"""Create Cloud Collaborator # noqa: E501
|
|
3878
4130
|
|
|
3879
|
-
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
|
|
3880
4132
|
This method makes a synchronous HTTP request by default. To make an
|
|
3881
4133
|
asynchronous HTTP request, please pass async_req=True
|
|
3882
4134
|
>>> thread = api.create_cloud_collaborator_api_v2_clouds_cloud_id_collaborators_users_post(cloud_id, create_cloud_collaborator, async_req=True)
|
|
@@ -3902,7 +4154,7 @@ class DefaultApi(object):
|
|
|
3902
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
|
|
3903
4155
|
"""Create Cloud Collaborator # noqa: E501
|
|
3904
4156
|
|
|
3905
|
-
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
|
|
3906
4158
|
This method makes a synchronous HTTP request by default. To make an
|
|
3907
4159
|
asynchronous HTTP request, please pass async_req=True
|
|
3908
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)
|
|
@@ -4943,122 +5195,6 @@ class DefaultApi(object):
|
|
|
4943
5195
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
4944
5196
|
collection_formats=collection_formats)
|
|
4945
5197
|
|
|
4946
|
-
def create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post(self, create_fine_tuning_job_product_request, **kwargs): # noqa: E501
|
|
4947
|
-
"""Create Fine Tuning Job # noqa: E501
|
|
4948
|
-
|
|
4949
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4950
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4951
|
-
>>> thread = api.create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post(create_fine_tuning_job_product_request, async_req=True)
|
|
4952
|
-
>>> result = thread.get()
|
|
4953
|
-
|
|
4954
|
-
:param async_req bool: execute request asynchronously
|
|
4955
|
-
:param CreateFineTuningJobProductRequest create_fine_tuning_job_product_request: (required)
|
|
4956
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
4957
|
-
be returned without reading/decoding response
|
|
4958
|
-
data. Default is True.
|
|
4959
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4960
|
-
number provided, it will be total request
|
|
4961
|
-
timeout. It can also be a pair (tuple) of
|
|
4962
|
-
(connection, read) timeouts.
|
|
4963
|
-
:return: PlatformfinetuningjobResponse
|
|
4964
|
-
If the method is called asynchronously,
|
|
4965
|
-
returns the request thread.
|
|
4966
|
-
"""
|
|
4967
|
-
kwargs['_return_http_data_only'] = True
|
|
4968
|
-
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
|
|
4969
|
-
|
|
4970
|
-
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
|
|
4971
|
-
"""Create Fine Tuning Job # noqa: E501
|
|
4972
|
-
|
|
4973
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4974
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4975
|
-
>>> 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)
|
|
4976
|
-
>>> result = thread.get()
|
|
4977
|
-
|
|
4978
|
-
:param async_req bool: execute request asynchronously
|
|
4979
|
-
:param CreateFineTuningJobProductRequest create_fine_tuning_job_product_request: (required)
|
|
4980
|
-
:param _return_http_data_only: response data without head status code
|
|
4981
|
-
and headers
|
|
4982
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
4983
|
-
be returned without reading/decoding response
|
|
4984
|
-
data. Default is True.
|
|
4985
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4986
|
-
number provided, it will be total request
|
|
4987
|
-
timeout. It can also be a pair (tuple) of
|
|
4988
|
-
(connection, read) timeouts.
|
|
4989
|
-
:return: tuple(PlatformfinetuningjobResponse, status_code(int), headers(HTTPHeaderDict))
|
|
4990
|
-
If the method is called asynchronously,
|
|
4991
|
-
returns the request thread.
|
|
4992
|
-
"""
|
|
4993
|
-
|
|
4994
|
-
local_var_params = locals()
|
|
4995
|
-
|
|
4996
|
-
all_params = [
|
|
4997
|
-
'create_fine_tuning_job_product_request'
|
|
4998
|
-
]
|
|
4999
|
-
all_params.extend(
|
|
5000
|
-
[
|
|
5001
|
-
'async_req',
|
|
5002
|
-
'_return_http_data_only',
|
|
5003
|
-
'_preload_content',
|
|
5004
|
-
'_request_timeout'
|
|
5005
|
-
]
|
|
5006
|
-
)
|
|
5007
|
-
|
|
5008
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
5009
|
-
if key not in all_params:
|
|
5010
|
-
raise ApiTypeError(
|
|
5011
|
-
"Got an unexpected keyword argument '%s'"
|
|
5012
|
-
" to method create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post" % key
|
|
5013
|
-
)
|
|
5014
|
-
local_var_params[key] = val
|
|
5015
|
-
del local_var_params['kwargs']
|
|
5016
|
-
# verify the required parameter 'create_fine_tuning_job_product_request' is set
|
|
5017
|
-
if self.api_client.client_side_validation and ('create_fine_tuning_job_product_request' not in local_var_params or # noqa: E501
|
|
5018
|
-
local_var_params['create_fine_tuning_job_product_request'] is None): # noqa: E501
|
|
5019
|
-
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
|
|
5020
|
-
|
|
5021
|
-
collection_formats = {}
|
|
5022
|
-
|
|
5023
|
-
path_params = {}
|
|
5024
|
-
|
|
5025
|
-
query_params = []
|
|
5026
|
-
|
|
5027
|
-
header_params = {}
|
|
5028
|
-
|
|
5029
|
-
form_params = []
|
|
5030
|
-
local_var_files = {}
|
|
5031
|
-
|
|
5032
|
-
body_params = None
|
|
5033
|
-
if 'create_fine_tuning_job_product_request' in local_var_params:
|
|
5034
|
-
body_params = local_var_params['create_fine_tuning_job_product_request']
|
|
5035
|
-
# HTTP header `Accept`
|
|
5036
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
5037
|
-
['application/json']) # noqa: E501
|
|
5038
|
-
|
|
5039
|
-
# HTTP header `Content-Type`
|
|
5040
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
5041
|
-
['application/json']) # noqa: E501
|
|
5042
|
-
|
|
5043
|
-
# Authentication setting
|
|
5044
|
-
auth_settings = [] # noqa: E501
|
|
5045
|
-
|
|
5046
|
-
return self.api_client.call_api(
|
|
5047
|
-
'/api/v2/fine_tuning/jobs/create', 'POST',
|
|
5048
|
-
path_params,
|
|
5049
|
-
query_params,
|
|
5050
|
-
header_params,
|
|
5051
|
-
body=body_params,
|
|
5052
|
-
post_params=form_params,
|
|
5053
|
-
files=local_var_files,
|
|
5054
|
-
response_type='PlatformfinetuningjobResponse', # noqa: E501
|
|
5055
|
-
auth_settings=auth_settings,
|
|
5056
|
-
async_req=local_var_params.get('async_req'),
|
|
5057
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
5058
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
5059
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
5060
|
-
collection_formats=collection_formats)
|
|
5061
|
-
|
|
5062
5198
|
def create_instance_usage_budget_api_v2_instance_usage_budgets_post(self, create_instance_usage_budget, **kwargs): # noqa: E501
|
|
5063
5199
|
"""Create Instance Usage Budget # noqa: E501
|
|
5064
5200
|
|
|
@@ -9136,6 +9272,124 @@ class DefaultApi(object):
|
|
|
9136
9272
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
9137
9273
|
collection_formats=collection_formats)
|
|
9138
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
|
+
|
|
9139
9393
|
def describe_session_api_v2_sessions_session_id_describe_get(self, session_id, **kwargs): # noqa: E501
|
|
9140
9394
|
"""Describe Session # noqa: E501
|
|
9141
9395
|
|
|
@@ -11723,122 +11977,6 @@ class DefaultApi(object):
|
|
|
11723
11977
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
11724
11978
|
collection_formats=collection_formats)
|
|
11725
11979
|
|
|
11726
|
-
def fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post(self, finish_ft_job_request, **kwargs): # noqa: E501
|
|
11727
|
-
"""Fine Tuning Job Callback # noqa: E501
|
|
11728
|
-
|
|
11729
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
11730
|
-
asynchronous HTTP request, please pass async_req=True
|
|
11731
|
-
>>> thread = api.fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post(finish_ft_job_request, async_req=True)
|
|
11732
|
-
>>> result = thread.get()
|
|
11733
|
-
|
|
11734
|
-
:param async_req bool: execute request asynchronously
|
|
11735
|
-
:param FinishFTJobRequest finish_ft_job_request: (required)
|
|
11736
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
11737
|
-
be returned without reading/decoding response
|
|
11738
|
-
data. Default is True.
|
|
11739
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
11740
|
-
number provided, it will be total request
|
|
11741
|
-
timeout. It can also be a pair (tuple) of
|
|
11742
|
-
(connection, read) timeouts.
|
|
11743
|
-
:return: None
|
|
11744
|
-
If the method is called asynchronously,
|
|
11745
|
-
returns the request thread.
|
|
11746
|
-
"""
|
|
11747
|
-
kwargs['_return_http_data_only'] = True
|
|
11748
|
-
return self.fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post_with_http_info(finish_ft_job_request, **kwargs) # noqa: E501
|
|
11749
|
-
|
|
11750
|
-
def fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post_with_http_info(self, finish_ft_job_request, **kwargs): # noqa: E501
|
|
11751
|
-
"""Fine Tuning Job Callback # noqa: E501
|
|
11752
|
-
|
|
11753
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
11754
|
-
asynchronous HTTP request, please pass async_req=True
|
|
11755
|
-
>>> thread = api.fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post_with_http_info(finish_ft_job_request, async_req=True)
|
|
11756
|
-
>>> result = thread.get()
|
|
11757
|
-
|
|
11758
|
-
:param async_req bool: execute request asynchronously
|
|
11759
|
-
:param FinishFTJobRequest finish_ft_job_request: (required)
|
|
11760
|
-
:param _return_http_data_only: response data without head status code
|
|
11761
|
-
and headers
|
|
11762
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
11763
|
-
be returned without reading/decoding response
|
|
11764
|
-
data. Default is True.
|
|
11765
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
11766
|
-
number provided, it will be total request
|
|
11767
|
-
timeout. It can also be a pair (tuple) of
|
|
11768
|
-
(connection, read) timeouts.
|
|
11769
|
-
:return: None
|
|
11770
|
-
If the method is called asynchronously,
|
|
11771
|
-
returns the request thread.
|
|
11772
|
-
"""
|
|
11773
|
-
|
|
11774
|
-
local_var_params = locals()
|
|
11775
|
-
|
|
11776
|
-
all_params = [
|
|
11777
|
-
'finish_ft_job_request'
|
|
11778
|
-
]
|
|
11779
|
-
all_params.extend(
|
|
11780
|
-
[
|
|
11781
|
-
'async_req',
|
|
11782
|
-
'_return_http_data_only',
|
|
11783
|
-
'_preload_content',
|
|
11784
|
-
'_request_timeout'
|
|
11785
|
-
]
|
|
11786
|
-
)
|
|
11787
|
-
|
|
11788
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
11789
|
-
if key not in all_params:
|
|
11790
|
-
raise ApiTypeError(
|
|
11791
|
-
"Got an unexpected keyword argument '%s'"
|
|
11792
|
-
" to method fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post" % key
|
|
11793
|
-
)
|
|
11794
|
-
local_var_params[key] = val
|
|
11795
|
-
del local_var_params['kwargs']
|
|
11796
|
-
# verify the required parameter 'finish_ft_job_request' is set
|
|
11797
|
-
if self.api_client.client_side_validation and ('finish_ft_job_request' not in local_var_params or # noqa: E501
|
|
11798
|
-
local_var_params['finish_ft_job_request'] is None): # noqa: E501
|
|
11799
|
-
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
|
|
11800
|
-
|
|
11801
|
-
collection_formats = {}
|
|
11802
|
-
|
|
11803
|
-
path_params = {}
|
|
11804
|
-
|
|
11805
|
-
query_params = []
|
|
11806
|
-
|
|
11807
|
-
header_params = {}
|
|
11808
|
-
|
|
11809
|
-
form_params = []
|
|
11810
|
-
local_var_files = {}
|
|
11811
|
-
|
|
11812
|
-
body_params = None
|
|
11813
|
-
if 'finish_ft_job_request' in local_var_params:
|
|
11814
|
-
body_params = local_var_params['finish_ft_job_request']
|
|
11815
|
-
# HTTP header `Accept`
|
|
11816
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
11817
|
-
['application/json']) # noqa: E501
|
|
11818
|
-
|
|
11819
|
-
# HTTP header `Content-Type`
|
|
11820
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
11821
|
-
['application/json']) # noqa: E501
|
|
11822
|
-
|
|
11823
|
-
# Authentication setting
|
|
11824
|
-
auth_settings = [] # noqa: E501
|
|
11825
|
-
|
|
11826
|
-
return self.api_client.call_api(
|
|
11827
|
-
'/api/v2/fine_tuning/jobs/internal/finish', 'POST',
|
|
11828
|
-
path_params,
|
|
11829
|
-
query_params,
|
|
11830
|
-
header_params,
|
|
11831
|
-
body=body_params,
|
|
11832
|
-
post_params=form_params,
|
|
11833
|
-
files=local_var_files,
|
|
11834
|
-
response_type=None, # noqa: E501
|
|
11835
|
-
auth_settings=auth_settings,
|
|
11836
|
-
async_req=local_var_params.get('async_req'),
|
|
11837
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
11838
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
11839
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
11840
|
-
collection_formats=collection_formats)
|
|
11841
|
-
|
|
11842
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
|
|
11843
11981
|
"""Fine Tuning Job Callback V2 # noqa: E501
|
|
11844
11982
|
|
|
@@ -13318,6 +13456,127 @@ class DefaultApi(object):
|
|
|
13318
13456
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
13319
13457
|
collection_formats=collection_formats)
|
|
13320
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
|
+
|
|
13321
13580
|
def get_cloud_overview_dashboard_api_v2_clouds_cloud_id_cloud_overview_dashboard_get(self, cloud_id, **kwargs): # noqa: E501
|
|
13322
13581
|
"""Get Cloud Overview Dashboard # noqa: E501
|
|
13323
13582
|
|
|
@@ -16794,118 +17053,6 @@ class DefaultApi(object):
|
|
|
16794
17053
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
16795
17054
|
collection_formats=collection_formats)
|
|
16796
17055
|
|
|
16797
|
-
def get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get(self, fine_tuning_job_id, **kwargs): # noqa: E501
|
|
16798
|
-
"""Get Fine Tuning Job # noqa: E501
|
|
16799
|
-
|
|
16800
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
16801
|
-
asynchronous HTTP request, please pass async_req=True
|
|
16802
|
-
>>> thread = api.get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get(fine_tuning_job_id, async_req=True)
|
|
16803
|
-
>>> result = thread.get()
|
|
16804
|
-
|
|
16805
|
-
:param async_req bool: execute request asynchronously
|
|
16806
|
-
:param str fine_tuning_job_id: (required)
|
|
16807
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
16808
|
-
be returned without reading/decoding response
|
|
16809
|
-
data. Default is True.
|
|
16810
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
16811
|
-
number provided, it will be total request
|
|
16812
|
-
timeout. It can also be a pair (tuple) of
|
|
16813
|
-
(connection, read) timeouts.
|
|
16814
|
-
:return: PlatformfinetuningjobResponse
|
|
16815
|
-
If the method is called asynchronously,
|
|
16816
|
-
returns the request thread.
|
|
16817
|
-
"""
|
|
16818
|
-
kwargs['_return_http_data_only'] = True
|
|
16819
|
-
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
|
|
16820
|
-
|
|
16821
|
-
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
|
|
16822
|
-
"""Get Fine Tuning Job # noqa: E501
|
|
16823
|
-
|
|
16824
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
16825
|
-
asynchronous HTTP request, please pass async_req=True
|
|
16826
|
-
>>> 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)
|
|
16827
|
-
>>> result = thread.get()
|
|
16828
|
-
|
|
16829
|
-
:param async_req bool: execute request asynchronously
|
|
16830
|
-
:param str fine_tuning_job_id: (required)
|
|
16831
|
-
:param _return_http_data_only: response data without head status code
|
|
16832
|
-
and headers
|
|
16833
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
16834
|
-
be returned without reading/decoding response
|
|
16835
|
-
data. Default is True.
|
|
16836
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
16837
|
-
number provided, it will be total request
|
|
16838
|
-
timeout. It can also be a pair (tuple) of
|
|
16839
|
-
(connection, read) timeouts.
|
|
16840
|
-
:return: tuple(PlatformfinetuningjobResponse, status_code(int), headers(HTTPHeaderDict))
|
|
16841
|
-
If the method is called asynchronously,
|
|
16842
|
-
returns the request thread.
|
|
16843
|
-
"""
|
|
16844
|
-
|
|
16845
|
-
local_var_params = locals()
|
|
16846
|
-
|
|
16847
|
-
all_params = [
|
|
16848
|
-
'fine_tuning_job_id'
|
|
16849
|
-
]
|
|
16850
|
-
all_params.extend(
|
|
16851
|
-
[
|
|
16852
|
-
'async_req',
|
|
16853
|
-
'_return_http_data_only',
|
|
16854
|
-
'_preload_content',
|
|
16855
|
-
'_request_timeout'
|
|
16856
|
-
]
|
|
16857
|
-
)
|
|
16858
|
-
|
|
16859
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
16860
|
-
if key not in all_params:
|
|
16861
|
-
raise ApiTypeError(
|
|
16862
|
-
"Got an unexpected keyword argument '%s'"
|
|
16863
|
-
" to method get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get" % key
|
|
16864
|
-
)
|
|
16865
|
-
local_var_params[key] = val
|
|
16866
|
-
del local_var_params['kwargs']
|
|
16867
|
-
# verify the required parameter 'fine_tuning_job_id' is set
|
|
16868
|
-
if self.api_client.client_side_validation and ('fine_tuning_job_id' not in local_var_params or # noqa: E501
|
|
16869
|
-
local_var_params['fine_tuning_job_id'] is None): # noqa: E501
|
|
16870
|
-
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
|
|
16871
|
-
|
|
16872
|
-
collection_formats = {}
|
|
16873
|
-
|
|
16874
|
-
path_params = {}
|
|
16875
|
-
if 'fine_tuning_job_id' in local_var_params:
|
|
16876
|
-
path_params['fine_tuning_job_id'] = local_var_params['fine_tuning_job_id'] # noqa: E501
|
|
16877
|
-
|
|
16878
|
-
query_params = []
|
|
16879
|
-
|
|
16880
|
-
header_params = {}
|
|
16881
|
-
|
|
16882
|
-
form_params = []
|
|
16883
|
-
local_var_files = {}
|
|
16884
|
-
|
|
16885
|
-
body_params = None
|
|
16886
|
-
# HTTP header `Accept`
|
|
16887
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
16888
|
-
['application/json']) # noqa: E501
|
|
16889
|
-
|
|
16890
|
-
# Authentication setting
|
|
16891
|
-
auth_settings = [] # noqa: E501
|
|
16892
|
-
|
|
16893
|
-
return self.api_client.call_api(
|
|
16894
|
-
'/api/v2/fine_tuning/jobs/{fine_tuning_job_id}', 'GET',
|
|
16895
|
-
path_params,
|
|
16896
|
-
query_params,
|
|
16897
|
-
header_params,
|
|
16898
|
-
body=body_params,
|
|
16899
|
-
post_params=form_params,
|
|
16900
|
-
files=local_var_files,
|
|
16901
|
-
response_type='PlatformfinetuningjobResponse', # noqa: E501
|
|
16902
|
-
auth_settings=auth_settings,
|
|
16903
|
-
async_req=local_var_params.get('async_req'),
|
|
16904
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
16905
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
16906
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
16907
|
-
collection_formats=collection_formats)
|
|
16908
|
-
|
|
16909
17056
|
def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
|
|
16910
17057
|
"""Get Instance Usage Budget # noqa: E501
|
|
16911
17058
|
|
|
@@ -23131,156 +23278,6 @@ class DefaultApi(object):
|
|
|
23131
23278
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
23132
23279
|
collection_formats=collection_formats)
|
|
23133
23280
|
|
|
23134
|
-
def get_session_event_log_api_v2_session_events_get(self, session_id, **kwargs): # noqa: E501
|
|
23135
|
-
"""Get Session Event Log # noqa: E501
|
|
23136
|
-
|
|
23137
|
-
Retrieves a session's event log. # noqa: E501
|
|
23138
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
23139
|
-
asynchronous HTTP request, please pass async_req=True
|
|
23140
|
-
>>> thread = api.get_session_event_log_api_v2_session_events_get(session_id, async_req=True)
|
|
23141
|
-
>>> result = thread.get()
|
|
23142
|
-
|
|
23143
|
-
:param async_req bool: execute request asynchronously
|
|
23144
|
-
:param str session_id: (required)
|
|
23145
|
-
:param datetime before:
|
|
23146
|
-
:param datetime after:
|
|
23147
|
-
:param list[SessionEventTypes] event_types:
|
|
23148
|
-
:param list[LogLevelTypes] log_level_types:
|
|
23149
|
-
:param str paging_token:
|
|
23150
|
-
:param int count:
|
|
23151
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
23152
|
-
be returned without reading/decoding response
|
|
23153
|
-
data. Default is True.
|
|
23154
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
23155
|
-
number provided, it will be total request
|
|
23156
|
-
timeout. It can also be a pair (tuple) of
|
|
23157
|
-
(connection, read) timeouts.
|
|
23158
|
-
:return: SessioneventListResponse
|
|
23159
|
-
If the method is called asynchronously,
|
|
23160
|
-
returns the request thread.
|
|
23161
|
-
"""
|
|
23162
|
-
kwargs['_return_http_data_only'] = True
|
|
23163
|
-
return self.get_session_event_log_api_v2_session_events_get_with_http_info(session_id, **kwargs) # noqa: E501
|
|
23164
|
-
|
|
23165
|
-
def get_session_event_log_api_v2_session_events_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
|
23166
|
-
"""Get Session Event Log # noqa: E501
|
|
23167
|
-
|
|
23168
|
-
Retrieves a session's event log. # noqa: E501
|
|
23169
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
23170
|
-
asynchronous HTTP request, please pass async_req=True
|
|
23171
|
-
>>> thread = api.get_session_event_log_api_v2_session_events_get_with_http_info(session_id, async_req=True)
|
|
23172
|
-
>>> result = thread.get()
|
|
23173
|
-
|
|
23174
|
-
:param async_req bool: execute request asynchronously
|
|
23175
|
-
:param str session_id: (required)
|
|
23176
|
-
:param datetime before:
|
|
23177
|
-
:param datetime after:
|
|
23178
|
-
:param list[SessionEventTypes] event_types:
|
|
23179
|
-
:param list[LogLevelTypes] log_level_types:
|
|
23180
|
-
:param str paging_token:
|
|
23181
|
-
:param int count:
|
|
23182
|
-
:param _return_http_data_only: response data without head status code
|
|
23183
|
-
and headers
|
|
23184
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
23185
|
-
be returned without reading/decoding response
|
|
23186
|
-
data. Default is True.
|
|
23187
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
23188
|
-
number provided, it will be total request
|
|
23189
|
-
timeout. It can also be a pair (tuple) of
|
|
23190
|
-
(connection, read) timeouts.
|
|
23191
|
-
:return: tuple(SessioneventListResponse, status_code(int), headers(HTTPHeaderDict))
|
|
23192
|
-
If the method is called asynchronously,
|
|
23193
|
-
returns the request thread.
|
|
23194
|
-
"""
|
|
23195
|
-
|
|
23196
|
-
local_var_params = locals()
|
|
23197
|
-
|
|
23198
|
-
all_params = [
|
|
23199
|
-
'session_id',
|
|
23200
|
-
'before',
|
|
23201
|
-
'after',
|
|
23202
|
-
'event_types',
|
|
23203
|
-
'log_level_types',
|
|
23204
|
-
'paging_token',
|
|
23205
|
-
'count'
|
|
23206
|
-
]
|
|
23207
|
-
all_params.extend(
|
|
23208
|
-
[
|
|
23209
|
-
'async_req',
|
|
23210
|
-
'_return_http_data_only',
|
|
23211
|
-
'_preload_content',
|
|
23212
|
-
'_request_timeout'
|
|
23213
|
-
]
|
|
23214
|
-
)
|
|
23215
|
-
|
|
23216
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
23217
|
-
if key not in all_params:
|
|
23218
|
-
raise ApiTypeError(
|
|
23219
|
-
"Got an unexpected keyword argument '%s'"
|
|
23220
|
-
" to method get_session_event_log_api_v2_session_events_get" % key
|
|
23221
|
-
)
|
|
23222
|
-
local_var_params[key] = val
|
|
23223
|
-
del local_var_params['kwargs']
|
|
23224
|
-
# verify the required parameter 'session_id' is set
|
|
23225
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
|
23226
|
-
local_var_params['session_id'] is None): # noqa: E501
|
|
23227
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_event_log_api_v2_session_events_get`") # noqa: E501
|
|
23228
|
-
|
|
23229
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
|
|
23230
|
-
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
|
|
23231
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
23232
|
-
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
|
|
23233
|
-
collection_formats = {}
|
|
23234
|
-
|
|
23235
|
-
path_params = {}
|
|
23236
|
-
|
|
23237
|
-
query_params = []
|
|
23238
|
-
if 'session_id' in local_var_params and local_var_params['session_id'] is not None: # noqa: E501
|
|
23239
|
-
query_params.append(('session_id', local_var_params['session_id'])) # noqa: E501
|
|
23240
|
-
if 'before' in local_var_params and local_var_params['before'] is not None: # noqa: E501
|
|
23241
|
-
query_params.append(('before', local_var_params['before'])) # noqa: E501
|
|
23242
|
-
if 'after' in local_var_params and local_var_params['after'] is not None: # noqa: E501
|
|
23243
|
-
query_params.append(('after', local_var_params['after'])) # noqa: E501
|
|
23244
|
-
if 'event_types' in local_var_params and local_var_params['event_types'] is not None: # noqa: E501
|
|
23245
|
-
query_params.append(('event_types', local_var_params['event_types'])) # noqa: E501
|
|
23246
|
-
collection_formats['event_types'] = 'multi' # noqa: E501
|
|
23247
|
-
if 'log_level_types' in local_var_params and local_var_params['log_level_types'] is not None: # noqa: E501
|
|
23248
|
-
query_params.append(('log_level_types', local_var_params['log_level_types'])) # noqa: E501
|
|
23249
|
-
collection_formats['log_level_types'] = 'multi' # noqa: E501
|
|
23250
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
23251
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
23252
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
23253
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
23254
|
-
|
|
23255
|
-
header_params = {}
|
|
23256
|
-
|
|
23257
|
-
form_params = []
|
|
23258
|
-
local_var_files = {}
|
|
23259
|
-
|
|
23260
|
-
body_params = None
|
|
23261
|
-
# HTTP header `Accept`
|
|
23262
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
23263
|
-
['application/json']) # noqa: E501
|
|
23264
|
-
|
|
23265
|
-
# Authentication setting
|
|
23266
|
-
auth_settings = [] # noqa: E501
|
|
23267
|
-
|
|
23268
|
-
return self.api_client.call_api(
|
|
23269
|
-
'/api/v2/session_events/', 'GET',
|
|
23270
|
-
path_params,
|
|
23271
|
-
query_params,
|
|
23272
|
-
header_params,
|
|
23273
|
-
body=body_params,
|
|
23274
|
-
post_params=form_params,
|
|
23275
|
-
files=local_var_files,
|
|
23276
|
-
response_type='SessioneventListResponse', # noqa: E501
|
|
23277
|
-
auth_settings=auth_settings,
|
|
23278
|
-
async_req=local_var_params.get('async_req'),
|
|
23279
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
23280
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
23281
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
23282
|
-
collection_formats=collection_formats)
|
|
23283
|
-
|
|
23284
23281
|
def get_session_head_ip_api_v2_sessions_session_id_head_ip_get(self, session_id, **kwargs): # noqa: E501
|
|
23285
23282
|
"""Get Session Head Ip # noqa: E501
|
|
23286
23283
|
|
|
@@ -28167,8 +28164,8 @@ class DefaultApi(object):
|
|
|
28167
28164
|
local_var_params[key] = val
|
|
28168
28165
|
del local_var_params['kwargs']
|
|
28169
28166
|
|
|
28170
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] >
|
|
28171
|
-
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
|
|
28172
28169
|
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
28173
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
|
|
28174
28171
|
collection_formats = {}
|
|
@@ -28652,133 +28649,6 @@ class DefaultApi(object):
|
|
|
28652
28649
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
28653
28650
|
collection_formats=collection_formats)
|
|
28654
28651
|
|
|
28655
|
-
def list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get(self, **kwargs): # noqa: E501
|
|
28656
|
-
"""List Fine Tuning Jobs # noqa: E501
|
|
28657
|
-
|
|
28658
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
28659
|
-
asynchronous HTTP request, please pass async_req=True
|
|
28660
|
-
>>> thread = api.list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get(async_req=True)
|
|
28661
|
-
>>> result = thread.get()
|
|
28662
|
-
|
|
28663
|
-
:param async_req bool: execute request asynchronously
|
|
28664
|
-
:param str ft_job_id_contains: id to filter by
|
|
28665
|
-
:param str creator_id: filter by creator id
|
|
28666
|
-
:param str paging_token:
|
|
28667
|
-
:param int count:
|
|
28668
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
28669
|
-
be returned without reading/decoding response
|
|
28670
|
-
data. Default is True.
|
|
28671
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
28672
|
-
number provided, it will be total request
|
|
28673
|
-
timeout. It can also be a pair (tuple) of
|
|
28674
|
-
(connection, read) timeouts.
|
|
28675
|
-
:return: PlatformfinetuningjobListResponse
|
|
28676
|
-
If the method is called asynchronously,
|
|
28677
|
-
returns the request thread.
|
|
28678
|
-
"""
|
|
28679
|
-
kwargs['_return_http_data_only'] = True
|
|
28680
|
-
return self.list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get_with_http_info(**kwargs) # noqa: E501
|
|
28681
|
-
|
|
28682
|
-
def list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get_with_http_info(self, **kwargs): # noqa: E501
|
|
28683
|
-
"""List Fine Tuning Jobs # noqa: E501
|
|
28684
|
-
|
|
28685
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
28686
|
-
asynchronous HTTP request, please pass async_req=True
|
|
28687
|
-
>>> thread = api.list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get_with_http_info(async_req=True)
|
|
28688
|
-
>>> result = thread.get()
|
|
28689
|
-
|
|
28690
|
-
:param async_req bool: execute request asynchronously
|
|
28691
|
-
:param str ft_job_id_contains: id to filter by
|
|
28692
|
-
:param str creator_id: filter by creator id
|
|
28693
|
-
:param str paging_token:
|
|
28694
|
-
:param int count:
|
|
28695
|
-
:param _return_http_data_only: response data without head status code
|
|
28696
|
-
and headers
|
|
28697
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
28698
|
-
be returned without reading/decoding response
|
|
28699
|
-
data. Default is True.
|
|
28700
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
28701
|
-
number provided, it will be total request
|
|
28702
|
-
timeout. It can also be a pair (tuple) of
|
|
28703
|
-
(connection, read) timeouts.
|
|
28704
|
-
:return: tuple(PlatformfinetuningjobListResponse, status_code(int), headers(HTTPHeaderDict))
|
|
28705
|
-
If the method is called asynchronously,
|
|
28706
|
-
returns the request thread.
|
|
28707
|
-
"""
|
|
28708
|
-
|
|
28709
|
-
local_var_params = locals()
|
|
28710
|
-
|
|
28711
|
-
all_params = [
|
|
28712
|
-
'ft_job_id_contains',
|
|
28713
|
-
'creator_id',
|
|
28714
|
-
'paging_token',
|
|
28715
|
-
'count'
|
|
28716
|
-
]
|
|
28717
|
-
all_params.extend(
|
|
28718
|
-
[
|
|
28719
|
-
'async_req',
|
|
28720
|
-
'_return_http_data_only',
|
|
28721
|
-
'_preload_content',
|
|
28722
|
-
'_request_timeout'
|
|
28723
|
-
]
|
|
28724
|
-
)
|
|
28725
|
-
|
|
28726
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
28727
|
-
if key not in all_params:
|
|
28728
|
-
raise ApiTypeError(
|
|
28729
|
-
"Got an unexpected keyword argument '%s'"
|
|
28730
|
-
" to method list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get" % key
|
|
28731
|
-
)
|
|
28732
|
-
local_var_params[key] = val
|
|
28733
|
-
del local_var_params['kwargs']
|
|
28734
|
-
|
|
28735
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
|
28736
|
-
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
|
|
28737
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
|
28738
|
-
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
|
|
28739
|
-
collection_formats = {}
|
|
28740
|
-
|
|
28741
|
-
path_params = {}
|
|
28742
|
-
|
|
28743
|
-
query_params = []
|
|
28744
|
-
if 'ft_job_id_contains' in local_var_params and local_var_params['ft_job_id_contains'] is not None: # noqa: E501
|
|
28745
|
-
query_params.append(('ft_job_id_contains', local_var_params['ft_job_id_contains'])) # noqa: E501
|
|
28746
|
-
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
|
28747
|
-
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
|
28748
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
28749
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
28750
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
28751
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
|
28752
|
-
|
|
28753
|
-
header_params = {}
|
|
28754
|
-
|
|
28755
|
-
form_params = []
|
|
28756
|
-
local_var_files = {}
|
|
28757
|
-
|
|
28758
|
-
body_params = None
|
|
28759
|
-
# HTTP header `Accept`
|
|
28760
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
28761
|
-
['application/json']) # noqa: E501
|
|
28762
|
-
|
|
28763
|
-
# Authentication setting
|
|
28764
|
-
auth_settings = [] # noqa: E501
|
|
28765
|
-
|
|
28766
|
-
return self.api_client.call_api(
|
|
28767
|
-
'/api/v2/fine_tuning/jobs', 'GET',
|
|
28768
|
-
path_params,
|
|
28769
|
-
query_params,
|
|
28770
|
-
header_params,
|
|
28771
|
-
body=body_params,
|
|
28772
|
-
post_params=form_params,
|
|
28773
|
-
files=local_var_files,
|
|
28774
|
-
response_type='PlatformfinetuningjobListResponse', # noqa: E501
|
|
28775
|
-
auth_settings=auth_settings,
|
|
28776
|
-
async_req=local_var_params.get('async_req'),
|
|
28777
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
28778
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
28779
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
28780
|
-
collection_formats=collection_formats)
|
|
28781
|
-
|
|
28782
28652
|
def list_instance_usage_budgets_api_v2_instance_usage_budgets_get(self, **kwargs): # noqa: E501
|
|
28783
28653
|
"""List Instance Usage Budgets # noqa: E501
|
|
28784
28654
|
|
|
@@ -28916,6 +28786,7 @@ class DefaultApi(object):
|
|
|
28916
28786
|
>>> result = thread.get()
|
|
28917
28787
|
|
|
28918
28788
|
:param async_req bool: execute request asynchronously
|
|
28789
|
+
:param str email:
|
|
28919
28790
|
:param str paging_token:
|
|
28920
28791
|
:param int count:
|
|
28921
28792
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -28942,6 +28813,7 @@ class DefaultApi(object):
|
|
|
28942
28813
|
>>> result = thread.get()
|
|
28943
28814
|
|
|
28944
28815
|
:param async_req bool: execute request asynchronously
|
|
28816
|
+
:param str email:
|
|
28945
28817
|
:param str paging_token:
|
|
28946
28818
|
:param int count:
|
|
28947
28819
|
:param _return_http_data_only: response data without head status code
|
|
@@ -28961,6 +28833,7 @@ class DefaultApi(object):
|
|
|
28961
28833
|
local_var_params = locals()
|
|
28962
28834
|
|
|
28963
28835
|
all_params = [
|
|
28836
|
+
'email',
|
|
28964
28837
|
'paging_token',
|
|
28965
28838
|
'count'
|
|
28966
28839
|
]
|
|
@@ -28991,6 +28864,8 @@ class DefaultApi(object):
|
|
|
28991
28864
|
path_params = {}
|
|
28992
28865
|
|
|
28993
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
|
|
28994
28869
|
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
|
28995
28870
|
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
|
28996
28871
|
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
|
@@ -34828,7 +34703,6 @@ class DefaultApi(object):
|
|
|
34828
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.
|
|
34829
34704
|
:param bool no_sso: If true, do not use SSO to log in.
|
|
34830
34705
|
:param bool force_send: If true, we always send a magic link. Even if there is only one org the user belongs to.
|
|
34831
|
-
:param bool is_oa: If true, we use to the OA registration flow, where self-service is enabled.
|
|
34832
34706
|
:param str invite_code:
|
|
34833
34707
|
:param UtmFields utm_fields:
|
|
34834
34708
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -34859,7 +34733,6 @@ class DefaultApi(object):
|
|
|
34859
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.
|
|
34860
34734
|
:param bool no_sso: If true, do not use SSO to log in.
|
|
34861
34735
|
:param bool force_send: If true, we always send a magic link. Even if there is only one org the user belongs to.
|
|
34862
|
-
:param bool is_oa: If true, we use to the OA registration flow, where self-service is enabled.
|
|
34863
34736
|
:param str invite_code:
|
|
34864
34737
|
:param UtmFields utm_fields:
|
|
34865
34738
|
:param _return_http_data_only: response data without head status code
|
|
@@ -34883,7 +34756,6 @@ class DefaultApi(object):
|
|
|
34883
34756
|
'redirect_to',
|
|
34884
34757
|
'no_sso',
|
|
34885
34758
|
'force_send',
|
|
34886
|
-
'is_oa',
|
|
34887
34759
|
'invite_code',
|
|
34888
34760
|
'utm_fields'
|
|
34889
34761
|
]
|
|
@@ -34922,8 +34794,6 @@ class DefaultApi(object):
|
|
|
34922
34794
|
query_params.append(('no_sso', local_var_params['no_sso'])) # noqa: E501
|
|
34923
34795
|
if 'force_send' in local_var_params and local_var_params['force_send'] is not None: # noqa: E501
|
|
34924
34796
|
query_params.append(('force_send', local_var_params['force_send'])) # noqa: E501
|
|
34925
|
-
if 'is_oa' in local_var_params and local_var_params['is_oa'] is not None: # noqa: E501
|
|
34926
|
-
query_params.append(('is_oa', local_var_params['is_oa'])) # noqa: E501
|
|
34927
34797
|
if 'invite_code' in local_var_params and local_var_params['invite_code'] is not None: # noqa: E501
|
|
34928
34798
|
query_params.append(('invite_code', local_var_params['invite_code'])) # noqa: E501
|
|
34929
34799
|
|
|
@@ -35317,122 +35187,6 @@ class DefaultApi(object):
|
|
|
35317
35187
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
35318
35188
|
collection_formats=collection_formats)
|
|
35319
35189
|
|
|
35320
|
-
def resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post(self, resubmit_ft_job_request, **kwargs): # noqa: E501
|
|
35321
|
-
"""Resubmit Fine Tuning Job # noqa: E501
|
|
35322
|
-
|
|
35323
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
35324
|
-
asynchronous HTTP request, please pass async_req=True
|
|
35325
|
-
>>> thread = api.resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post(resubmit_ft_job_request, async_req=True)
|
|
35326
|
-
>>> result = thread.get()
|
|
35327
|
-
|
|
35328
|
-
:param async_req bool: execute request asynchronously
|
|
35329
|
-
:param ResubmitFTJobRequest resubmit_ft_job_request: (required)
|
|
35330
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
35331
|
-
be returned without reading/decoding response
|
|
35332
|
-
data. Default is True.
|
|
35333
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
35334
|
-
number provided, it will be total request
|
|
35335
|
-
timeout. It can also be a pair (tuple) of
|
|
35336
|
-
(connection, read) timeouts.
|
|
35337
|
-
:return: object
|
|
35338
|
-
If the method is called asynchronously,
|
|
35339
|
-
returns the request thread.
|
|
35340
|
-
"""
|
|
35341
|
-
kwargs['_return_http_data_only'] = True
|
|
35342
|
-
return self.resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post_with_http_info(resubmit_ft_job_request, **kwargs) # noqa: E501
|
|
35343
|
-
|
|
35344
|
-
def resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post_with_http_info(self, resubmit_ft_job_request, **kwargs): # noqa: E501
|
|
35345
|
-
"""Resubmit Fine Tuning Job # noqa: E501
|
|
35346
|
-
|
|
35347
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
35348
|
-
asynchronous HTTP request, please pass async_req=True
|
|
35349
|
-
>>> thread = api.resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post_with_http_info(resubmit_ft_job_request, async_req=True)
|
|
35350
|
-
>>> result = thread.get()
|
|
35351
|
-
|
|
35352
|
-
:param async_req bool: execute request asynchronously
|
|
35353
|
-
:param ResubmitFTJobRequest resubmit_ft_job_request: (required)
|
|
35354
|
-
:param _return_http_data_only: response data without head status code
|
|
35355
|
-
and headers
|
|
35356
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
35357
|
-
be returned without reading/decoding response
|
|
35358
|
-
data. Default is True.
|
|
35359
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
35360
|
-
number provided, it will be total request
|
|
35361
|
-
timeout. It can also be a pair (tuple) of
|
|
35362
|
-
(connection, read) timeouts.
|
|
35363
|
-
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
35364
|
-
If the method is called asynchronously,
|
|
35365
|
-
returns the request thread.
|
|
35366
|
-
"""
|
|
35367
|
-
|
|
35368
|
-
local_var_params = locals()
|
|
35369
|
-
|
|
35370
|
-
all_params = [
|
|
35371
|
-
'resubmit_ft_job_request'
|
|
35372
|
-
]
|
|
35373
|
-
all_params.extend(
|
|
35374
|
-
[
|
|
35375
|
-
'async_req',
|
|
35376
|
-
'_return_http_data_only',
|
|
35377
|
-
'_preload_content',
|
|
35378
|
-
'_request_timeout'
|
|
35379
|
-
]
|
|
35380
|
-
)
|
|
35381
|
-
|
|
35382
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
35383
|
-
if key not in all_params:
|
|
35384
|
-
raise ApiTypeError(
|
|
35385
|
-
"Got an unexpected keyword argument '%s'"
|
|
35386
|
-
" to method resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post" % key
|
|
35387
|
-
)
|
|
35388
|
-
local_var_params[key] = val
|
|
35389
|
-
del local_var_params['kwargs']
|
|
35390
|
-
# verify the required parameter 'resubmit_ft_job_request' is set
|
|
35391
|
-
if self.api_client.client_side_validation and ('resubmit_ft_job_request' not in local_var_params or # noqa: E501
|
|
35392
|
-
local_var_params['resubmit_ft_job_request'] is None): # noqa: E501
|
|
35393
|
-
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
|
|
35394
|
-
|
|
35395
|
-
collection_formats = {}
|
|
35396
|
-
|
|
35397
|
-
path_params = {}
|
|
35398
|
-
|
|
35399
|
-
query_params = []
|
|
35400
|
-
|
|
35401
|
-
header_params = {}
|
|
35402
|
-
|
|
35403
|
-
form_params = []
|
|
35404
|
-
local_var_files = {}
|
|
35405
|
-
|
|
35406
|
-
body_params = None
|
|
35407
|
-
if 'resubmit_ft_job_request' in local_var_params:
|
|
35408
|
-
body_params = local_var_params['resubmit_ft_job_request']
|
|
35409
|
-
# HTTP header `Accept`
|
|
35410
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
35411
|
-
['application/json']) # noqa: E501
|
|
35412
|
-
|
|
35413
|
-
# HTTP header `Content-Type`
|
|
35414
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
35415
|
-
['application/json']) # noqa: E501
|
|
35416
|
-
|
|
35417
|
-
# Authentication setting
|
|
35418
|
-
auth_settings = [] # noqa: E501
|
|
35419
|
-
|
|
35420
|
-
return self.api_client.call_api(
|
|
35421
|
-
'/api/v2/fine_tuning/jobs/internal/resubmit', 'POST',
|
|
35422
|
-
path_params,
|
|
35423
|
-
query_params,
|
|
35424
|
-
header_params,
|
|
35425
|
-
body=body_params,
|
|
35426
|
-
post_params=form_params,
|
|
35427
|
-
files=local_var_files,
|
|
35428
|
-
response_type='object', # noqa: E501
|
|
35429
|
-
auth_settings=auth_settings,
|
|
35430
|
-
async_req=local_var_params.get('async_req'),
|
|
35431
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
35432
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
35433
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
35434
|
-
collection_formats=collection_formats)
|
|
35435
|
-
|
|
35436
35190
|
def rollback_service_api_v2_services_v2_service_id_rollback_post(self, service_id, **kwargs): # noqa: E501
|
|
35437
35191
|
"""Rollback Service # noqa: E501
|
|
35438
35192
|
|
|
@@ -36746,217 +36500,6 @@ class DefaultApi(object):
|
|
|
36746
36500
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
36747
36501
|
collection_formats=collection_formats)
|
|
36748
36502
|
|
|
36749
|
-
def set_organization_to_be_blocked_api_v2_organizations_block_post(self, **kwargs): # noqa: E501
|
|
36750
|
-
"""Set Organization To Be Blocked # noqa: E501
|
|
36751
|
-
|
|
36752
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36753
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36754
|
-
>>> thread = api.set_organization_to_be_blocked_api_v2_organizations_block_post(async_req=True)
|
|
36755
|
-
>>> result = thread.get()
|
|
36756
|
-
|
|
36757
|
-
:param async_req bool: execute request asynchronously
|
|
36758
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36759
|
-
be returned without reading/decoding response
|
|
36760
|
-
data. Default is True.
|
|
36761
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36762
|
-
number provided, it will be total request
|
|
36763
|
-
timeout. It can also be a pair (tuple) of
|
|
36764
|
-
(connection, read) timeouts.
|
|
36765
|
-
:return: None
|
|
36766
|
-
If the method is called asynchronously,
|
|
36767
|
-
returns the request thread.
|
|
36768
|
-
"""
|
|
36769
|
-
kwargs['_return_http_data_only'] = True
|
|
36770
|
-
return self.set_organization_to_be_blocked_api_v2_organizations_block_post_with_http_info(**kwargs) # noqa: E501
|
|
36771
|
-
|
|
36772
|
-
def set_organization_to_be_blocked_api_v2_organizations_block_post_with_http_info(self, **kwargs): # noqa: E501
|
|
36773
|
-
"""Set Organization To Be Blocked # noqa: E501
|
|
36774
|
-
|
|
36775
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36776
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36777
|
-
>>> thread = api.set_organization_to_be_blocked_api_v2_organizations_block_post_with_http_info(async_req=True)
|
|
36778
|
-
>>> result = thread.get()
|
|
36779
|
-
|
|
36780
|
-
:param async_req bool: execute request asynchronously
|
|
36781
|
-
:param _return_http_data_only: response data without head status code
|
|
36782
|
-
and headers
|
|
36783
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36784
|
-
be returned without reading/decoding response
|
|
36785
|
-
data. Default is True.
|
|
36786
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36787
|
-
number provided, it will be total request
|
|
36788
|
-
timeout. It can also be a pair (tuple) of
|
|
36789
|
-
(connection, read) timeouts.
|
|
36790
|
-
:return: None
|
|
36791
|
-
If the method is called asynchronously,
|
|
36792
|
-
returns the request thread.
|
|
36793
|
-
"""
|
|
36794
|
-
|
|
36795
|
-
local_var_params = locals()
|
|
36796
|
-
|
|
36797
|
-
all_params = [
|
|
36798
|
-
]
|
|
36799
|
-
all_params.extend(
|
|
36800
|
-
[
|
|
36801
|
-
'async_req',
|
|
36802
|
-
'_return_http_data_only',
|
|
36803
|
-
'_preload_content',
|
|
36804
|
-
'_request_timeout'
|
|
36805
|
-
]
|
|
36806
|
-
)
|
|
36807
|
-
|
|
36808
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
36809
|
-
if key not in all_params:
|
|
36810
|
-
raise ApiTypeError(
|
|
36811
|
-
"Got an unexpected keyword argument '%s'"
|
|
36812
|
-
" to method set_organization_to_be_blocked_api_v2_organizations_block_post" % key
|
|
36813
|
-
)
|
|
36814
|
-
local_var_params[key] = val
|
|
36815
|
-
del local_var_params['kwargs']
|
|
36816
|
-
|
|
36817
|
-
collection_formats = {}
|
|
36818
|
-
|
|
36819
|
-
path_params = {}
|
|
36820
|
-
|
|
36821
|
-
query_params = []
|
|
36822
|
-
|
|
36823
|
-
header_params = {}
|
|
36824
|
-
|
|
36825
|
-
form_params = []
|
|
36826
|
-
local_var_files = {}
|
|
36827
|
-
|
|
36828
|
-
body_params = None
|
|
36829
|
-
# Authentication setting
|
|
36830
|
-
auth_settings = [] # noqa: E501
|
|
36831
|
-
|
|
36832
|
-
return self.api_client.call_api(
|
|
36833
|
-
'/api/v2/organizations/block', 'POST',
|
|
36834
|
-
path_params,
|
|
36835
|
-
query_params,
|
|
36836
|
-
header_params,
|
|
36837
|
-
body=body_params,
|
|
36838
|
-
post_params=form_params,
|
|
36839
|
-
files=local_var_files,
|
|
36840
|
-
response_type=None, # noqa: E501
|
|
36841
|
-
auth_settings=auth_settings,
|
|
36842
|
-
async_req=local_var_params.get('async_req'),
|
|
36843
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
36844
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
36845
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
36846
|
-
collection_formats=collection_formats)
|
|
36847
|
-
|
|
36848
|
-
def set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post(self, organization_id, **kwargs): # noqa: E501
|
|
36849
|
-
"""Set Organization To Be Unblocked # noqa: E501
|
|
36850
|
-
|
|
36851
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36852
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36853
|
-
>>> thread = api.set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post(organization_id, async_req=True)
|
|
36854
|
-
>>> result = thread.get()
|
|
36855
|
-
|
|
36856
|
-
:param async_req bool: execute request asynchronously
|
|
36857
|
-
:param str organization_id: (required)
|
|
36858
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36859
|
-
be returned without reading/decoding response
|
|
36860
|
-
data. Default is True.
|
|
36861
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36862
|
-
number provided, it will be total request
|
|
36863
|
-
timeout. It can also be a pair (tuple) of
|
|
36864
|
-
(connection, read) timeouts.
|
|
36865
|
-
:return: object
|
|
36866
|
-
If the method is called asynchronously,
|
|
36867
|
-
returns the request thread.
|
|
36868
|
-
"""
|
|
36869
|
-
kwargs['_return_http_data_only'] = True
|
|
36870
|
-
return self.set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post_with_http_info(organization_id, **kwargs) # noqa: E501
|
|
36871
|
-
|
|
36872
|
-
def set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post_with_http_info(self, organization_id, **kwargs): # noqa: E501
|
|
36873
|
-
"""Set Organization To Be Unblocked # noqa: E501
|
|
36874
|
-
|
|
36875
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
36876
|
-
asynchronous HTTP request, please pass async_req=True
|
|
36877
|
-
>>> thread = api.set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post_with_http_info(organization_id, async_req=True)
|
|
36878
|
-
>>> result = thread.get()
|
|
36879
|
-
|
|
36880
|
-
:param async_req bool: execute request asynchronously
|
|
36881
|
-
:param str organization_id: (required)
|
|
36882
|
-
:param _return_http_data_only: response data without head status code
|
|
36883
|
-
and headers
|
|
36884
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
36885
|
-
be returned without reading/decoding response
|
|
36886
|
-
data. Default is True.
|
|
36887
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
36888
|
-
number provided, it will be total request
|
|
36889
|
-
timeout. It can also be a pair (tuple) of
|
|
36890
|
-
(connection, read) timeouts.
|
|
36891
|
-
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
36892
|
-
If the method is called asynchronously,
|
|
36893
|
-
returns the request thread.
|
|
36894
|
-
"""
|
|
36895
|
-
|
|
36896
|
-
local_var_params = locals()
|
|
36897
|
-
|
|
36898
|
-
all_params = [
|
|
36899
|
-
'organization_id'
|
|
36900
|
-
]
|
|
36901
|
-
all_params.extend(
|
|
36902
|
-
[
|
|
36903
|
-
'async_req',
|
|
36904
|
-
'_return_http_data_only',
|
|
36905
|
-
'_preload_content',
|
|
36906
|
-
'_request_timeout'
|
|
36907
|
-
]
|
|
36908
|
-
)
|
|
36909
|
-
|
|
36910
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
36911
|
-
if key not in all_params:
|
|
36912
|
-
raise ApiTypeError(
|
|
36913
|
-
"Got an unexpected keyword argument '%s'"
|
|
36914
|
-
" to method set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post" % key
|
|
36915
|
-
)
|
|
36916
|
-
local_var_params[key] = val
|
|
36917
|
-
del local_var_params['kwargs']
|
|
36918
|
-
# verify the required parameter 'organization_id' is set
|
|
36919
|
-
if self.api_client.client_side_validation and ('organization_id' not in local_var_params or # noqa: E501
|
|
36920
|
-
local_var_params['organization_id'] is None): # noqa: E501
|
|
36921
|
-
raise ApiValueError("Missing the required parameter `organization_id` when calling `set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post`") # noqa: E501
|
|
36922
|
-
|
|
36923
|
-
collection_formats = {}
|
|
36924
|
-
|
|
36925
|
-
path_params = {}
|
|
36926
|
-
if 'organization_id' in local_var_params:
|
|
36927
|
-
path_params['organization_id'] = local_var_params['organization_id'] # noqa: E501
|
|
36928
|
-
|
|
36929
|
-
query_params = []
|
|
36930
|
-
|
|
36931
|
-
header_params = {}
|
|
36932
|
-
|
|
36933
|
-
form_params = []
|
|
36934
|
-
local_var_files = {}
|
|
36935
|
-
|
|
36936
|
-
body_params = None
|
|
36937
|
-
# HTTP header `Accept`
|
|
36938
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
36939
|
-
['application/json']) # noqa: E501
|
|
36940
|
-
|
|
36941
|
-
# Authentication setting
|
|
36942
|
-
auth_settings = [] # noqa: E501
|
|
36943
|
-
|
|
36944
|
-
return self.api_client.call_api(
|
|
36945
|
-
'/api/v2/organizations/{organization_id}/unblock', 'POST',
|
|
36946
|
-
path_params,
|
|
36947
|
-
query_params,
|
|
36948
|
-
header_params,
|
|
36949
|
-
body=body_params,
|
|
36950
|
-
post_params=form_params,
|
|
36951
|
-
files=local_var_files,
|
|
36952
|
-
response_type='object', # noqa: E501
|
|
36953
|
-
auth_settings=auth_settings,
|
|
36954
|
-
async_req=local_var_params.get('async_req'),
|
|
36955
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
36956
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
|
36957
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
|
36958
|
-
collection_formats=collection_formats)
|
|
36959
|
-
|
|
36960
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
|
|
36961
36504
|
"""Set Resource Quota Status # noqa: E501
|
|
36962
36505
|
|
|
@@ -39318,6 +38861,140 @@ class DefaultApi(object):
|
|
|
39318
38861
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
39319
38862
|
collection_formats=collection_formats)
|
|
39320
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
|
+
|
|
39321
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
|
|
39322
38999
|
"""Update Cloud With Cloud Resource # noqa: E501
|
|
39323
39000
|
|