lightning-sdk 0.2.14__py3-none-any.whl → 0.2.16__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.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/base_studio_api.py +79 -0
- lightning_sdk/api/cluster_api.py +83 -1
- lightning_sdk/api/license_api.py +48 -0
- lightning_sdk/api/llm_api.py +73 -12
- lightning_sdk/api/studio_api.py +50 -1
- lightning_sdk/api/teamspace_api.py +127 -1
- lightning_sdk/api/utils.py +4 -0
- lightning_sdk/base_studio.py +83 -0
- lightning_sdk/cli/create.py +21 -1
- lightning_sdk/cli/delete.py +6 -8
- lightning_sdk/cli/deploy/__init__.py +0 -0
- lightning_sdk/cli/deploy/_auth.py +189 -0
- lightning_sdk/cli/deploy/devbox.py +157 -0
- lightning_sdk/cli/{serve.py → deploy/serve.py} +22 -281
- lightning_sdk/cli/download.py +69 -16
- lightning_sdk/cli/entrypoint.py +1 -1
- lightning_sdk/cli/open.py +21 -2
- lightning_sdk/cli/start.py +12 -3
- lightning_sdk/cli/teamspace_menu.py +9 -1
- lightning_sdk/cli/upload.py +2 -5
- lightning_sdk/lightning_cloud/openapi/__init__.py +29 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +121 -0
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +9 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +226 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +178 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +984 -101
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +525 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +93 -0
- lightning_sdk/lightning_cloud/openapi/configuration.py +1 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +28 -0
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/cloudspaces_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body1.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/models_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +183 -1
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/update.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +3 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_source_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +66 -66
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_tagging_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_upload.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_alerting_policy_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_event.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_frequency.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_operation.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_severity.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +111 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +4 -4
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_ge_list_deployment_routing_telemetry_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_open_ports_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_content_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_policies_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_product_licenses_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +43 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_modify_filesystem_volume_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +183 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_state.py +111 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_presigned_url.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license_check_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +43 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sleep_server_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_trigger_filesystem_upgrade_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +347 -113
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +27 -1
- lightning_sdk/lightning_cloud/rest_client.py +4 -0
- lightning_sdk/llm/llm.py +132 -40
- lightning_sdk/services/__init__.py +1 -1
- lightning_sdk/services/license.py +236 -0
- lightning_sdk/studio.py +62 -1
- lightning_sdk/teamspace.py +68 -0
- {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.16.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.16.dist-info}/RECORD +122 -86
- /lightning_sdk/services/{finetune/__init__.py → finetune_llm.py} +0 -0
- {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.16.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.16.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.16.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.16.dist-info}/top_level.txt +0 -0
|
@@ -249,6 +249,119 @@ class JobsServiceApi(object):
|
|
|
249
249
|
_request_timeout=params.get('_request_timeout'),
|
|
250
250
|
collection_formats=collection_formats)
|
|
251
251
|
|
|
252
|
+
def jobs_service_create_deployment_alerting_policy(self, body: 'DeploymentIdAlertingpoliciesBody1', project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1DeploymentAlertingPolicy': # noqa: E501
|
|
253
|
+
"""CreateDeploymentAlertingPolicy creates a policy to monitor potential issues with deployment # noqa: E501
|
|
254
|
+
|
|
255
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
256
|
+
asynchronous HTTP request, please pass async_req=True
|
|
257
|
+
>>> thread = api.jobs_service_create_deployment_alerting_policy(body, project_id, deployment_id, async_req=True)
|
|
258
|
+
>>> result = thread.get()
|
|
259
|
+
|
|
260
|
+
:param async_req bool
|
|
261
|
+
:param DeploymentIdAlertingpoliciesBody1 body: (required)
|
|
262
|
+
:param str project_id: (required)
|
|
263
|
+
:param str deployment_id: (required)
|
|
264
|
+
:return: V1DeploymentAlertingPolicy
|
|
265
|
+
If the method is called asynchronously,
|
|
266
|
+
returns the request thread.
|
|
267
|
+
"""
|
|
268
|
+
kwargs['_return_http_data_only'] = True
|
|
269
|
+
if kwargs.get('async_req'):
|
|
270
|
+
return self.jobs_service_create_deployment_alerting_policy_with_http_info(body, project_id, deployment_id, **kwargs) # noqa: E501
|
|
271
|
+
else:
|
|
272
|
+
(data) = self.jobs_service_create_deployment_alerting_policy_with_http_info(body, project_id, deployment_id, **kwargs) # noqa: E501
|
|
273
|
+
return data
|
|
274
|
+
|
|
275
|
+
def jobs_service_create_deployment_alerting_policy_with_http_info(self, body: 'DeploymentIdAlertingpoliciesBody1', project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1DeploymentAlertingPolicy': # noqa: E501
|
|
276
|
+
"""CreateDeploymentAlertingPolicy creates a policy to monitor potential issues with deployment # noqa: E501
|
|
277
|
+
|
|
278
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
279
|
+
asynchronous HTTP request, please pass async_req=True
|
|
280
|
+
>>> thread = api.jobs_service_create_deployment_alerting_policy_with_http_info(body, project_id, deployment_id, async_req=True)
|
|
281
|
+
>>> result = thread.get()
|
|
282
|
+
|
|
283
|
+
:param async_req bool
|
|
284
|
+
:param DeploymentIdAlertingpoliciesBody1 body: (required)
|
|
285
|
+
:param str project_id: (required)
|
|
286
|
+
:param str deployment_id: (required)
|
|
287
|
+
:return: V1DeploymentAlertingPolicy
|
|
288
|
+
If the method is called asynchronously,
|
|
289
|
+
returns the request thread.
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
all_params = ['body', 'project_id', 'deployment_id'] # noqa: E501
|
|
293
|
+
all_params.append('async_req')
|
|
294
|
+
all_params.append('_return_http_data_only')
|
|
295
|
+
all_params.append('_preload_content')
|
|
296
|
+
all_params.append('_request_timeout')
|
|
297
|
+
|
|
298
|
+
params = locals()
|
|
299
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
300
|
+
if key not in all_params:
|
|
301
|
+
raise TypeError(
|
|
302
|
+
"Got an unexpected keyword argument '%s'"
|
|
303
|
+
" to method jobs_service_create_deployment_alerting_policy" % key
|
|
304
|
+
)
|
|
305
|
+
params[key] = val
|
|
306
|
+
del params['kwargs']
|
|
307
|
+
# verify the required parameter 'body' is set
|
|
308
|
+
if ('body' not in params or
|
|
309
|
+
params['body'] is None):
|
|
310
|
+
raise ValueError("Missing the required parameter `body` when calling `jobs_service_create_deployment_alerting_policy`") # noqa: E501
|
|
311
|
+
# verify the required parameter 'project_id' is set
|
|
312
|
+
if ('project_id' not in params or
|
|
313
|
+
params['project_id'] is None):
|
|
314
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_create_deployment_alerting_policy`") # noqa: E501
|
|
315
|
+
# verify the required parameter 'deployment_id' is set
|
|
316
|
+
if ('deployment_id' not in params or
|
|
317
|
+
params['deployment_id'] is None):
|
|
318
|
+
raise ValueError("Missing the required parameter `deployment_id` when calling `jobs_service_create_deployment_alerting_policy`") # noqa: E501
|
|
319
|
+
|
|
320
|
+
collection_formats = {}
|
|
321
|
+
|
|
322
|
+
path_params = {}
|
|
323
|
+
if 'project_id' in params:
|
|
324
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
325
|
+
if 'deployment_id' in params:
|
|
326
|
+
path_params['deploymentId'] = params['deployment_id'] # noqa: E501
|
|
327
|
+
|
|
328
|
+
query_params = []
|
|
329
|
+
|
|
330
|
+
header_params = {}
|
|
331
|
+
|
|
332
|
+
form_params = []
|
|
333
|
+
local_var_files = {}
|
|
334
|
+
|
|
335
|
+
body_params = None
|
|
336
|
+
if 'body' in params:
|
|
337
|
+
body_params = params['body']
|
|
338
|
+
# HTTP header `Accept`
|
|
339
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
340
|
+
['application/json']) # noqa: E501
|
|
341
|
+
|
|
342
|
+
# HTTP header `Content-Type`
|
|
343
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
344
|
+
['application/json']) # noqa: E501
|
|
345
|
+
|
|
346
|
+
# Authentication setting
|
|
347
|
+
auth_settings = [] # noqa: E501
|
|
348
|
+
|
|
349
|
+
return self.api_client.call_api(
|
|
350
|
+
'/v1/projects/{projectId}/deployments/{deploymentId}/alerting-policies', 'POST',
|
|
351
|
+
path_params,
|
|
352
|
+
query_params,
|
|
353
|
+
header_params,
|
|
354
|
+
body=body_params,
|
|
355
|
+
post_params=form_params,
|
|
356
|
+
files=local_var_files,
|
|
357
|
+
response_type='V1DeploymentAlertingPolicy', # noqa: E501
|
|
358
|
+
auth_settings=auth_settings,
|
|
359
|
+
async_req=params.get('async_req'),
|
|
360
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
361
|
+
_preload_content=params.get('_preload_content', True),
|
|
362
|
+
_request_timeout=params.get('_request_timeout'),
|
|
363
|
+
collection_formats=collection_formats)
|
|
364
|
+
|
|
252
365
|
def jobs_service_create_job(self, body: 'ProjectIdJobsBody', project_id: 'str', **kwargs) -> 'V1Job': # noqa: E501
|
|
253
366
|
"""jobs_service_create_job # noqa: E501
|
|
254
367
|
|
|
@@ -564,6 +677,115 @@ class JobsServiceApi(object):
|
|
|
564
677
|
_request_timeout=params.get('_request_timeout'),
|
|
565
678
|
collection_formats=collection_formats)
|
|
566
679
|
|
|
680
|
+
def jobs_service_delete_deployment_alerting_policy(self, project_id: 'str', deployment_id: 'str', id: 'str', **kwargs) -> 'V1DeleteDeploymentAlertingPolicyResponse': # noqa: E501
|
|
681
|
+
"""jobs_service_delete_deployment_alerting_policy # noqa: E501
|
|
682
|
+
|
|
683
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
684
|
+
asynchronous HTTP request, please pass async_req=True
|
|
685
|
+
>>> thread = api.jobs_service_delete_deployment_alerting_policy(project_id, deployment_id, id, async_req=True)
|
|
686
|
+
>>> result = thread.get()
|
|
687
|
+
|
|
688
|
+
:param async_req bool
|
|
689
|
+
:param str project_id: (required)
|
|
690
|
+
:param str deployment_id: (required)
|
|
691
|
+
:param str id: (required)
|
|
692
|
+
:return: V1DeleteDeploymentAlertingPolicyResponse
|
|
693
|
+
If the method is called asynchronously,
|
|
694
|
+
returns the request thread.
|
|
695
|
+
"""
|
|
696
|
+
kwargs['_return_http_data_only'] = True
|
|
697
|
+
if kwargs.get('async_req'):
|
|
698
|
+
return self.jobs_service_delete_deployment_alerting_policy_with_http_info(project_id, deployment_id, id, **kwargs) # noqa: E501
|
|
699
|
+
else:
|
|
700
|
+
(data) = self.jobs_service_delete_deployment_alerting_policy_with_http_info(project_id, deployment_id, id, **kwargs) # noqa: E501
|
|
701
|
+
return data
|
|
702
|
+
|
|
703
|
+
def jobs_service_delete_deployment_alerting_policy_with_http_info(self, project_id: 'str', deployment_id: 'str', id: 'str', **kwargs) -> 'V1DeleteDeploymentAlertingPolicyResponse': # noqa: E501
|
|
704
|
+
"""jobs_service_delete_deployment_alerting_policy # noqa: E501
|
|
705
|
+
|
|
706
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
707
|
+
asynchronous HTTP request, please pass async_req=True
|
|
708
|
+
>>> thread = api.jobs_service_delete_deployment_alerting_policy_with_http_info(project_id, deployment_id, id, async_req=True)
|
|
709
|
+
>>> result = thread.get()
|
|
710
|
+
|
|
711
|
+
:param async_req bool
|
|
712
|
+
:param str project_id: (required)
|
|
713
|
+
:param str deployment_id: (required)
|
|
714
|
+
:param str id: (required)
|
|
715
|
+
:return: V1DeleteDeploymentAlertingPolicyResponse
|
|
716
|
+
If the method is called asynchronously,
|
|
717
|
+
returns the request thread.
|
|
718
|
+
"""
|
|
719
|
+
|
|
720
|
+
all_params = ['project_id', 'deployment_id', 'id'] # noqa: E501
|
|
721
|
+
all_params.append('async_req')
|
|
722
|
+
all_params.append('_return_http_data_only')
|
|
723
|
+
all_params.append('_preload_content')
|
|
724
|
+
all_params.append('_request_timeout')
|
|
725
|
+
|
|
726
|
+
params = locals()
|
|
727
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
728
|
+
if key not in all_params:
|
|
729
|
+
raise TypeError(
|
|
730
|
+
"Got an unexpected keyword argument '%s'"
|
|
731
|
+
" to method jobs_service_delete_deployment_alerting_policy" % key
|
|
732
|
+
)
|
|
733
|
+
params[key] = val
|
|
734
|
+
del params['kwargs']
|
|
735
|
+
# verify the required parameter 'project_id' is set
|
|
736
|
+
if ('project_id' not in params or
|
|
737
|
+
params['project_id'] is None):
|
|
738
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_delete_deployment_alerting_policy`") # noqa: E501
|
|
739
|
+
# verify the required parameter 'deployment_id' is set
|
|
740
|
+
if ('deployment_id' not in params or
|
|
741
|
+
params['deployment_id'] is None):
|
|
742
|
+
raise ValueError("Missing the required parameter `deployment_id` when calling `jobs_service_delete_deployment_alerting_policy`") # noqa: E501
|
|
743
|
+
# verify the required parameter 'id' is set
|
|
744
|
+
if ('id' not in params or
|
|
745
|
+
params['id'] is None):
|
|
746
|
+
raise ValueError("Missing the required parameter `id` when calling `jobs_service_delete_deployment_alerting_policy`") # noqa: E501
|
|
747
|
+
|
|
748
|
+
collection_formats = {}
|
|
749
|
+
|
|
750
|
+
path_params = {}
|
|
751
|
+
if 'project_id' in params:
|
|
752
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
753
|
+
if 'deployment_id' in params:
|
|
754
|
+
path_params['deploymentId'] = params['deployment_id'] # noqa: E501
|
|
755
|
+
if 'id' in params:
|
|
756
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
757
|
+
|
|
758
|
+
query_params = []
|
|
759
|
+
|
|
760
|
+
header_params = {}
|
|
761
|
+
|
|
762
|
+
form_params = []
|
|
763
|
+
local_var_files = {}
|
|
764
|
+
|
|
765
|
+
body_params = None
|
|
766
|
+
# HTTP header `Accept`
|
|
767
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
768
|
+
['application/json']) # noqa: E501
|
|
769
|
+
|
|
770
|
+
# Authentication setting
|
|
771
|
+
auth_settings = [] # noqa: E501
|
|
772
|
+
|
|
773
|
+
return self.api_client.call_api(
|
|
774
|
+
'/v1/projects/{projectId}/deployments/{deploymentId}/alerting-policies/{id}', 'DELETE',
|
|
775
|
+
path_params,
|
|
776
|
+
query_params,
|
|
777
|
+
header_params,
|
|
778
|
+
body=body_params,
|
|
779
|
+
post_params=form_params,
|
|
780
|
+
files=local_var_files,
|
|
781
|
+
response_type='V1DeleteDeploymentAlertingPolicyResponse', # noqa: E501
|
|
782
|
+
auth_settings=auth_settings,
|
|
783
|
+
async_req=params.get('async_req'),
|
|
784
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
785
|
+
_preload_content=params.get('_preload_content', True),
|
|
786
|
+
_request_timeout=params.get('_request_timeout'),
|
|
787
|
+
collection_formats=collection_formats)
|
|
788
|
+
|
|
567
789
|
def jobs_service_delete_deployment_release(self, project_id: 'str', deployment_id: 'str', id: 'str', **kwargs) -> 'V1DeleteDeploymentReleaseResponse': # noqa: E501
|
|
568
790
|
"""jobs_service_delete_deployment_release # noqa: E501
|
|
569
791
|
|
|
@@ -1745,47 +1967,47 @@ class JobsServiceApi(object):
|
|
|
1745
1967
|
_request_timeout=params.get('_request_timeout'),
|
|
1746
1968
|
collection_formats=collection_formats)
|
|
1747
1969
|
|
|
1748
|
-
def
|
|
1749
|
-
"""
|
|
1970
|
+
def jobs_service_get_deployment_routing_telemetry_content(self, project_id: 'str', id: 'str', **kwargs) -> 'V1GetDeploymentRoutingTelemetryContentResponse': # noqa: E501
|
|
1971
|
+
"""jobs_service_get_deployment_routing_telemetry_content # noqa: E501
|
|
1750
1972
|
|
|
1751
1973
|
This method makes a synchronous HTTP request by default. To make an
|
|
1752
1974
|
asynchronous HTTP request, please pass async_req=True
|
|
1753
|
-
>>> thread = api.
|
|
1975
|
+
>>> thread = api.jobs_service_get_deployment_routing_telemetry_content(project_id, id, async_req=True)
|
|
1754
1976
|
>>> result = thread.get()
|
|
1755
1977
|
|
|
1756
1978
|
:param async_req bool
|
|
1757
1979
|
:param str project_id: (required)
|
|
1758
1980
|
:param str id: (required)
|
|
1759
|
-
:param str
|
|
1760
|
-
:return:
|
|
1981
|
+
:param str request_id:
|
|
1982
|
+
:return: V1GetDeploymentRoutingTelemetryContentResponse
|
|
1761
1983
|
If the method is called asynchronously,
|
|
1762
1984
|
returns the request thread.
|
|
1763
1985
|
"""
|
|
1764
1986
|
kwargs['_return_http_data_only'] = True
|
|
1765
1987
|
if kwargs.get('async_req'):
|
|
1766
|
-
return self.
|
|
1988
|
+
return self.jobs_service_get_deployment_routing_telemetry_content_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1767
1989
|
else:
|
|
1768
|
-
(data) = self.
|
|
1990
|
+
(data) = self.jobs_service_get_deployment_routing_telemetry_content_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1769
1991
|
return data
|
|
1770
1992
|
|
|
1771
|
-
def
|
|
1772
|
-
"""
|
|
1993
|
+
def jobs_service_get_deployment_routing_telemetry_content_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1GetDeploymentRoutingTelemetryContentResponse': # noqa: E501
|
|
1994
|
+
"""jobs_service_get_deployment_routing_telemetry_content # noqa: E501
|
|
1773
1995
|
|
|
1774
1996
|
This method makes a synchronous HTTP request by default. To make an
|
|
1775
1997
|
asynchronous HTTP request, please pass async_req=True
|
|
1776
|
-
>>> thread = api.
|
|
1998
|
+
>>> thread = api.jobs_service_get_deployment_routing_telemetry_content_with_http_info(project_id, id, async_req=True)
|
|
1777
1999
|
>>> result = thread.get()
|
|
1778
2000
|
|
|
1779
2001
|
:param async_req bool
|
|
1780
2002
|
:param str project_id: (required)
|
|
1781
2003
|
:param str id: (required)
|
|
1782
|
-
:param str
|
|
1783
|
-
:return:
|
|
2004
|
+
:param str request_id:
|
|
2005
|
+
:return: V1GetDeploymentRoutingTelemetryContentResponse
|
|
1784
2006
|
If the method is called asynchronously,
|
|
1785
2007
|
returns the request thread.
|
|
1786
2008
|
"""
|
|
1787
2009
|
|
|
1788
|
-
all_params = ['project_id', 'id', '
|
|
2010
|
+
all_params = ['project_id', 'id', 'request_id'] # noqa: E501
|
|
1789
2011
|
all_params.append('async_req')
|
|
1790
2012
|
all_params.append('_return_http_data_only')
|
|
1791
2013
|
all_params.append('_preload_content')
|
|
@@ -1796,18 +2018,18 @@ class JobsServiceApi(object):
|
|
|
1796
2018
|
if key not in all_params:
|
|
1797
2019
|
raise TypeError(
|
|
1798
2020
|
"Got an unexpected keyword argument '%s'"
|
|
1799
|
-
" to method
|
|
2021
|
+
" to method jobs_service_get_deployment_routing_telemetry_content" % key
|
|
1800
2022
|
)
|
|
1801
2023
|
params[key] = val
|
|
1802
2024
|
del params['kwargs']
|
|
1803
2025
|
# verify the required parameter 'project_id' is set
|
|
1804
2026
|
if ('project_id' not in params or
|
|
1805
2027
|
params['project_id'] is None):
|
|
1806
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2028
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_get_deployment_routing_telemetry_content`") # noqa: E501
|
|
1807
2029
|
# verify the required parameter 'id' is set
|
|
1808
2030
|
if ('id' not in params or
|
|
1809
2031
|
params['id'] is None):
|
|
1810
|
-
raise ValueError("Missing the required parameter `id` when calling `
|
|
2032
|
+
raise ValueError("Missing the required parameter `id` when calling `jobs_service_get_deployment_routing_telemetry_content`") # noqa: E501
|
|
1811
2033
|
|
|
1812
2034
|
collection_formats = {}
|
|
1813
2035
|
|
|
@@ -1818,8 +2040,8 @@ class JobsServiceApi(object):
|
|
|
1818
2040
|
path_params['id'] = params['id'] # noqa: E501
|
|
1819
2041
|
|
|
1820
2042
|
query_params = []
|
|
1821
|
-
if '
|
|
1822
|
-
query_params.append(('
|
|
2043
|
+
if 'request_id' in params:
|
|
2044
|
+
query_params.append(('requestId', params['request_id'])) # noqa: E501
|
|
1823
2045
|
|
|
1824
2046
|
header_params = {}
|
|
1825
2047
|
|
|
@@ -1835,14 +2057,14 @@ class JobsServiceApi(object):
|
|
|
1835
2057
|
auth_settings = [] # noqa: E501
|
|
1836
2058
|
|
|
1837
2059
|
return self.api_client.call_api(
|
|
1838
|
-
'/v1/projects/{projectId}/
|
|
2060
|
+
'/v1/projects/{projectId}/deployments/{id}/routing-telemetry-content', 'GET',
|
|
1839
2061
|
path_params,
|
|
1840
2062
|
query_params,
|
|
1841
2063
|
header_params,
|
|
1842
2064
|
body=body_params,
|
|
1843
2065
|
post_params=form_params,
|
|
1844
2066
|
files=local_var_files,
|
|
1845
|
-
response_type='
|
|
2067
|
+
response_type='V1GetDeploymentRoutingTelemetryContentResponse', # noqa: E501
|
|
1846
2068
|
auth_settings=auth_settings,
|
|
1847
2069
|
async_req=params.get('async_req'),
|
|
1848
2070
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1850,47 +2072,45 @@ class JobsServiceApi(object):
|
|
|
1850
2072
|
_request_timeout=params.get('_request_timeout'),
|
|
1851
2073
|
collection_formats=collection_formats)
|
|
1852
2074
|
|
|
1853
|
-
def
|
|
1854
|
-
"""
|
|
2075
|
+
def jobs_service_get_deployment_status(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeploymentStatus': # noqa: E501
|
|
2076
|
+
"""jobs_service_get_deployment_status # noqa: E501
|
|
1855
2077
|
|
|
1856
2078
|
This method makes a synchronous HTTP request by default. To make an
|
|
1857
2079
|
asynchronous HTTP request, please pass async_req=True
|
|
1858
|
-
>>> thread = api.
|
|
2080
|
+
>>> thread = api.jobs_service_get_deployment_status(project_id, id, async_req=True)
|
|
1859
2081
|
>>> result = thread.get()
|
|
1860
2082
|
|
|
1861
2083
|
:param async_req bool
|
|
1862
|
-
:param str
|
|
1863
|
-
:param str
|
|
1864
|
-
:
|
|
1865
|
-
:return: V1Job
|
|
2084
|
+
:param str project_id: (required)
|
|
2085
|
+
:param str id: (required)
|
|
2086
|
+
:return: V1DeploymentStatus
|
|
1866
2087
|
If the method is called asynchronously,
|
|
1867
2088
|
returns the request thread.
|
|
1868
2089
|
"""
|
|
1869
2090
|
kwargs['_return_http_data_only'] = True
|
|
1870
2091
|
if kwargs.get('async_req'):
|
|
1871
|
-
return self.
|
|
2092
|
+
return self.jobs_service_get_deployment_status_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1872
2093
|
else:
|
|
1873
|
-
(data) = self.
|
|
2094
|
+
(data) = self.jobs_service_get_deployment_status_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1874
2095
|
return data
|
|
1875
2096
|
|
|
1876
|
-
def
|
|
1877
|
-
"""
|
|
2097
|
+
def jobs_service_get_deployment_status_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeploymentStatus': # noqa: E501
|
|
2098
|
+
"""jobs_service_get_deployment_status # noqa: E501
|
|
1878
2099
|
|
|
1879
2100
|
This method makes a synchronous HTTP request by default. To make an
|
|
1880
2101
|
asynchronous HTTP request, please pass async_req=True
|
|
1881
|
-
>>> thread = api.
|
|
2102
|
+
>>> thread = api.jobs_service_get_deployment_status_with_http_info(project_id, id, async_req=True)
|
|
1882
2103
|
>>> result = thread.get()
|
|
1883
2104
|
|
|
1884
2105
|
:param async_req bool
|
|
1885
|
-
:param str
|
|
1886
|
-
:param str
|
|
1887
|
-
:
|
|
1888
|
-
:return: V1Job
|
|
2106
|
+
:param str project_id: (required)
|
|
2107
|
+
:param str id: (required)
|
|
2108
|
+
:return: V1DeploymentStatus
|
|
1889
2109
|
If the method is called asynchronously,
|
|
1890
2110
|
returns the request thread.
|
|
1891
2111
|
"""
|
|
1892
2112
|
|
|
1893
|
-
all_params = ['
|
|
2113
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
1894
2114
|
all_params.append('async_req')
|
|
1895
2115
|
all_params.append('_return_http_data_only')
|
|
1896
2116
|
all_params.append('_preload_content')
|
|
@@ -1901,34 +2121,242 @@ class JobsServiceApi(object):
|
|
|
1901
2121
|
if key not in all_params:
|
|
1902
2122
|
raise TypeError(
|
|
1903
2123
|
"Got an unexpected keyword argument '%s'"
|
|
1904
|
-
" to method
|
|
2124
|
+
" to method jobs_service_get_deployment_status" % key
|
|
1905
2125
|
)
|
|
1906
2126
|
params[key] = val
|
|
1907
2127
|
del params['kwargs']
|
|
1908
|
-
# verify the required parameter '
|
|
1909
|
-
if ('
|
|
1910
|
-
params['
|
|
1911
|
-
raise ValueError("Missing the required parameter `
|
|
1912
|
-
# verify the required parameter '
|
|
1913
|
-
if ('
|
|
1914
|
-
params['
|
|
1915
|
-
raise ValueError("Missing the required parameter `
|
|
1916
|
-
# verify the required parameter 'job_name' is set
|
|
1917
|
-
if ('job_name' not in params or
|
|
1918
|
-
params['job_name'] is None):
|
|
1919
|
-
raise ValueError("Missing the required parameter `job_name` when calling `jobs_service_get_job_by_name`") # noqa: E501
|
|
2128
|
+
# verify the required parameter 'project_id' is set
|
|
2129
|
+
if ('project_id' not in params or
|
|
2130
|
+
params['project_id'] is None):
|
|
2131
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_get_deployment_status`") # noqa: E501
|
|
2132
|
+
# verify the required parameter 'id' is set
|
|
2133
|
+
if ('id' not in params or
|
|
2134
|
+
params['id'] is None):
|
|
2135
|
+
raise ValueError("Missing the required parameter `id` when calling `jobs_service_get_deployment_status`") # noqa: E501
|
|
1920
2136
|
|
|
1921
2137
|
collection_formats = {}
|
|
1922
2138
|
|
|
1923
2139
|
path_params = {}
|
|
1924
|
-
if '
|
|
1925
|
-
path_params['
|
|
1926
|
-
if '
|
|
1927
|
-
path_params['
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
2140
|
+
if 'project_id' in params:
|
|
2141
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2142
|
+
if 'id' in params:
|
|
2143
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2144
|
+
|
|
2145
|
+
query_params = []
|
|
2146
|
+
|
|
2147
|
+
header_params = {}
|
|
2148
|
+
|
|
2149
|
+
form_params = []
|
|
2150
|
+
local_var_files = {}
|
|
2151
|
+
|
|
2152
|
+
body_params = None
|
|
2153
|
+
# HTTP header `Accept`
|
|
2154
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2155
|
+
['application/json']) # noqa: E501
|
|
2156
|
+
|
|
2157
|
+
# Authentication setting
|
|
2158
|
+
auth_settings = [] # noqa: E501
|
|
2159
|
+
|
|
2160
|
+
return self.api_client.call_api(
|
|
2161
|
+
'/v1/projects/{projectId}/deployments/{id}/status', 'GET',
|
|
2162
|
+
path_params,
|
|
2163
|
+
query_params,
|
|
2164
|
+
header_params,
|
|
2165
|
+
body=body_params,
|
|
2166
|
+
post_params=form_params,
|
|
2167
|
+
files=local_var_files,
|
|
2168
|
+
response_type='V1DeploymentStatus', # noqa: E501
|
|
2169
|
+
auth_settings=auth_settings,
|
|
2170
|
+
async_req=params.get('async_req'),
|
|
2171
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2172
|
+
_preload_content=params.get('_preload_content', True),
|
|
2173
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2174
|
+
collection_formats=collection_formats)
|
|
2175
|
+
|
|
2176
|
+
def jobs_service_get_job(self, project_id: 'str', id: 'str', **kwargs) -> 'V1Job': # noqa: E501
|
|
2177
|
+
"""jobs_service_get_job # noqa: E501
|
|
2178
|
+
|
|
2179
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2180
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2181
|
+
>>> thread = api.jobs_service_get_job(project_id, id, async_req=True)
|
|
2182
|
+
>>> result = thread.get()
|
|
2183
|
+
|
|
2184
|
+
:param async_req bool
|
|
2185
|
+
:param str project_id: (required)
|
|
2186
|
+
:param str id: (required)
|
|
2187
|
+
:param str cloudspace_id:
|
|
2188
|
+
:return: V1Job
|
|
2189
|
+
If the method is called asynchronously,
|
|
2190
|
+
returns the request thread.
|
|
2191
|
+
"""
|
|
2192
|
+
kwargs['_return_http_data_only'] = True
|
|
2193
|
+
if kwargs.get('async_req'):
|
|
2194
|
+
return self.jobs_service_get_job_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
2195
|
+
else:
|
|
2196
|
+
(data) = self.jobs_service_get_job_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
2197
|
+
return data
|
|
2198
|
+
|
|
2199
|
+
def jobs_service_get_job_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1Job': # noqa: E501
|
|
2200
|
+
"""jobs_service_get_job # noqa: E501
|
|
2201
|
+
|
|
2202
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2203
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2204
|
+
>>> thread = api.jobs_service_get_job_with_http_info(project_id, id, async_req=True)
|
|
2205
|
+
>>> result = thread.get()
|
|
2206
|
+
|
|
2207
|
+
:param async_req bool
|
|
2208
|
+
:param str project_id: (required)
|
|
2209
|
+
:param str id: (required)
|
|
2210
|
+
:param str cloudspace_id:
|
|
2211
|
+
:return: V1Job
|
|
2212
|
+
If the method is called asynchronously,
|
|
2213
|
+
returns the request thread.
|
|
2214
|
+
"""
|
|
2215
|
+
|
|
2216
|
+
all_params = ['project_id', 'id', 'cloudspace_id'] # noqa: E501
|
|
2217
|
+
all_params.append('async_req')
|
|
2218
|
+
all_params.append('_return_http_data_only')
|
|
2219
|
+
all_params.append('_preload_content')
|
|
2220
|
+
all_params.append('_request_timeout')
|
|
2221
|
+
|
|
2222
|
+
params = locals()
|
|
2223
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2224
|
+
if key not in all_params:
|
|
2225
|
+
raise TypeError(
|
|
2226
|
+
"Got an unexpected keyword argument '%s'"
|
|
2227
|
+
" to method jobs_service_get_job" % key
|
|
2228
|
+
)
|
|
2229
|
+
params[key] = val
|
|
2230
|
+
del params['kwargs']
|
|
2231
|
+
# verify the required parameter 'project_id' is set
|
|
2232
|
+
if ('project_id' not in params or
|
|
2233
|
+
params['project_id'] is None):
|
|
2234
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_get_job`") # noqa: E501
|
|
2235
|
+
# verify the required parameter 'id' is set
|
|
2236
|
+
if ('id' not in params or
|
|
2237
|
+
params['id'] is None):
|
|
2238
|
+
raise ValueError("Missing the required parameter `id` when calling `jobs_service_get_job`") # noqa: E501
|
|
2239
|
+
|
|
2240
|
+
collection_formats = {}
|
|
2241
|
+
|
|
2242
|
+
path_params = {}
|
|
2243
|
+
if 'project_id' in params:
|
|
2244
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2245
|
+
if 'id' in params:
|
|
2246
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2247
|
+
|
|
2248
|
+
query_params = []
|
|
2249
|
+
if 'cloudspace_id' in params:
|
|
2250
|
+
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
2251
|
+
|
|
2252
|
+
header_params = {}
|
|
2253
|
+
|
|
2254
|
+
form_params = []
|
|
2255
|
+
local_var_files = {}
|
|
2256
|
+
|
|
2257
|
+
body_params = None
|
|
2258
|
+
# HTTP header `Accept`
|
|
2259
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2260
|
+
['application/json']) # noqa: E501
|
|
2261
|
+
|
|
2262
|
+
# Authentication setting
|
|
2263
|
+
auth_settings = [] # noqa: E501
|
|
2264
|
+
|
|
2265
|
+
return self.api_client.call_api(
|
|
2266
|
+
'/v1/projects/{projectId}/jobs/{id}', 'GET',
|
|
2267
|
+
path_params,
|
|
2268
|
+
query_params,
|
|
2269
|
+
header_params,
|
|
2270
|
+
body=body_params,
|
|
2271
|
+
post_params=form_params,
|
|
2272
|
+
files=local_var_files,
|
|
2273
|
+
response_type='V1Job', # noqa: E501
|
|
2274
|
+
auth_settings=auth_settings,
|
|
2275
|
+
async_req=params.get('async_req'),
|
|
2276
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2277
|
+
_preload_content=params.get('_preload_content', True),
|
|
2278
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2279
|
+
collection_formats=collection_formats)
|
|
2280
|
+
|
|
2281
|
+
def jobs_service_get_job_by_name(self, project_owner_name: 'str', project_name: 'str', job_name: 'str', **kwargs) -> 'V1Job': # noqa: E501
|
|
2282
|
+
"""jobs_service_get_job_by_name # noqa: E501
|
|
2283
|
+
|
|
2284
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2285
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2286
|
+
>>> thread = api.jobs_service_get_job_by_name(project_owner_name, project_name, job_name, async_req=True)
|
|
2287
|
+
>>> result = thread.get()
|
|
2288
|
+
|
|
2289
|
+
:param async_req bool
|
|
2290
|
+
:param str project_owner_name: (required)
|
|
2291
|
+
:param str project_name: (required)
|
|
2292
|
+
:param str job_name: (required)
|
|
2293
|
+
:return: V1Job
|
|
2294
|
+
If the method is called asynchronously,
|
|
2295
|
+
returns the request thread.
|
|
2296
|
+
"""
|
|
2297
|
+
kwargs['_return_http_data_only'] = True
|
|
2298
|
+
if kwargs.get('async_req'):
|
|
2299
|
+
return self.jobs_service_get_job_by_name_with_http_info(project_owner_name, project_name, job_name, **kwargs) # noqa: E501
|
|
2300
|
+
else:
|
|
2301
|
+
(data) = self.jobs_service_get_job_by_name_with_http_info(project_owner_name, project_name, job_name, **kwargs) # noqa: E501
|
|
2302
|
+
return data
|
|
2303
|
+
|
|
2304
|
+
def jobs_service_get_job_by_name_with_http_info(self, project_owner_name: 'str', project_name: 'str', job_name: 'str', **kwargs) -> 'V1Job': # noqa: E501
|
|
2305
|
+
"""jobs_service_get_job_by_name # noqa: E501
|
|
2306
|
+
|
|
2307
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2308
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2309
|
+
>>> thread = api.jobs_service_get_job_by_name_with_http_info(project_owner_name, project_name, job_name, async_req=True)
|
|
2310
|
+
>>> result = thread.get()
|
|
2311
|
+
|
|
2312
|
+
:param async_req bool
|
|
2313
|
+
:param str project_owner_name: (required)
|
|
2314
|
+
:param str project_name: (required)
|
|
2315
|
+
:param str job_name: (required)
|
|
2316
|
+
:return: V1Job
|
|
2317
|
+
If the method is called asynchronously,
|
|
2318
|
+
returns the request thread.
|
|
2319
|
+
"""
|
|
2320
|
+
|
|
2321
|
+
all_params = ['project_owner_name', 'project_name', 'job_name'] # noqa: E501
|
|
2322
|
+
all_params.append('async_req')
|
|
2323
|
+
all_params.append('_return_http_data_only')
|
|
2324
|
+
all_params.append('_preload_content')
|
|
2325
|
+
all_params.append('_request_timeout')
|
|
2326
|
+
|
|
2327
|
+
params = locals()
|
|
2328
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2329
|
+
if key not in all_params:
|
|
2330
|
+
raise TypeError(
|
|
2331
|
+
"Got an unexpected keyword argument '%s'"
|
|
2332
|
+
" to method jobs_service_get_job_by_name" % key
|
|
2333
|
+
)
|
|
2334
|
+
params[key] = val
|
|
2335
|
+
del params['kwargs']
|
|
2336
|
+
# verify the required parameter 'project_owner_name' is set
|
|
2337
|
+
if ('project_owner_name' not in params or
|
|
2338
|
+
params['project_owner_name'] is None):
|
|
2339
|
+
raise ValueError("Missing the required parameter `project_owner_name` when calling `jobs_service_get_job_by_name`") # noqa: E501
|
|
2340
|
+
# verify the required parameter 'project_name' is set
|
|
2341
|
+
if ('project_name' not in params or
|
|
2342
|
+
params['project_name'] is None):
|
|
2343
|
+
raise ValueError("Missing the required parameter `project_name` when calling `jobs_service_get_job_by_name`") # noqa: E501
|
|
2344
|
+
# verify the required parameter 'job_name' is set
|
|
2345
|
+
if ('job_name' not in params or
|
|
2346
|
+
params['job_name'] is None):
|
|
2347
|
+
raise ValueError("Missing the required parameter `job_name` when calling `jobs_service_get_job_by_name`") # noqa: E501
|
|
2348
|
+
|
|
2349
|
+
collection_formats = {}
|
|
2350
|
+
|
|
2351
|
+
path_params = {}
|
|
2352
|
+
if 'project_owner_name' in params:
|
|
2353
|
+
path_params['projectOwnerName'] = params['project_owner_name'] # noqa: E501
|
|
2354
|
+
if 'project_name' in params:
|
|
2355
|
+
path_params['projectName'] = params['project_name'] # noqa: E501
|
|
2356
|
+
if 'job_name' in params:
|
|
2357
|
+
path_params['jobName'] = params['job_name'] # noqa: E501
|
|
2358
|
+
|
|
2359
|
+
query_params = []
|
|
1932
2360
|
|
|
1933
2361
|
header_params = {}
|
|
1934
2362
|
|
|
@@ -2091,6 +2519,7 @@ class JobsServiceApi(object):
|
|
|
2091
2519
|
:param async_req bool
|
|
2092
2520
|
:param str org_id:
|
|
2093
2521
|
:param str project_id:
|
|
2522
|
+
:param list[str] job_types:
|
|
2094
2523
|
:return: V1GetJobStatsResponse
|
|
2095
2524
|
If the method is called asynchronously,
|
|
2096
2525
|
returns the request thread.
|
|
@@ -2113,12 +2542,13 @@ class JobsServiceApi(object):
|
|
|
2113
2542
|
:param async_req bool
|
|
2114
2543
|
:param str org_id:
|
|
2115
2544
|
:param str project_id:
|
|
2545
|
+
:param list[str] job_types:
|
|
2116
2546
|
:return: V1GetJobStatsResponse
|
|
2117
2547
|
If the method is called asynchronously,
|
|
2118
2548
|
returns the request thread.
|
|
2119
2549
|
"""
|
|
2120
2550
|
|
|
2121
|
-
all_params = ['org_id', 'project_id'] # noqa: E501
|
|
2551
|
+
all_params = ['org_id', 'project_id', 'job_types'] # noqa: E501
|
|
2122
2552
|
all_params.append('async_req')
|
|
2123
2553
|
all_params.append('_return_http_data_only')
|
|
2124
2554
|
all_params.append('_preload_content')
|
|
@@ -2143,6 +2573,9 @@ class JobsServiceApi(object):
|
|
|
2143
2573
|
query_params.append(('orgId', params['org_id'])) # noqa: E501
|
|
2144
2574
|
if 'project_id' in params:
|
|
2145
2575
|
query_params.append(('projectId', params['project_id'])) # noqa: E501
|
|
2576
|
+
if 'job_types' in params:
|
|
2577
|
+
query_params.append(('jobTypes', params['job_types'])) # noqa: E501
|
|
2578
|
+
collection_formats['jobTypes'] = 'multi' # noqa: E501
|
|
2146
2579
|
|
|
2147
2580
|
header_params = {}
|
|
2148
2581
|
|
|
@@ -2316,28 +2749,230 @@ class JobsServiceApi(object):
|
|
|
2316
2749
|
"""
|
|
2317
2750
|
kwargs['_return_http_data_only'] = True
|
|
2318
2751
|
if kwargs.get('async_req'):
|
|
2319
|
-
return self.jobs_service_get_multi_machine_job_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
2752
|
+
return self.jobs_service_get_multi_machine_job_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
2753
|
+
else:
|
|
2754
|
+
(data) = self.jobs_service_get_multi_machine_job_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
2755
|
+
return data
|
|
2756
|
+
|
|
2757
|
+
def jobs_service_get_multi_machine_job_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1MultiMachineJob': # noqa: E501
|
|
2758
|
+
"""jobs_service_get_multi_machine_job # noqa: E501
|
|
2759
|
+
|
|
2760
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2761
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2762
|
+
>>> thread = api.jobs_service_get_multi_machine_job_with_http_info(project_id, id, async_req=True)
|
|
2763
|
+
>>> result = thread.get()
|
|
2764
|
+
|
|
2765
|
+
:param async_req bool
|
|
2766
|
+
:param str project_id: (required)
|
|
2767
|
+
:param str id: (required)
|
|
2768
|
+
:return: V1MultiMachineJob
|
|
2769
|
+
If the method is called asynchronously,
|
|
2770
|
+
returns the request thread.
|
|
2771
|
+
"""
|
|
2772
|
+
|
|
2773
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
2774
|
+
all_params.append('async_req')
|
|
2775
|
+
all_params.append('_return_http_data_only')
|
|
2776
|
+
all_params.append('_preload_content')
|
|
2777
|
+
all_params.append('_request_timeout')
|
|
2778
|
+
|
|
2779
|
+
params = locals()
|
|
2780
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2781
|
+
if key not in all_params:
|
|
2782
|
+
raise TypeError(
|
|
2783
|
+
"Got an unexpected keyword argument '%s'"
|
|
2784
|
+
" to method jobs_service_get_multi_machine_job" % key
|
|
2785
|
+
)
|
|
2786
|
+
params[key] = val
|
|
2787
|
+
del params['kwargs']
|
|
2788
|
+
# verify the required parameter 'project_id' is set
|
|
2789
|
+
if ('project_id' not in params or
|
|
2790
|
+
params['project_id'] is None):
|
|
2791
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_get_multi_machine_job`") # noqa: E501
|
|
2792
|
+
# verify the required parameter 'id' is set
|
|
2793
|
+
if ('id' not in params or
|
|
2794
|
+
params['id'] is None):
|
|
2795
|
+
raise ValueError("Missing the required parameter `id` when calling `jobs_service_get_multi_machine_job`") # noqa: E501
|
|
2796
|
+
|
|
2797
|
+
collection_formats = {}
|
|
2798
|
+
|
|
2799
|
+
path_params = {}
|
|
2800
|
+
if 'project_id' in params:
|
|
2801
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2802
|
+
if 'id' in params:
|
|
2803
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2804
|
+
|
|
2805
|
+
query_params = []
|
|
2806
|
+
|
|
2807
|
+
header_params = {}
|
|
2808
|
+
|
|
2809
|
+
form_params = []
|
|
2810
|
+
local_var_files = {}
|
|
2811
|
+
|
|
2812
|
+
body_params = None
|
|
2813
|
+
# HTTP header `Accept`
|
|
2814
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2815
|
+
['application/json']) # noqa: E501
|
|
2816
|
+
|
|
2817
|
+
# Authentication setting
|
|
2818
|
+
auth_settings = [] # noqa: E501
|
|
2819
|
+
|
|
2820
|
+
return self.api_client.call_api(
|
|
2821
|
+
'/v1/projects/{projectId}/multi-machine-jobs/{id}', 'GET',
|
|
2822
|
+
path_params,
|
|
2823
|
+
query_params,
|
|
2824
|
+
header_params,
|
|
2825
|
+
body=body_params,
|
|
2826
|
+
post_params=form_params,
|
|
2827
|
+
files=local_var_files,
|
|
2828
|
+
response_type='V1MultiMachineJob', # noqa: E501
|
|
2829
|
+
auth_settings=auth_settings,
|
|
2830
|
+
async_req=params.get('async_req'),
|
|
2831
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2832
|
+
_preload_content=params.get('_preload_content', True),
|
|
2833
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2834
|
+
collection_formats=collection_formats)
|
|
2835
|
+
|
|
2836
|
+
def jobs_service_get_multi_machine_job_by_name(self, project_id: 'str', name: 'str', **kwargs) -> 'V1MultiMachineJob': # noqa: E501
|
|
2837
|
+
"""jobs_service_get_multi_machine_job_by_name # noqa: E501
|
|
2838
|
+
|
|
2839
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2840
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2841
|
+
>>> thread = api.jobs_service_get_multi_machine_job_by_name(project_id, name, async_req=True)
|
|
2842
|
+
>>> result = thread.get()
|
|
2843
|
+
|
|
2844
|
+
:param async_req bool
|
|
2845
|
+
:param str project_id: (required)
|
|
2846
|
+
:param str name: (required)
|
|
2847
|
+
:return: V1MultiMachineJob
|
|
2848
|
+
If the method is called asynchronously,
|
|
2849
|
+
returns the request thread.
|
|
2850
|
+
"""
|
|
2851
|
+
kwargs['_return_http_data_only'] = True
|
|
2852
|
+
if kwargs.get('async_req'):
|
|
2853
|
+
return self.jobs_service_get_multi_machine_job_by_name_with_http_info(project_id, name, **kwargs) # noqa: E501
|
|
2854
|
+
else:
|
|
2855
|
+
(data) = self.jobs_service_get_multi_machine_job_by_name_with_http_info(project_id, name, **kwargs) # noqa: E501
|
|
2856
|
+
return data
|
|
2857
|
+
|
|
2858
|
+
def jobs_service_get_multi_machine_job_by_name_with_http_info(self, project_id: 'str', name: 'str', **kwargs) -> 'V1MultiMachineJob': # noqa: E501
|
|
2859
|
+
"""jobs_service_get_multi_machine_job_by_name # noqa: E501
|
|
2860
|
+
|
|
2861
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2862
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2863
|
+
>>> thread = api.jobs_service_get_multi_machine_job_by_name_with_http_info(project_id, name, async_req=True)
|
|
2864
|
+
>>> result = thread.get()
|
|
2865
|
+
|
|
2866
|
+
:param async_req bool
|
|
2867
|
+
:param str project_id: (required)
|
|
2868
|
+
:param str name: (required)
|
|
2869
|
+
:return: V1MultiMachineJob
|
|
2870
|
+
If the method is called asynchronously,
|
|
2871
|
+
returns the request thread.
|
|
2872
|
+
"""
|
|
2873
|
+
|
|
2874
|
+
all_params = ['project_id', 'name'] # noqa: E501
|
|
2875
|
+
all_params.append('async_req')
|
|
2876
|
+
all_params.append('_return_http_data_only')
|
|
2877
|
+
all_params.append('_preload_content')
|
|
2878
|
+
all_params.append('_request_timeout')
|
|
2879
|
+
|
|
2880
|
+
params = locals()
|
|
2881
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2882
|
+
if key not in all_params:
|
|
2883
|
+
raise TypeError(
|
|
2884
|
+
"Got an unexpected keyword argument '%s'"
|
|
2885
|
+
" to method jobs_service_get_multi_machine_job_by_name" % key
|
|
2886
|
+
)
|
|
2887
|
+
params[key] = val
|
|
2888
|
+
del params['kwargs']
|
|
2889
|
+
# verify the required parameter 'project_id' is set
|
|
2890
|
+
if ('project_id' not in params or
|
|
2891
|
+
params['project_id'] is None):
|
|
2892
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_get_multi_machine_job_by_name`") # noqa: E501
|
|
2893
|
+
# verify the required parameter 'name' is set
|
|
2894
|
+
if ('name' not in params or
|
|
2895
|
+
params['name'] is None):
|
|
2896
|
+
raise ValueError("Missing the required parameter `name` when calling `jobs_service_get_multi_machine_job_by_name`") # noqa: E501
|
|
2897
|
+
|
|
2898
|
+
collection_formats = {}
|
|
2899
|
+
|
|
2900
|
+
path_params = {}
|
|
2901
|
+
if 'project_id' in params:
|
|
2902
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2903
|
+
if 'name' in params:
|
|
2904
|
+
path_params['name'] = params['name'] # noqa: E501
|
|
2905
|
+
|
|
2906
|
+
query_params = []
|
|
2907
|
+
|
|
2908
|
+
header_params = {}
|
|
2909
|
+
|
|
2910
|
+
form_params = []
|
|
2911
|
+
local_var_files = {}
|
|
2912
|
+
|
|
2913
|
+
body_params = None
|
|
2914
|
+
# HTTP header `Accept`
|
|
2915
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2916
|
+
['application/json']) # noqa: E501
|
|
2917
|
+
|
|
2918
|
+
# Authentication setting
|
|
2919
|
+
auth_settings = [] # noqa: E501
|
|
2920
|
+
|
|
2921
|
+
return self.api_client.call_api(
|
|
2922
|
+
'/v1/projects/{projectId}/multi-machine-jobs/{name}/getbyname', 'GET',
|
|
2923
|
+
path_params,
|
|
2924
|
+
query_params,
|
|
2925
|
+
header_params,
|
|
2926
|
+
body=body_params,
|
|
2927
|
+
post_params=form_params,
|
|
2928
|
+
files=local_var_files,
|
|
2929
|
+
response_type='V1MultiMachineJob', # noqa: E501
|
|
2930
|
+
auth_settings=auth_settings,
|
|
2931
|
+
async_req=params.get('async_req'),
|
|
2932
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2933
|
+
_preload_content=params.get('_preload_content', True),
|
|
2934
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2935
|
+
collection_formats=collection_formats)
|
|
2936
|
+
|
|
2937
|
+
def jobs_service_list_deployment_alerting_events(self, project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1ListDeploymentAlertingEventsResponse': # noqa: E501
|
|
2938
|
+
"""ListDeploymentAlertingEvents lists the deployment alert events # noqa: E501
|
|
2939
|
+
|
|
2940
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2941
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2942
|
+
>>> thread = api.jobs_service_list_deployment_alerting_events(project_id, deployment_id, async_req=True)
|
|
2943
|
+
>>> result = thread.get()
|
|
2944
|
+
|
|
2945
|
+
:param async_req bool
|
|
2946
|
+
:param str project_id: (required)
|
|
2947
|
+
:param str deployment_id: (required)
|
|
2948
|
+
:return: V1ListDeploymentAlertingEventsResponse
|
|
2949
|
+
If the method is called asynchronously,
|
|
2950
|
+
returns the request thread.
|
|
2951
|
+
"""
|
|
2952
|
+
kwargs['_return_http_data_only'] = True
|
|
2953
|
+
if kwargs.get('async_req'):
|
|
2954
|
+
return self.jobs_service_list_deployment_alerting_events_with_http_info(project_id, deployment_id, **kwargs) # noqa: E501
|
|
2320
2955
|
else:
|
|
2321
|
-
(data) = self.
|
|
2956
|
+
(data) = self.jobs_service_list_deployment_alerting_events_with_http_info(project_id, deployment_id, **kwargs) # noqa: E501
|
|
2322
2957
|
return data
|
|
2323
2958
|
|
|
2324
|
-
def
|
|
2325
|
-
"""
|
|
2959
|
+
def jobs_service_list_deployment_alerting_events_with_http_info(self, project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1ListDeploymentAlertingEventsResponse': # noqa: E501
|
|
2960
|
+
"""ListDeploymentAlertingEvents lists the deployment alert events # noqa: E501
|
|
2326
2961
|
|
|
2327
2962
|
This method makes a synchronous HTTP request by default. To make an
|
|
2328
2963
|
asynchronous HTTP request, please pass async_req=True
|
|
2329
|
-
>>> thread = api.
|
|
2964
|
+
>>> thread = api.jobs_service_list_deployment_alerting_events_with_http_info(project_id, deployment_id, async_req=True)
|
|
2330
2965
|
>>> result = thread.get()
|
|
2331
2966
|
|
|
2332
2967
|
:param async_req bool
|
|
2333
2968
|
:param str project_id: (required)
|
|
2334
|
-
:param str
|
|
2335
|
-
:return:
|
|
2969
|
+
:param str deployment_id: (required)
|
|
2970
|
+
:return: V1ListDeploymentAlertingEventsResponse
|
|
2336
2971
|
If the method is called asynchronously,
|
|
2337
2972
|
returns the request thread.
|
|
2338
2973
|
"""
|
|
2339
2974
|
|
|
2340
|
-
all_params = ['project_id', '
|
|
2975
|
+
all_params = ['project_id', 'deployment_id'] # noqa: E501
|
|
2341
2976
|
all_params.append('async_req')
|
|
2342
2977
|
all_params.append('_return_http_data_only')
|
|
2343
2978
|
all_params.append('_preload_content')
|
|
@@ -2348,26 +2983,26 @@ class JobsServiceApi(object):
|
|
|
2348
2983
|
if key not in all_params:
|
|
2349
2984
|
raise TypeError(
|
|
2350
2985
|
"Got an unexpected keyword argument '%s'"
|
|
2351
|
-
" to method
|
|
2986
|
+
" to method jobs_service_list_deployment_alerting_events" % key
|
|
2352
2987
|
)
|
|
2353
2988
|
params[key] = val
|
|
2354
2989
|
del params['kwargs']
|
|
2355
2990
|
# verify the required parameter 'project_id' is set
|
|
2356
2991
|
if ('project_id' not in params or
|
|
2357
2992
|
params['project_id'] is None):
|
|
2358
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2359
|
-
# verify the required parameter '
|
|
2360
|
-
if ('
|
|
2361
|
-
params['
|
|
2362
|
-
raise ValueError("Missing the required parameter `
|
|
2993
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_list_deployment_alerting_events`") # noqa: E501
|
|
2994
|
+
# verify the required parameter 'deployment_id' is set
|
|
2995
|
+
if ('deployment_id' not in params or
|
|
2996
|
+
params['deployment_id'] is None):
|
|
2997
|
+
raise ValueError("Missing the required parameter `deployment_id` when calling `jobs_service_list_deployment_alerting_events`") # noqa: E501
|
|
2363
2998
|
|
|
2364
2999
|
collection_formats = {}
|
|
2365
3000
|
|
|
2366
3001
|
path_params = {}
|
|
2367
3002
|
if 'project_id' in params:
|
|
2368
3003
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2369
|
-
if '
|
|
2370
|
-
path_params['
|
|
3004
|
+
if 'deployment_id' in params:
|
|
3005
|
+
path_params['deploymentId'] = params['deployment_id'] # noqa: E501
|
|
2371
3006
|
|
|
2372
3007
|
query_params = []
|
|
2373
3008
|
|
|
@@ -2385,14 +3020,14 @@ class JobsServiceApi(object):
|
|
|
2385
3020
|
auth_settings = [] # noqa: E501
|
|
2386
3021
|
|
|
2387
3022
|
return self.api_client.call_api(
|
|
2388
|
-
'/v1/projects/{projectId}/
|
|
3023
|
+
'/v1/projects/{projectId}/deployments/{deploymentId}/alerting-events', 'GET',
|
|
2389
3024
|
path_params,
|
|
2390
3025
|
query_params,
|
|
2391
3026
|
header_params,
|
|
2392
3027
|
body=body_params,
|
|
2393
3028
|
post_params=form_params,
|
|
2394
3029
|
files=local_var_files,
|
|
2395
|
-
response_type='
|
|
3030
|
+
response_type='V1ListDeploymentAlertingEventsResponse', # noqa: E501
|
|
2396
3031
|
auth_settings=auth_settings,
|
|
2397
3032
|
async_req=params.get('async_req'),
|
|
2398
3033
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2400,45 +3035,45 @@ class JobsServiceApi(object):
|
|
|
2400
3035
|
_request_timeout=params.get('_request_timeout'),
|
|
2401
3036
|
collection_formats=collection_formats)
|
|
2402
3037
|
|
|
2403
|
-
def
|
|
2404
|
-
"""
|
|
3038
|
+
def jobs_service_list_deployment_alerting_policies(self, project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1ListDeploymentAlertingPoliciesResponse': # noqa: E501
|
|
3039
|
+
"""ListDeploymentAlertPolicies lists the deployment alert policies # noqa: E501
|
|
2405
3040
|
|
|
2406
3041
|
This method makes a synchronous HTTP request by default. To make an
|
|
2407
3042
|
asynchronous HTTP request, please pass async_req=True
|
|
2408
|
-
>>> thread = api.
|
|
3043
|
+
>>> thread = api.jobs_service_list_deployment_alerting_policies(project_id, deployment_id, async_req=True)
|
|
2409
3044
|
>>> result = thread.get()
|
|
2410
3045
|
|
|
2411
3046
|
:param async_req bool
|
|
2412
3047
|
:param str project_id: (required)
|
|
2413
|
-
:param str
|
|
2414
|
-
:return:
|
|
3048
|
+
:param str deployment_id: (required)
|
|
3049
|
+
:return: V1ListDeploymentAlertingPoliciesResponse
|
|
2415
3050
|
If the method is called asynchronously,
|
|
2416
3051
|
returns the request thread.
|
|
2417
3052
|
"""
|
|
2418
3053
|
kwargs['_return_http_data_only'] = True
|
|
2419
3054
|
if kwargs.get('async_req'):
|
|
2420
|
-
return self.
|
|
3055
|
+
return self.jobs_service_list_deployment_alerting_policies_with_http_info(project_id, deployment_id, **kwargs) # noqa: E501
|
|
2421
3056
|
else:
|
|
2422
|
-
(data) = self.
|
|
3057
|
+
(data) = self.jobs_service_list_deployment_alerting_policies_with_http_info(project_id, deployment_id, **kwargs) # noqa: E501
|
|
2423
3058
|
return data
|
|
2424
3059
|
|
|
2425
|
-
def
|
|
2426
|
-
"""
|
|
3060
|
+
def jobs_service_list_deployment_alerting_policies_with_http_info(self, project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1ListDeploymentAlertingPoliciesResponse': # noqa: E501
|
|
3061
|
+
"""ListDeploymentAlertPolicies lists the deployment alert policies # noqa: E501
|
|
2427
3062
|
|
|
2428
3063
|
This method makes a synchronous HTTP request by default. To make an
|
|
2429
3064
|
asynchronous HTTP request, please pass async_req=True
|
|
2430
|
-
>>> thread = api.
|
|
3065
|
+
>>> thread = api.jobs_service_list_deployment_alerting_policies_with_http_info(project_id, deployment_id, async_req=True)
|
|
2431
3066
|
>>> result = thread.get()
|
|
2432
3067
|
|
|
2433
3068
|
:param async_req bool
|
|
2434
3069
|
:param str project_id: (required)
|
|
2435
|
-
:param str
|
|
2436
|
-
:return:
|
|
3070
|
+
:param str deployment_id: (required)
|
|
3071
|
+
:return: V1ListDeploymentAlertingPoliciesResponse
|
|
2437
3072
|
If the method is called asynchronously,
|
|
2438
3073
|
returns the request thread.
|
|
2439
3074
|
"""
|
|
2440
3075
|
|
|
2441
|
-
all_params = ['project_id', '
|
|
3076
|
+
all_params = ['project_id', 'deployment_id'] # noqa: E501
|
|
2442
3077
|
all_params.append('async_req')
|
|
2443
3078
|
all_params.append('_return_http_data_only')
|
|
2444
3079
|
all_params.append('_preload_content')
|
|
@@ -2449,26 +3084,26 @@ class JobsServiceApi(object):
|
|
|
2449
3084
|
if key not in all_params:
|
|
2450
3085
|
raise TypeError(
|
|
2451
3086
|
"Got an unexpected keyword argument '%s'"
|
|
2452
|
-
" to method
|
|
3087
|
+
" to method jobs_service_list_deployment_alerting_policies" % key
|
|
2453
3088
|
)
|
|
2454
3089
|
params[key] = val
|
|
2455
3090
|
del params['kwargs']
|
|
2456
3091
|
# verify the required parameter 'project_id' is set
|
|
2457
3092
|
if ('project_id' not in params or
|
|
2458
3093
|
params['project_id'] is None):
|
|
2459
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2460
|
-
# verify the required parameter '
|
|
2461
|
-
if ('
|
|
2462
|
-
params['
|
|
2463
|
-
raise ValueError("Missing the required parameter `
|
|
3094
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_list_deployment_alerting_policies`") # noqa: E501
|
|
3095
|
+
# verify the required parameter 'deployment_id' is set
|
|
3096
|
+
if ('deployment_id' not in params or
|
|
3097
|
+
params['deployment_id'] is None):
|
|
3098
|
+
raise ValueError("Missing the required parameter `deployment_id` when calling `jobs_service_list_deployment_alerting_policies`") # noqa: E501
|
|
2464
3099
|
|
|
2465
3100
|
collection_formats = {}
|
|
2466
3101
|
|
|
2467
3102
|
path_params = {}
|
|
2468
3103
|
if 'project_id' in params:
|
|
2469
3104
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2470
|
-
if '
|
|
2471
|
-
path_params['
|
|
3105
|
+
if 'deployment_id' in params:
|
|
3106
|
+
path_params['deploymentId'] = params['deployment_id'] # noqa: E501
|
|
2472
3107
|
|
|
2473
3108
|
query_params = []
|
|
2474
3109
|
|
|
@@ -2486,14 +3121,14 @@ class JobsServiceApi(object):
|
|
|
2486
3121
|
auth_settings = [] # noqa: E501
|
|
2487
3122
|
|
|
2488
3123
|
return self.api_client.call_api(
|
|
2489
|
-
'/v1/projects/{projectId}/
|
|
3124
|
+
'/v1/projects/{projectId}/deployments/{deploymentId}/alerting-policies', 'GET',
|
|
2490
3125
|
path_params,
|
|
2491
3126
|
query_params,
|
|
2492
3127
|
header_params,
|
|
2493
3128
|
body=body_params,
|
|
2494
3129
|
post_params=form_params,
|
|
2495
3130
|
files=local_var_files,
|
|
2496
|
-
response_type='
|
|
3131
|
+
response_type='V1ListDeploymentAlertingPoliciesResponse', # noqa: E501
|
|
2497
3132
|
auth_settings=auth_settings,
|
|
2498
3133
|
async_req=params.get('async_req'),
|
|
2499
3134
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2715,6 +3350,133 @@ class JobsServiceApi(object):
|
|
|
2715
3350
|
_request_timeout=params.get('_request_timeout'),
|
|
2716
3351
|
collection_formats=collection_formats)
|
|
2717
3352
|
|
|
3353
|
+
def jobs_service_list_deployment_routing_telemetry(self, project_id: 'str', id: 'str', **kwargs) -> 'V1GeListDeploymentRoutingTelemetryResponse': # noqa: E501
|
|
3354
|
+
"""Deployment Telemetry aggregated to display global monitor metrics # noqa: E501
|
|
3355
|
+
|
|
3356
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3357
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3358
|
+
>>> thread = api.jobs_service_list_deployment_routing_telemetry(project_id, id, async_req=True)
|
|
3359
|
+
>>> result = thread.get()
|
|
3360
|
+
|
|
3361
|
+
:param async_req bool
|
|
3362
|
+
:param str project_id: (required)
|
|
3363
|
+
:param str id: (required)
|
|
3364
|
+
:param str last_request_id:
|
|
3365
|
+
:param datetime start:
|
|
3366
|
+
:param datetime end:
|
|
3367
|
+
:param list[str] path:
|
|
3368
|
+
:param list[int] status_code:
|
|
3369
|
+
:param int limit:
|
|
3370
|
+
:return: V1GeListDeploymentRoutingTelemetryResponse
|
|
3371
|
+
If the method is called asynchronously,
|
|
3372
|
+
returns the request thread.
|
|
3373
|
+
"""
|
|
3374
|
+
kwargs['_return_http_data_only'] = True
|
|
3375
|
+
if kwargs.get('async_req'):
|
|
3376
|
+
return self.jobs_service_list_deployment_routing_telemetry_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
3377
|
+
else:
|
|
3378
|
+
(data) = self.jobs_service_list_deployment_routing_telemetry_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
3379
|
+
return data
|
|
3380
|
+
|
|
3381
|
+
def jobs_service_list_deployment_routing_telemetry_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1GeListDeploymentRoutingTelemetryResponse': # noqa: E501
|
|
3382
|
+
"""Deployment Telemetry aggregated to display global monitor metrics # noqa: E501
|
|
3383
|
+
|
|
3384
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3385
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3386
|
+
>>> thread = api.jobs_service_list_deployment_routing_telemetry_with_http_info(project_id, id, async_req=True)
|
|
3387
|
+
>>> result = thread.get()
|
|
3388
|
+
|
|
3389
|
+
:param async_req bool
|
|
3390
|
+
:param str project_id: (required)
|
|
3391
|
+
:param str id: (required)
|
|
3392
|
+
:param str last_request_id:
|
|
3393
|
+
:param datetime start:
|
|
3394
|
+
:param datetime end:
|
|
3395
|
+
:param list[str] path:
|
|
3396
|
+
:param list[int] status_code:
|
|
3397
|
+
:param int limit:
|
|
3398
|
+
:return: V1GeListDeploymentRoutingTelemetryResponse
|
|
3399
|
+
If the method is called asynchronously,
|
|
3400
|
+
returns the request thread.
|
|
3401
|
+
"""
|
|
3402
|
+
|
|
3403
|
+
all_params = ['project_id', 'id', 'last_request_id', 'start', 'end', 'path', 'status_code', 'limit'] # noqa: E501
|
|
3404
|
+
all_params.append('async_req')
|
|
3405
|
+
all_params.append('_return_http_data_only')
|
|
3406
|
+
all_params.append('_preload_content')
|
|
3407
|
+
all_params.append('_request_timeout')
|
|
3408
|
+
|
|
3409
|
+
params = locals()
|
|
3410
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3411
|
+
if key not in all_params:
|
|
3412
|
+
raise TypeError(
|
|
3413
|
+
"Got an unexpected keyword argument '%s'"
|
|
3414
|
+
" to method jobs_service_list_deployment_routing_telemetry" % key
|
|
3415
|
+
)
|
|
3416
|
+
params[key] = val
|
|
3417
|
+
del params['kwargs']
|
|
3418
|
+
# verify the required parameter 'project_id' is set
|
|
3419
|
+
if ('project_id' not in params or
|
|
3420
|
+
params['project_id'] is None):
|
|
3421
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_list_deployment_routing_telemetry`") # noqa: E501
|
|
3422
|
+
# verify the required parameter 'id' is set
|
|
3423
|
+
if ('id' not in params or
|
|
3424
|
+
params['id'] is None):
|
|
3425
|
+
raise ValueError("Missing the required parameter `id` when calling `jobs_service_list_deployment_routing_telemetry`") # noqa: E501
|
|
3426
|
+
|
|
3427
|
+
collection_formats = {}
|
|
3428
|
+
|
|
3429
|
+
path_params = {}
|
|
3430
|
+
if 'project_id' in params:
|
|
3431
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
3432
|
+
if 'id' in params:
|
|
3433
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
3434
|
+
|
|
3435
|
+
query_params = []
|
|
3436
|
+
if 'last_request_id' in params:
|
|
3437
|
+
query_params.append(('lastRequestId', params['last_request_id'])) # noqa: E501
|
|
3438
|
+
if 'start' in params:
|
|
3439
|
+
query_params.append(('start', params['start'])) # noqa: E501
|
|
3440
|
+
if 'end' in params:
|
|
3441
|
+
query_params.append(('end', params['end'])) # noqa: E501
|
|
3442
|
+
if 'path' in params:
|
|
3443
|
+
query_params.append(('path', params['path'])) # noqa: E501
|
|
3444
|
+
collection_formats['path'] = 'multi' # noqa: E501
|
|
3445
|
+
if 'status_code' in params:
|
|
3446
|
+
query_params.append(('statusCode', params['status_code'])) # noqa: E501
|
|
3447
|
+
collection_formats['statusCode'] = 'multi' # noqa: E501
|
|
3448
|
+
if 'limit' in params:
|
|
3449
|
+
query_params.append(('limit', params['limit'])) # noqa: E501
|
|
3450
|
+
|
|
3451
|
+
header_params = {}
|
|
3452
|
+
|
|
3453
|
+
form_params = []
|
|
3454
|
+
local_var_files = {}
|
|
3455
|
+
|
|
3456
|
+
body_params = None
|
|
3457
|
+
# HTTP header `Accept`
|
|
3458
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3459
|
+
['application/json']) # noqa: E501
|
|
3460
|
+
|
|
3461
|
+
# Authentication setting
|
|
3462
|
+
auth_settings = [] # noqa: E501
|
|
3463
|
+
|
|
3464
|
+
return self.api_client.call_api(
|
|
3465
|
+
'/v1/projects/{projectId}/deployments/{id}/list-routing-telemetry', 'GET',
|
|
3466
|
+
path_params,
|
|
3467
|
+
query_params,
|
|
3468
|
+
header_params,
|
|
3469
|
+
body=body_params,
|
|
3470
|
+
post_params=form_params,
|
|
3471
|
+
files=local_var_files,
|
|
3472
|
+
response_type='V1GeListDeploymentRoutingTelemetryResponse', # noqa: E501
|
|
3473
|
+
auth_settings=auth_settings,
|
|
3474
|
+
async_req=params.get('async_req'),
|
|
3475
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3476
|
+
_preload_content=params.get('_preload_content', True),
|
|
3477
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3478
|
+
collection_formats=collection_formats)
|
|
3479
|
+
|
|
2718
3480
|
def jobs_service_list_deployments(self, project_id: 'str', **kwargs) -> 'V1ListDeploymentsResponse': # noqa: E501
|
|
2719
3481
|
"""jobs_service_list_deployments # noqa: E501
|
|
2720
3482
|
|
|
@@ -2836,9 +3598,11 @@ class JobsServiceApi(object):
|
|
|
2836
3598
|
:param str state:
|
|
2837
3599
|
:param list[str] job_types:
|
|
2838
3600
|
:param datetime end_time:
|
|
3601
|
+
:param str page_token:
|
|
2839
3602
|
:param int limit:
|
|
2840
3603
|
:param str cloudspace_id:
|
|
2841
3604
|
:param bool standalone: fields specific to deployments.
|
|
3605
|
+
:param str parent_pipeline_id: fields specific to pipelines.
|
|
2842
3606
|
:return: V1ListJobResourcesResponse
|
|
2843
3607
|
If the method is called asynchronously,
|
|
2844
3608
|
returns the request thread.
|
|
@@ -2865,15 +3629,17 @@ class JobsServiceApi(object):
|
|
|
2865
3629
|
:param str state:
|
|
2866
3630
|
:param list[str] job_types:
|
|
2867
3631
|
:param datetime end_time:
|
|
3632
|
+
:param str page_token:
|
|
2868
3633
|
:param int limit:
|
|
2869
3634
|
:param str cloudspace_id:
|
|
2870
3635
|
:param bool standalone: fields specific to deployments.
|
|
3636
|
+
:param str parent_pipeline_id: fields specific to pipelines.
|
|
2871
3637
|
:return: V1ListJobResourcesResponse
|
|
2872
3638
|
If the method is called asynchronously,
|
|
2873
3639
|
returns the request thread.
|
|
2874
3640
|
"""
|
|
2875
3641
|
|
|
2876
|
-
all_params = ['project_ids', 'user_ids', 'org_id', 'state', 'job_types', 'end_time', 'limit', 'cloudspace_id', 'standalone'] # noqa: E501
|
|
3642
|
+
all_params = ['project_ids', 'user_ids', 'org_id', 'state', 'job_types', 'end_time', 'page_token', 'limit', 'cloudspace_id', 'standalone', 'parent_pipeline_id'] # noqa: E501
|
|
2877
3643
|
all_params.append('async_req')
|
|
2878
3644
|
all_params.append('_return_http_data_only')
|
|
2879
3645
|
all_params.append('_preload_content')
|
|
@@ -2909,12 +3675,16 @@ class JobsServiceApi(object):
|
|
|
2909
3675
|
collection_formats['jobTypes'] = 'multi' # noqa: E501
|
|
2910
3676
|
if 'end_time' in params:
|
|
2911
3677
|
query_params.append(('endTime', params['end_time'])) # noqa: E501
|
|
3678
|
+
if 'page_token' in params:
|
|
3679
|
+
query_params.append(('pageToken', params['page_token'])) # noqa: E501
|
|
2912
3680
|
if 'limit' in params:
|
|
2913
3681
|
query_params.append(('limit', params['limit'])) # noqa: E501
|
|
2914
3682
|
if 'cloudspace_id' in params:
|
|
2915
3683
|
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
2916
3684
|
if 'standalone' in params:
|
|
2917
3685
|
query_params.append(('standalone', params['standalone'])) # noqa: E501
|
|
3686
|
+
if 'parent_pipeline_id' in params:
|
|
3687
|
+
query_params.append(('parentPipelineId', params['parent_pipeline_id'])) # noqa: E501
|
|
2918
3688
|
|
|
2919
3689
|
header_params = {}
|
|
2920
3690
|
|
|
@@ -3865,6 +4635,119 @@ class JobsServiceApi(object):
|
|
|
3865
4635
|
_request_timeout=params.get('_request_timeout'),
|
|
3866
4636
|
collection_formats=collection_formats)
|
|
3867
4637
|
|
|
4638
|
+
def jobs_service_update_deployment_alerting_policy(self, body: 'DeploymentIdAlertingpoliciesBody', project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1DeploymentAlertingPolicy': # noqa: E501
|
|
4639
|
+
"""jobs_service_update_deployment_alerting_policy # noqa: E501
|
|
4640
|
+
|
|
4641
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4642
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4643
|
+
>>> thread = api.jobs_service_update_deployment_alerting_policy(body, project_id, deployment_id, async_req=True)
|
|
4644
|
+
>>> result = thread.get()
|
|
4645
|
+
|
|
4646
|
+
:param async_req bool
|
|
4647
|
+
:param DeploymentIdAlertingpoliciesBody body: (required)
|
|
4648
|
+
:param str project_id: (required)
|
|
4649
|
+
:param str deployment_id: (required)
|
|
4650
|
+
:return: V1DeploymentAlertingPolicy
|
|
4651
|
+
If the method is called asynchronously,
|
|
4652
|
+
returns the request thread.
|
|
4653
|
+
"""
|
|
4654
|
+
kwargs['_return_http_data_only'] = True
|
|
4655
|
+
if kwargs.get('async_req'):
|
|
4656
|
+
return self.jobs_service_update_deployment_alerting_policy_with_http_info(body, project_id, deployment_id, **kwargs) # noqa: E501
|
|
4657
|
+
else:
|
|
4658
|
+
(data) = self.jobs_service_update_deployment_alerting_policy_with_http_info(body, project_id, deployment_id, **kwargs) # noqa: E501
|
|
4659
|
+
return data
|
|
4660
|
+
|
|
4661
|
+
def jobs_service_update_deployment_alerting_policy_with_http_info(self, body: 'DeploymentIdAlertingpoliciesBody', project_id: 'str', deployment_id: 'str', **kwargs) -> 'V1DeploymentAlertingPolicy': # noqa: E501
|
|
4662
|
+
"""jobs_service_update_deployment_alerting_policy # noqa: E501
|
|
4663
|
+
|
|
4664
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4665
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4666
|
+
>>> thread = api.jobs_service_update_deployment_alerting_policy_with_http_info(body, project_id, deployment_id, async_req=True)
|
|
4667
|
+
>>> result = thread.get()
|
|
4668
|
+
|
|
4669
|
+
:param async_req bool
|
|
4670
|
+
:param DeploymentIdAlertingpoliciesBody body: (required)
|
|
4671
|
+
:param str project_id: (required)
|
|
4672
|
+
:param str deployment_id: (required)
|
|
4673
|
+
:return: V1DeploymentAlertingPolicy
|
|
4674
|
+
If the method is called asynchronously,
|
|
4675
|
+
returns the request thread.
|
|
4676
|
+
"""
|
|
4677
|
+
|
|
4678
|
+
all_params = ['body', 'project_id', 'deployment_id'] # noqa: E501
|
|
4679
|
+
all_params.append('async_req')
|
|
4680
|
+
all_params.append('_return_http_data_only')
|
|
4681
|
+
all_params.append('_preload_content')
|
|
4682
|
+
all_params.append('_request_timeout')
|
|
4683
|
+
|
|
4684
|
+
params = locals()
|
|
4685
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
4686
|
+
if key not in all_params:
|
|
4687
|
+
raise TypeError(
|
|
4688
|
+
"Got an unexpected keyword argument '%s'"
|
|
4689
|
+
" to method jobs_service_update_deployment_alerting_policy" % key
|
|
4690
|
+
)
|
|
4691
|
+
params[key] = val
|
|
4692
|
+
del params['kwargs']
|
|
4693
|
+
# verify the required parameter 'body' is set
|
|
4694
|
+
if ('body' not in params or
|
|
4695
|
+
params['body'] is None):
|
|
4696
|
+
raise ValueError("Missing the required parameter `body` when calling `jobs_service_update_deployment_alerting_policy`") # noqa: E501
|
|
4697
|
+
# verify the required parameter 'project_id' is set
|
|
4698
|
+
if ('project_id' not in params or
|
|
4699
|
+
params['project_id'] is None):
|
|
4700
|
+
raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_update_deployment_alerting_policy`") # noqa: E501
|
|
4701
|
+
# verify the required parameter 'deployment_id' is set
|
|
4702
|
+
if ('deployment_id' not in params or
|
|
4703
|
+
params['deployment_id'] is None):
|
|
4704
|
+
raise ValueError("Missing the required parameter `deployment_id` when calling `jobs_service_update_deployment_alerting_policy`") # noqa: E501
|
|
4705
|
+
|
|
4706
|
+
collection_formats = {}
|
|
4707
|
+
|
|
4708
|
+
path_params = {}
|
|
4709
|
+
if 'project_id' in params:
|
|
4710
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
4711
|
+
if 'deployment_id' in params:
|
|
4712
|
+
path_params['deploymentId'] = params['deployment_id'] # noqa: E501
|
|
4713
|
+
|
|
4714
|
+
query_params = []
|
|
4715
|
+
|
|
4716
|
+
header_params = {}
|
|
4717
|
+
|
|
4718
|
+
form_params = []
|
|
4719
|
+
local_var_files = {}
|
|
4720
|
+
|
|
4721
|
+
body_params = None
|
|
4722
|
+
if 'body' in params:
|
|
4723
|
+
body_params = params['body']
|
|
4724
|
+
# HTTP header `Accept`
|
|
4725
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
4726
|
+
['application/json']) # noqa: E501
|
|
4727
|
+
|
|
4728
|
+
# HTTP header `Content-Type`
|
|
4729
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
4730
|
+
['application/json']) # noqa: E501
|
|
4731
|
+
|
|
4732
|
+
# Authentication setting
|
|
4733
|
+
auth_settings = [] # noqa: E501
|
|
4734
|
+
|
|
4735
|
+
return self.api_client.call_api(
|
|
4736
|
+
'/v1/projects/{projectId}/deployments/{deploymentId}/alerting-policies', 'PUT',
|
|
4737
|
+
path_params,
|
|
4738
|
+
query_params,
|
|
4739
|
+
header_params,
|
|
4740
|
+
body=body_params,
|
|
4741
|
+
post_params=form_params,
|
|
4742
|
+
files=local_var_files,
|
|
4743
|
+
response_type='V1DeploymentAlertingPolicy', # noqa: E501
|
|
4744
|
+
auth_settings=auth_settings,
|
|
4745
|
+
async_req=params.get('async_req'),
|
|
4746
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
4747
|
+
_preload_content=params.get('_preload_content', True),
|
|
4748
|
+
_request_timeout=params.get('_request_timeout'),
|
|
4749
|
+
collection_formats=collection_formats)
|
|
4750
|
+
|
|
3868
4751
|
def jobs_service_update_deployment_visibility(self, body: 'IdVisibilityBody', project_id: 'str', id: 'str', **kwargs) -> 'V1UpdateDeploymentVisibilityResponse': # noqa: E501
|
|
3869
4752
|
"""UpdateDeploymentVisibility updates the deployment visibility, mainly switch between public and private # noqa: E501
|
|
3870
4753
|
|