huaweicloudsdkeihealth 3.1.150__py2.py3-none-any.whl → 3.1.151__py2.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.
Files changed (55) hide show
  1. huaweicloudsdkeihealth/v1/__init__.py +46 -0
  2. huaweicloudsdkeihealth/v1/eihealth_async_client.py +1323 -48
  3. huaweicloudsdkeihealth/v1/eihealth_client.py +1323 -48
  4. huaweicloudsdkeihealth/v1/model/__init__.py +46 -0
  5. huaweicloudsdkeihealth/v1/model/agency_dto.py +231 -0
  6. huaweicloudsdkeihealth/v1/model/app_dto.py +492 -0
  7. huaweicloudsdkeihealth/v1/model/cce_cluster_rsp.py +260 -0
  8. huaweicloudsdkeihealth/v1/model/computing_cluster_rsp.py +463 -0
  9. huaweicloudsdkeihealth/v1/model/create_computing_cluster_req.py +114 -0
  10. huaweicloudsdkeihealth/v1/model/create_computing_cluster_request.py +111 -0
  11. huaweicloudsdkeihealth/v1/model/create_computing_cluster_response.py +116 -0
  12. huaweicloudsdkeihealth/v1/model/delete_computing_cluster_request.py +114 -0
  13. huaweicloudsdkeihealth/v1/model/delete_computing_cluster_response.py +85 -0
  14. huaweicloudsdkeihealth/v1/model/iam_role_dto.py +231 -0
  15. huaweicloudsdkeihealth/v1/model/initialize_platform_request.py +84 -0
  16. huaweicloudsdkeihealth/v1/model/initialize_platform_response.py +85 -0
  17. huaweicloudsdkeihealth/v1/model/install_step.py +169 -0
  18. huaweicloudsdkeihealth/v1/model/list_cce_cluster_request.py +84 -0
  19. huaweicloudsdkeihealth/v1/model/list_cce_cluster_response.py +145 -0
  20. huaweicloudsdkeihealth/v1/model/list_cluster_install_step_request.py +114 -0
  21. huaweicloudsdkeihealth/v1/model/list_cluster_install_step_response.py +145 -0
  22. huaweicloudsdkeihealth/v1/model/list_computing_cluster_request.py +144 -0
  23. huaweicloudsdkeihealth/v1/model/list_computing_cluster_response.py +145 -0
  24. huaweicloudsdkeihealth/v1/model/list_project_statistics_request.py +84 -0
  25. huaweicloudsdkeihealth/v1/model/list_project_statistics_response.py +145 -0
  26. huaweicloudsdkeihealth/v1/model/list_sfs_turbos_request.py +144 -0
  27. huaweicloudsdkeihealth/v1/model/list_sfs_turbos_response.py +145 -0
  28. huaweicloudsdkeihealth/v1/model/list_user_app_request.py +492 -0
  29. huaweicloudsdkeihealth/v1/model/list_user_app_response.py +145 -0
  30. huaweicloudsdkeihealth/v1/model/list_user_drug_job_request.py +492 -0
  31. huaweicloudsdkeihealth/v1/model/list_user_drug_job_response.py +145 -0
  32. huaweicloudsdkeihealth/v1/model/list_user_image_request.py +521 -0
  33. huaweicloudsdkeihealth/v1/model/list_user_image_response.py +145 -0
  34. huaweicloudsdkeihealth/v1/model/list_user_job_request.py +492 -0
  35. huaweicloudsdkeihealth/v1/model/list_user_job_response.py +203 -0
  36. huaweicloudsdkeihealth/v1/model/list_user_notebook_request.py +492 -0
  37. huaweicloudsdkeihealth/v1/model/list_user_notebook_response.py +145 -0
  38. huaweicloudsdkeihealth/v1/model/list_user_workflow_request.py +492 -0
  39. huaweicloudsdkeihealth/v1/model/list_user_workflow_response.py +145 -0
  40. huaweicloudsdkeihealth/v1/model/project_statistic.py +347 -0
  41. huaweicloudsdkeihealth/v1/model/sfs_turbo_rsp.py +231 -0
  42. huaweicloudsdkeihealth/v1/model/show_agency_request.py +84 -0
  43. huaweicloudsdkeihealth/v1/model/show_agency_response.py +174 -0
  44. huaweicloudsdkeihealth/v1/model/statistic_dto.py +144 -0
  45. huaweicloudsdkeihealth/v1/model/step_status.py +89 -0
  46. huaweicloudsdkeihealth/v1/model/update_agency_request.py +84 -0
  47. huaweicloudsdkeihealth/v1/model/update_agency_response.py +85 -0
  48. huaweicloudsdkeihealth/v1/model/update_top_project_req.py +114 -0
  49. huaweicloudsdkeihealth/v1/model/update_top_project_request.py +139 -0
  50. huaweicloudsdkeihealth/v1/model/update_top_project_response.py +85 -0
  51. {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/METADATA +2 -2
  52. {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/RECORD +55 -9
  53. {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/LICENSE +0 -0
  54. {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/WHEEL +0 -0
  55. {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/top_level.txt +0 -0
@@ -1836,6 +1836,71 @@ class EiHealthAsyncClient(Client):
1836
1836
 
1837
1837
  return http_info
1838
1838
 
1839
+ def create_computing_cluster_async(self, request):
1840
+ r"""绑定计算集群
1841
+
1842
+ 绑定计算集群。
1843
+
1844
+ Please refer to HUAWEI cloud API Explorer for details.
1845
+
1846
+
1847
+ :param request: Request instance for CreateComputingCluster
1848
+ :type request: :class:`huaweicloudsdkeihealth.v1.CreateComputingClusterRequest`
1849
+ :rtype: :class:`huaweicloudsdkeihealth.v1.CreateComputingClusterResponse`
1850
+ """
1851
+ http_info = self._create_computing_cluster_http_info(request)
1852
+ return self._call_api(**http_info)
1853
+
1854
+ def create_computing_cluster_async_invoker(self, request):
1855
+ http_info = self._create_computing_cluster_http_info(request)
1856
+ return AsyncInvoker(self, http_info)
1857
+
1858
+ def _create_computing_cluster_http_info(self, request):
1859
+ http_info = {
1860
+ "method": "POST",
1861
+ "resource_path": "/v1/{project_id}/system/computing-clusters",
1862
+ "request_type": request.__class__.__name__,
1863
+ "response_type": "CreateComputingClusterResponse"
1864
+ }
1865
+
1866
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1867
+
1868
+ cname = None
1869
+
1870
+ collection_formats = {}
1871
+
1872
+ path_params = {}
1873
+
1874
+ query_params = []
1875
+
1876
+ header_params = {}
1877
+
1878
+ form_params = {}
1879
+
1880
+ body = None
1881
+ if 'body' in local_var_params:
1882
+ body = local_var_params['body']
1883
+ if isinstance(request, SdkStreamRequest):
1884
+ body = request.get_file_stream()
1885
+
1886
+ response_headers = []
1887
+
1888
+ header_params['Content-Type'] = http_utils.select_header_content_type(
1889
+ ['application/json'])
1890
+
1891
+ auth_settings = []
1892
+
1893
+ http_info["cname"] = cname
1894
+ http_info["collection_formats"] = collection_formats
1895
+ http_info["path_params"] = path_params
1896
+ http_info["query_params"] = query_params
1897
+ http_info["header_params"] = header_params
1898
+ http_info["post_params"] = form_params
1899
+ http_info["body"] = body
1900
+ http_info["response_headers"] = response_headers
1901
+
1902
+ return http_info
1903
+
1839
1904
  def create_computing_resource_async(self, request):
1840
1905
  r"""购买计算资源
1841
1906
 
@@ -4100,6 +4165,71 @@ class EiHealthAsyncClient(Client):
4100
4165
 
4101
4166
  return http_info
4102
4167
 
4168
+ def delete_computing_cluster_async(self, request):
4169
+ r"""解绑计算集群
4170
+
4171
+ 解绑计算集群。
4172
+
4173
+ Please refer to HUAWEI cloud API Explorer for details.
4174
+
4175
+
4176
+ :param request: Request instance for DeleteComputingCluster
4177
+ :type request: :class:`huaweicloudsdkeihealth.v1.DeleteComputingClusterRequest`
4178
+ :rtype: :class:`huaweicloudsdkeihealth.v1.DeleteComputingClusterResponse`
4179
+ """
4180
+ http_info = self._delete_computing_cluster_http_info(request)
4181
+ return self._call_api(**http_info)
4182
+
4183
+ def delete_computing_cluster_async_invoker(self, request):
4184
+ http_info = self._delete_computing_cluster_http_info(request)
4185
+ return AsyncInvoker(self, http_info)
4186
+
4187
+ def _delete_computing_cluster_http_info(self, request):
4188
+ http_info = {
4189
+ "method": "DELETE",
4190
+ "resource_path": "/v1/{project_id}/system/computing-clusters/{cluster_id}",
4191
+ "request_type": request.__class__.__name__,
4192
+ "response_type": "DeleteComputingClusterResponse"
4193
+ }
4194
+
4195
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
4196
+
4197
+ cname = None
4198
+
4199
+ collection_formats = {}
4200
+
4201
+ path_params = {}
4202
+ if 'cluster_id' in local_var_params:
4203
+ path_params['cluster_id'] = local_var_params['cluster_id']
4204
+
4205
+ query_params = []
4206
+
4207
+ header_params = {}
4208
+
4209
+ form_params = {}
4210
+
4211
+ body = None
4212
+ if isinstance(request, SdkStreamRequest):
4213
+ body = request.get_file_stream()
4214
+
4215
+ response_headers = []
4216
+
4217
+ header_params['Content-Type'] = http_utils.select_header_content_type(
4218
+ ['application/json'])
4219
+
4220
+ auth_settings = []
4221
+
4222
+ http_info["cname"] = cname
4223
+ http_info["collection_formats"] = collection_formats
4224
+ http_info["path_params"] = path_params
4225
+ http_info["query_params"] = query_params
4226
+ http_info["header_params"] = header_params
4227
+ http_info["post_params"] = form_params
4228
+ http_info["body"] = body
4229
+ http_info["response_headers"] = response_headers
4230
+
4231
+ return http_info
4232
+
4103
4233
  def delete_computing_resource_async(self, request):
4104
4234
  r"""删除计算资源
4105
4235
 
@@ -6630,6 +6760,69 @@ class EiHealthAsyncClient(Client):
6630
6760
 
6631
6761
  return http_info
6632
6762
 
6763
+ def initialize_platform_async(self, request):
6764
+ r"""初始化平台
6765
+
6766
+ 初始化平台。
6767
+
6768
+ Please refer to HUAWEI cloud API Explorer for details.
6769
+
6770
+
6771
+ :param request: Request instance for InitializePlatform
6772
+ :type request: :class:`huaweicloudsdkeihealth.v1.InitializePlatformRequest`
6773
+ :rtype: :class:`huaweicloudsdkeihealth.v1.InitializePlatformResponse`
6774
+ """
6775
+ http_info = self._initialize_platform_http_info(request)
6776
+ return self._call_api(**http_info)
6777
+
6778
+ def initialize_platform_async_invoker(self, request):
6779
+ http_info = self._initialize_platform_http_info(request)
6780
+ return AsyncInvoker(self, http_info)
6781
+
6782
+ def _initialize_platform_http_info(self, request):
6783
+ http_info = {
6784
+ "method": "POST",
6785
+ "resource_path": "/v1/{project_id}/system/init",
6786
+ "request_type": request.__class__.__name__,
6787
+ "response_type": "InitializePlatformResponse"
6788
+ }
6789
+
6790
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
6791
+
6792
+ cname = None
6793
+
6794
+ collection_formats = {}
6795
+
6796
+ path_params = {}
6797
+
6798
+ query_params = []
6799
+
6800
+ header_params = {}
6801
+
6802
+ form_params = {}
6803
+
6804
+ body = None
6805
+ if isinstance(request, SdkStreamRequest):
6806
+ body = request.get_file_stream()
6807
+
6808
+ response_headers = []
6809
+
6810
+ header_params['Content-Type'] = http_utils.select_header_content_type(
6811
+ ['application/json'])
6812
+
6813
+ auth_settings = []
6814
+
6815
+ http_info["cname"] = cname
6816
+ http_info["collection_formats"] = collection_formats
6817
+ http_info["path_params"] = path_params
6818
+ http_info["query_params"] = query_params
6819
+ http_info["header_params"] = header_params
6820
+ http_info["post_params"] = form_params
6821
+ http_info["body"] = body
6822
+ http_info["response_headers"] = response_headers
6823
+
6824
+ return http_info
6825
+
6633
6826
  def list_app_async(self, request):
6634
6827
  r"""获取应用列表
6635
6828
 
@@ -7125,6 +7318,69 @@ class EiHealthAsyncClient(Client):
7125
7318
 
7126
7319
  return http_info
7127
7320
 
7321
+ def list_cce_cluster_async(self, request):
7322
+ r"""获取CCE集群列表
7323
+
7324
+ 获取CCE集群列表。
7325
+
7326
+ Please refer to HUAWEI cloud API Explorer for details.
7327
+
7328
+
7329
+ :param request: Request instance for ListCceCluster
7330
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListCceClusterRequest`
7331
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListCceClusterResponse`
7332
+ """
7333
+ http_info = self._list_cce_cluster_http_info(request)
7334
+ return self._call_api(**http_info)
7335
+
7336
+ def list_cce_cluster_async_invoker(self, request):
7337
+ http_info = self._list_cce_cluster_http_info(request)
7338
+ return AsyncInvoker(self, http_info)
7339
+
7340
+ def _list_cce_cluster_http_info(self, request):
7341
+ http_info = {
7342
+ "method": "GET",
7343
+ "resource_path": "/v1/{project_id}/system/cce-clusters",
7344
+ "request_type": request.__class__.__name__,
7345
+ "response_type": "ListCceClusterResponse"
7346
+ }
7347
+
7348
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
7349
+
7350
+ cname = None
7351
+
7352
+ collection_formats = {}
7353
+
7354
+ path_params = {}
7355
+
7356
+ query_params = []
7357
+
7358
+ header_params = {}
7359
+
7360
+ form_params = {}
7361
+
7362
+ body = None
7363
+ if isinstance(request, SdkStreamRequest):
7364
+ body = request.get_file_stream()
7365
+
7366
+ response_headers = []
7367
+
7368
+ header_params['Content-Type'] = http_utils.select_header_content_type(
7369
+ ['application/json'])
7370
+
7371
+ auth_settings = []
7372
+
7373
+ http_info["cname"] = cname
7374
+ http_info["collection_formats"] = collection_formats
7375
+ http_info["path_params"] = path_params
7376
+ http_info["query_params"] = query_params
7377
+ http_info["header_params"] = header_params
7378
+ http_info["post_params"] = form_params
7379
+ http_info["body"] = body
7380
+ http_info["response_headers"] = response_headers
7381
+
7382
+ return http_info
7383
+
7128
7384
  def list_checkpoint_async(self, request):
7129
7385
  r"""获取数据作业执行日志
7130
7386
 
@@ -7255,31 +7511,31 @@ class EiHealthAsyncClient(Client):
7255
7511
 
7256
7512
  return http_info
7257
7513
 
7258
- def list_computing_resource_flavors_async(self, request):
7259
- r"""查询计算资源规格
7514
+ def list_cluster_install_step_async(self, request):
7515
+ r"""查询指定集群安装步骤列表
7260
7516
 
7261
- 查询计算资源规格
7517
+ 查询指定集群安装步骤列表。
7262
7518
 
7263
7519
  Please refer to HUAWEI cloud API Explorer for details.
7264
7520
 
7265
7521
 
7266
- :param request: Request instance for ListComputingResourceFlavors
7267
- :type request: :class:`huaweicloudsdkeihealth.v1.ListComputingResourceFlavorsRequest`
7268
- :rtype: :class:`huaweicloudsdkeihealth.v1.ListComputingResourceFlavorsResponse`
7522
+ :param request: Request instance for ListClusterInstallStep
7523
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListClusterInstallStepRequest`
7524
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListClusterInstallStepResponse`
7269
7525
  """
7270
- http_info = self._list_computing_resource_flavors_http_info(request)
7526
+ http_info = self._list_cluster_install_step_http_info(request)
7271
7527
  return self._call_api(**http_info)
7272
7528
 
7273
- def list_computing_resource_flavors_async_invoker(self, request):
7274
- http_info = self._list_computing_resource_flavors_http_info(request)
7529
+ def list_cluster_install_step_async_invoker(self, request):
7530
+ http_info = self._list_cluster_install_step_http_info(request)
7275
7531
  return AsyncInvoker(self, http_info)
7276
7532
 
7277
- def _list_computing_resource_flavors_http_info(self, request):
7533
+ def _list_cluster_install_step_http_info(self, request):
7278
7534
  http_info = {
7279
7535
  "method": "GET",
7280
- "resource_path": "/v1/{project_id}/system/computing-resources/flavors",
7536
+ "resource_path": "/v1/{project_id}/system/computing-clusters/{cluster_id}/steps",
7281
7537
  "request_type": request.__class__.__name__,
7282
- "response_type": "ListComputingResourceFlavorsResponse"
7538
+ "response_type": "ListClusterInstallStepResponse"
7283
7539
  }
7284
7540
 
7285
7541
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -7289,10 +7545,10 @@ class EiHealthAsyncClient(Client):
7289
7545
  collection_formats = {}
7290
7546
 
7291
7547
  path_params = {}
7548
+ if 'cluster_id' in local_var_params:
7549
+ path_params['cluster_id'] = local_var_params['cluster_id']
7292
7550
 
7293
7551
  query_params = []
7294
- if 'availability_zone_id' in local_var_params:
7295
- query_params.append(('availability_zone_id', local_var_params['availability_zone_id']))
7296
7552
 
7297
7553
  header_params = {}
7298
7554
 
@@ -7320,31 +7576,31 @@ class EiHealthAsyncClient(Client):
7320
7576
 
7321
7577
  return http_info
7322
7578
 
7323
- def list_computing_resources_async(self, request):
7324
- r"""查询计算资源
7579
+ def list_computing_cluster_async(self, request):
7580
+ r"""获取计算集群列表
7325
7581
 
7326
- 查询计算资源
7582
+ 获取计算集群列表。
7327
7583
 
7328
7584
  Please refer to HUAWEI cloud API Explorer for details.
7329
7585
 
7330
7586
 
7331
- :param request: Request instance for ListComputingResources
7332
- :type request: :class:`huaweicloudsdkeihealth.v1.ListComputingResourcesRequest`
7333
- :rtype: :class:`huaweicloudsdkeihealth.v1.ListComputingResourcesResponse`
7587
+ :param request: Request instance for ListComputingCluster
7588
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListComputingClusterRequest`
7589
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListComputingClusterResponse`
7334
7590
  """
7335
- http_info = self._list_computing_resources_http_info(request)
7591
+ http_info = self._list_computing_cluster_http_info(request)
7336
7592
  return self._call_api(**http_info)
7337
7593
 
7338
- def list_computing_resources_async_invoker(self, request):
7339
- http_info = self._list_computing_resources_http_info(request)
7594
+ def list_computing_cluster_async_invoker(self, request):
7595
+ http_info = self._list_computing_cluster_http_info(request)
7340
7596
  return AsyncInvoker(self, http_info)
7341
7597
 
7342
- def _list_computing_resources_http_info(self, request):
7598
+ def _list_computing_cluster_http_info(self, request):
7343
7599
  http_info = {
7344
7600
  "method": "GET",
7345
- "resource_path": "/v1/{project_id}/system/computing-resources",
7601
+ "resource_path": "/v1/{project_id}/system/computing-clusters",
7346
7602
  "request_type": request.__class__.__name__,
7347
- "response_type": "ListComputingResourcesResponse"
7603
+ "response_type": "ListComputingClusterResponse"
7348
7604
  }
7349
7605
 
7350
7606
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -7356,6 +7612,10 @@ class EiHealthAsyncClient(Client):
7356
7612
  path_params = {}
7357
7613
 
7358
7614
  query_params = []
7615
+ if 'limit' in local_var_params:
7616
+ query_params.append(('limit', local_var_params['limit']))
7617
+ if 'offset' in local_var_params:
7618
+ query_params.append(('offset', local_var_params['offset']))
7359
7619
 
7360
7620
  header_params = {}
7361
7621
 
@@ -7383,26 +7643,154 @@ class EiHealthAsyncClient(Client):
7383
7643
 
7384
7644
  return http_info
7385
7645
 
7386
- def list_data_async(self, request):
7387
- r"""查询数据列表
7646
+ def list_computing_resource_flavors_async(self, request):
7647
+ r"""查询计算资源规格
7388
7648
 
7389
- 查询指定目录下的数据列表,如果不指定默认查询根目录
7649
+ 查询计算资源规格
7390
7650
 
7391
7651
  Please refer to HUAWEI cloud API Explorer for details.
7392
7652
 
7393
7653
 
7394
- :param request: Request instance for ListData
7395
- :type request: :class:`huaweicloudsdkeihealth.v1.ListDataRequest`
7396
- :rtype: :class:`huaweicloudsdkeihealth.v1.ListDataResponse`
7654
+ :param request: Request instance for ListComputingResourceFlavors
7655
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListComputingResourceFlavorsRequest`
7656
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListComputingResourceFlavorsResponse`
7397
7657
  """
7398
- http_info = self._list_data_http_info(request)
7658
+ http_info = self._list_computing_resource_flavors_http_info(request)
7399
7659
  return self._call_api(**http_info)
7400
7660
 
7401
- def list_data_async_invoker(self, request):
7402
- http_info = self._list_data_http_info(request)
7661
+ def list_computing_resource_flavors_async_invoker(self, request):
7662
+ http_info = self._list_computing_resource_flavors_http_info(request)
7403
7663
  return AsyncInvoker(self, http_info)
7404
7664
 
7405
- def _list_data_http_info(self, request):
7665
+ def _list_computing_resource_flavors_http_info(self, request):
7666
+ http_info = {
7667
+ "method": "GET",
7668
+ "resource_path": "/v1/{project_id}/system/computing-resources/flavors",
7669
+ "request_type": request.__class__.__name__,
7670
+ "response_type": "ListComputingResourceFlavorsResponse"
7671
+ }
7672
+
7673
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
7674
+
7675
+ cname = None
7676
+
7677
+ collection_formats = {}
7678
+
7679
+ path_params = {}
7680
+
7681
+ query_params = []
7682
+ if 'availability_zone_id' in local_var_params:
7683
+ query_params.append(('availability_zone_id', local_var_params['availability_zone_id']))
7684
+
7685
+ header_params = {}
7686
+
7687
+ form_params = {}
7688
+
7689
+ body = None
7690
+ if isinstance(request, SdkStreamRequest):
7691
+ body = request.get_file_stream()
7692
+
7693
+ response_headers = []
7694
+
7695
+ header_params['Content-Type'] = http_utils.select_header_content_type(
7696
+ ['application/json'])
7697
+
7698
+ auth_settings = []
7699
+
7700
+ http_info["cname"] = cname
7701
+ http_info["collection_formats"] = collection_formats
7702
+ http_info["path_params"] = path_params
7703
+ http_info["query_params"] = query_params
7704
+ http_info["header_params"] = header_params
7705
+ http_info["post_params"] = form_params
7706
+ http_info["body"] = body
7707
+ http_info["response_headers"] = response_headers
7708
+
7709
+ return http_info
7710
+
7711
+ def list_computing_resources_async(self, request):
7712
+ r"""查询计算资源
7713
+
7714
+ 查询计算资源
7715
+
7716
+ Please refer to HUAWEI cloud API Explorer for details.
7717
+
7718
+
7719
+ :param request: Request instance for ListComputingResources
7720
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListComputingResourcesRequest`
7721
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListComputingResourcesResponse`
7722
+ """
7723
+ http_info = self._list_computing_resources_http_info(request)
7724
+ return self._call_api(**http_info)
7725
+
7726
+ def list_computing_resources_async_invoker(self, request):
7727
+ http_info = self._list_computing_resources_http_info(request)
7728
+ return AsyncInvoker(self, http_info)
7729
+
7730
+ def _list_computing_resources_http_info(self, request):
7731
+ http_info = {
7732
+ "method": "GET",
7733
+ "resource_path": "/v1/{project_id}/system/computing-resources",
7734
+ "request_type": request.__class__.__name__,
7735
+ "response_type": "ListComputingResourcesResponse"
7736
+ }
7737
+
7738
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
7739
+
7740
+ cname = None
7741
+
7742
+ collection_formats = {}
7743
+
7744
+ path_params = {}
7745
+
7746
+ query_params = []
7747
+
7748
+ header_params = {}
7749
+
7750
+ form_params = {}
7751
+
7752
+ body = None
7753
+ if isinstance(request, SdkStreamRequest):
7754
+ body = request.get_file_stream()
7755
+
7756
+ response_headers = []
7757
+
7758
+ header_params['Content-Type'] = http_utils.select_header_content_type(
7759
+ ['application/json'])
7760
+
7761
+ auth_settings = []
7762
+
7763
+ http_info["cname"] = cname
7764
+ http_info["collection_formats"] = collection_formats
7765
+ http_info["path_params"] = path_params
7766
+ http_info["query_params"] = query_params
7767
+ http_info["header_params"] = header_params
7768
+ http_info["post_params"] = form_params
7769
+ http_info["body"] = body
7770
+ http_info["response_headers"] = response_headers
7771
+
7772
+ return http_info
7773
+
7774
+ def list_data_async(self, request):
7775
+ r"""查询数据列表
7776
+
7777
+ 查询指定目录下的数据列表,如果不指定默认查询根目录
7778
+
7779
+ Please refer to HUAWEI cloud API Explorer for details.
7780
+
7781
+
7782
+ :param request: Request instance for ListData
7783
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListDataRequest`
7784
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListDataResponse`
7785
+ """
7786
+ http_info = self._list_data_http_info(request)
7787
+ return self._call_api(**http_info)
7788
+
7789
+ def list_data_async_invoker(self, request):
7790
+ http_info = self._list_data_http_info(request)
7791
+ return AsyncInvoker(self, http_info)
7792
+
7793
+ def _list_data_http_info(self, request):
7406
7794
  http_info = {
7407
7795
  "method": "GET",
7408
7796
  "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/datas",
@@ -9508,6 +9896,69 @@ class EiHealthAsyncClient(Client):
9508
9896
 
9509
9897
  return http_info
9510
9898
 
9899
+ def list_project_statistics_async(self, request):
9900
+ r"""获取当前用户所属空间资源统计信息
9901
+
9902
+ 获取当前用户所属空间资源统计信息。
9903
+
9904
+ Please refer to HUAWEI cloud API Explorer for details.
9905
+
9906
+
9907
+ :param request: Request instance for ListProjectStatistics
9908
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListProjectStatisticsRequest`
9909
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListProjectStatisticsResponse`
9910
+ """
9911
+ http_info = self._list_project_statistics_http_info(request)
9912
+ return self._call_api(**http_info)
9913
+
9914
+ def list_project_statistics_async_invoker(self, request):
9915
+ http_info = self._list_project_statistics_http_info(request)
9916
+ return AsyncInvoker(self, http_info)
9917
+
9918
+ def _list_project_statistics_http_info(self, request):
9919
+ http_info = {
9920
+ "method": "GET",
9921
+ "resource_path": "/v1/{project_id}/eihealth-projects/statistics",
9922
+ "request_type": request.__class__.__name__,
9923
+ "response_type": "ListProjectStatisticsResponse"
9924
+ }
9925
+
9926
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
9927
+
9928
+ cname = None
9929
+
9930
+ collection_formats = {}
9931
+
9932
+ path_params = {}
9933
+
9934
+ query_params = []
9935
+
9936
+ header_params = {}
9937
+
9938
+ form_params = {}
9939
+
9940
+ body = None
9941
+ if isinstance(request, SdkStreamRequest):
9942
+ body = request.get_file_stream()
9943
+
9944
+ response_headers = []
9945
+
9946
+ header_params['Content-Type'] = http_utils.select_header_content_type(
9947
+ ['application/json'])
9948
+
9949
+ auth_settings = []
9950
+
9951
+ http_info["cname"] = cname
9952
+ http_info["collection_formats"] = collection_formats
9953
+ http_info["path_params"] = path_params
9954
+ http_info["query_params"] = query_params
9955
+ http_info["header_params"] = header_params
9956
+ http_info["post_params"] = form_params
9957
+ http_info["body"] = body
9958
+ http_info["response_headers"] = response_headers
9959
+
9960
+ return http_info
9961
+
9511
9962
  def list_property_async(self, request):
9512
9963
  r"""获取属性值列表
9513
9964
 
@@ -9764,6 +10215,73 @@ class EiHealthAsyncClient(Client):
9764
10215
 
9765
10216
  return http_info
9766
10217
 
10218
+ def list_sfs_turbos_async(self, request):
10219
+ r"""获取sfs-turbo资源列表
10220
+
10221
+ 获取sfs-turbo资源列表。
10222
+
10223
+ Please refer to HUAWEI cloud API Explorer for details.
10224
+
10225
+
10226
+ :param request: Request instance for ListSfsTurbos
10227
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListSfsTurbosRequest`
10228
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListSfsTurbosResponse`
10229
+ """
10230
+ http_info = self._list_sfs_turbos_http_info(request)
10231
+ return self._call_api(**http_info)
10232
+
10233
+ def list_sfs_turbos_async_invoker(self, request):
10234
+ http_info = self._list_sfs_turbos_http_info(request)
10235
+ return AsyncInvoker(self, http_info)
10236
+
10237
+ def _list_sfs_turbos_http_info(self, request):
10238
+ http_info = {
10239
+ "method": "GET",
10240
+ "resource_path": "/v1/{project_id}/system/sfs-turbos",
10241
+ "request_type": request.__class__.__name__,
10242
+ "response_type": "ListSfsTurbosResponse"
10243
+ }
10244
+
10245
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10246
+
10247
+ cname = None
10248
+
10249
+ collection_formats = {}
10250
+
10251
+ path_params = {}
10252
+
10253
+ query_params = []
10254
+ if 'limit' in local_var_params:
10255
+ query_params.append(('limit', local_var_params['limit']))
10256
+ if 'offset' in local_var_params:
10257
+ query_params.append(('offset', local_var_params['offset']))
10258
+
10259
+ header_params = {}
10260
+
10261
+ form_params = {}
10262
+
10263
+ body = None
10264
+ if isinstance(request, SdkStreamRequest):
10265
+ body = request.get_file_stream()
10266
+
10267
+ response_headers = []
10268
+
10269
+ header_params['Content-Type'] = http_utils.select_header_content_type(
10270
+ ['application/json'])
10271
+
10272
+ auth_settings = []
10273
+
10274
+ http_info["cname"] = cname
10275
+ http_info["collection_formats"] = collection_formats
10276
+ http_info["path_params"] = path_params
10277
+ http_info["query_params"] = query_params
10278
+ http_info["header_params"] = header_params
10279
+ http_info["post_params"] = form_params
10280
+ http_info["body"] = body
10281
+ http_info["response_headers"] = response_headers
10282
+
10283
+ return http_info
10284
+
9767
10285
  def list_star_async(self, request):
9768
10286
  r"""获取收藏资产列表
9769
10287
 
@@ -10085,31 +10603,472 @@ class EiHealthAsyncClient(Client):
10085
10603
 
10086
10604
  return http_info
10087
10605
 
10088
- def list_user_async(self, request):
10089
- r"""获取用户列表
10606
+ def list_user_async(self, request):
10607
+ r"""获取用户列表
10608
+
10609
+ 获取用户列表
10610
+
10611
+ Please refer to HUAWEI cloud API Explorer for details.
10612
+
10613
+
10614
+ :param request: Request instance for ListUser
10615
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListUserRequest`
10616
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserResponse`
10617
+ """
10618
+ http_info = self._list_user_http_info(request)
10619
+ return self._call_api(**http_info)
10620
+
10621
+ def list_user_async_invoker(self, request):
10622
+ http_info = self._list_user_http_info(request)
10623
+ return AsyncInvoker(self, http_info)
10624
+
10625
+ def _list_user_http_info(self, request):
10626
+ http_info = {
10627
+ "method": "GET",
10628
+ "resource_path": "/v1/{project_id}/users",
10629
+ "request_type": request.__class__.__name__,
10630
+ "response_type": "ListUserResponse"
10631
+ }
10632
+
10633
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10634
+
10635
+ cname = None
10636
+
10637
+ collection_formats = {}
10638
+
10639
+ path_params = {}
10640
+
10641
+ query_params = []
10642
+
10643
+ header_params = {}
10644
+
10645
+ form_params = {}
10646
+
10647
+ body = None
10648
+ if isinstance(request, SdkStreamRequest):
10649
+ body = request.get_file_stream()
10650
+
10651
+ response_headers = []
10652
+
10653
+ header_params['Content-Type'] = http_utils.select_header_content_type(
10654
+ ['application/json'])
10655
+
10656
+ auth_settings = []
10657
+
10658
+ http_info["cname"] = cname
10659
+ http_info["collection_formats"] = collection_formats
10660
+ http_info["path_params"] = path_params
10661
+ http_info["query_params"] = query_params
10662
+ http_info["header_params"] = header_params
10663
+ http_info["post_params"] = form_params
10664
+ http_info["body"] = body
10665
+ http_info["response_headers"] = response_headers
10666
+
10667
+ return http_info
10668
+
10669
+ def list_user_app_async(self, request):
10670
+ r"""获取用户所属空间的应用列表
10671
+
10672
+ 获取用户所属空间的应用列表。
10673
+
10674
+ Please refer to HUAWEI cloud API Explorer for details.
10675
+
10676
+
10677
+ :param request: Request instance for ListUserApp
10678
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListUserAppRequest`
10679
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserAppResponse`
10680
+ """
10681
+ http_info = self._list_user_app_http_info(request)
10682
+ return self._call_api(**http_info)
10683
+
10684
+ def list_user_app_async_invoker(self, request):
10685
+ http_info = self._list_user_app_http_info(request)
10686
+ return AsyncInvoker(self, http_info)
10687
+
10688
+ def _list_user_app_http_info(self, request):
10689
+ http_info = {
10690
+ "method": "GET",
10691
+ "resource_path": "/v1/{project_id}/eihealth-projects/apps",
10692
+ "request_type": request.__class__.__name__,
10693
+ "response_type": "ListUserAppResponse"
10694
+ }
10695
+
10696
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10697
+
10698
+ cname = None
10699
+
10700
+ collection_formats = {}
10701
+
10702
+ path_params = {}
10703
+
10704
+ query_params = []
10705
+ if 'is_creator' in local_var_params:
10706
+ query_params.append(('is_creator', local_var_params['is_creator']))
10707
+ if 'id' in local_var_params:
10708
+ query_params.append(('id', local_var_params['id']))
10709
+ if 'name' in local_var_params:
10710
+ query_params.append(('name', local_var_params['name']))
10711
+ if 'summary' in local_var_params:
10712
+ query_params.append(('summary', local_var_params['summary']))
10713
+ if 'eihealth_project_names' in local_var_params:
10714
+ query_params.append(('eihealth_project_names', local_var_params['eihealth_project_names']))
10715
+ collection_formats['eihealth_project_names'] = 'csv'
10716
+ if 'labels' in local_var_params:
10717
+ query_params.append(('labels', local_var_params['labels']))
10718
+ collection_formats['labels'] = 'csv'
10719
+ if 'start_create_time' in local_var_params:
10720
+ query_params.append(('start_create_time', local_var_params['start_create_time']))
10721
+ if 'end_create_time' in local_var_params:
10722
+ query_params.append(('end_create_time', local_var_params['end_create_time']))
10723
+ if 'start_update_time' in local_var_params:
10724
+ query_params.append(('start_update_time', local_var_params['start_update_time']))
10725
+ if 'end_update_time' in local_var_params:
10726
+ query_params.append(('end_update_time', local_var_params['end_update_time']))
10727
+ if 'sort_by' in local_var_params:
10728
+ query_params.append(('sort_by', local_var_params['sort_by']))
10729
+ if 'sort_dir' in local_var_params:
10730
+ query_params.append(('sort_dir', local_var_params['sort_dir']))
10731
+ if 'limit' in local_var_params:
10732
+ query_params.append(('limit', local_var_params['limit']))
10733
+ if 'offset' in local_var_params:
10734
+ query_params.append(('offset', local_var_params['offset']))
10735
+
10736
+ header_params = {}
10737
+
10738
+ form_params = {}
10739
+
10740
+ body = None
10741
+ if isinstance(request, SdkStreamRequest):
10742
+ body = request.get_file_stream()
10743
+
10744
+ response_headers = []
10745
+
10746
+ header_params['Content-Type'] = http_utils.select_header_content_type(
10747
+ ['application/json'])
10748
+
10749
+ auth_settings = []
10750
+
10751
+ http_info["cname"] = cname
10752
+ http_info["collection_formats"] = collection_formats
10753
+ http_info["path_params"] = path_params
10754
+ http_info["query_params"] = query_params
10755
+ http_info["header_params"] = header_params
10756
+ http_info["post_params"] = form_params
10757
+ http_info["body"] = body
10758
+ http_info["response_headers"] = response_headers
10759
+
10760
+ return http_info
10761
+
10762
+ def list_user_drug_job_async(self, request):
10763
+ r"""获取用户所属空间的药物作业列表
10764
+
10765
+ 获取用户所属空间的药物作业列表。
10766
+
10767
+ Please refer to HUAWEI cloud API Explorer for details.
10768
+
10769
+
10770
+ :param request: Request instance for ListUserDrugJob
10771
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListUserDrugJobRequest`
10772
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserDrugJobResponse`
10773
+ """
10774
+ http_info = self._list_user_drug_job_http_info(request)
10775
+ return self._call_api(**http_info)
10776
+
10777
+ def list_user_drug_job_async_invoker(self, request):
10778
+ http_info = self._list_user_drug_job_http_info(request)
10779
+ return AsyncInvoker(self, http_info)
10780
+
10781
+ def _list_user_drug_job_http_info(self, request):
10782
+ http_info = {
10783
+ "method": "GET",
10784
+ "resource_path": "/v1/{project_id}/eihealth-projects/drug-jobs",
10785
+ "request_type": request.__class__.__name__,
10786
+ "response_type": "ListUserDrugJobResponse"
10787
+ }
10788
+
10789
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10790
+
10791
+ cname = None
10792
+
10793
+ collection_formats = {}
10794
+
10795
+ path_params = {}
10796
+
10797
+ query_params = []
10798
+ if 'is_creator' in local_var_params:
10799
+ query_params.append(('is_creator', local_var_params['is_creator']))
10800
+ if 'job_name' in local_var_params:
10801
+ query_params.append(('job_name', local_var_params['job_name']))
10802
+ if 'eihealth_project_names' in local_var_params:
10803
+ query_params.append(('eihealth_project_names', local_var_params['eihealth_project_names']))
10804
+ collection_formats['eihealth_project_names'] = 'csv'
10805
+ if 'labels' in local_var_params:
10806
+ query_params.append(('labels', local_var_params['labels']))
10807
+ collection_formats['labels'] = 'csv'
10808
+ if 'status_list' in local_var_params:
10809
+ query_params.append(('status_list', local_var_params['status_list']))
10810
+ collection_formats['status_list'] = 'csv'
10811
+ if 'types' in local_var_params:
10812
+ query_params.append(('types', local_var_params['types']))
10813
+ collection_formats['types'] = 'csv'
10814
+ if 'create_start_time' in local_var_params:
10815
+ query_params.append(('create_start_time', local_var_params['create_start_time']))
10816
+ if 'create_end_time' in local_var_params:
10817
+ query_params.append(('create_end_time', local_var_params['create_end_time']))
10818
+ if 'finish_start_time' in local_var_params:
10819
+ query_params.append(('finish_start_time', local_var_params['finish_start_time']))
10820
+ if 'finish_end_time' in local_var_params:
10821
+ query_params.append(('finish_end_time', local_var_params['finish_end_time']))
10822
+ if 'sort_dir' in local_var_params:
10823
+ query_params.append(('sort_dir', local_var_params['sort_dir']))
10824
+ if 'sort_key' in local_var_params:
10825
+ query_params.append(('sort_key', local_var_params['sort_key']))
10826
+ if 'limit' in local_var_params:
10827
+ query_params.append(('limit', local_var_params['limit']))
10828
+ if 'offset' in local_var_params:
10829
+ query_params.append(('offset', local_var_params['offset']))
10830
+
10831
+ header_params = {}
10832
+
10833
+ form_params = {}
10834
+
10835
+ body = None
10836
+ if isinstance(request, SdkStreamRequest):
10837
+ body = request.get_file_stream()
10838
+
10839
+ response_headers = []
10840
+
10841
+ header_params['Content-Type'] = http_utils.select_header_content_type(
10842
+ ['application/json'])
10843
+
10844
+ auth_settings = []
10845
+
10846
+ http_info["cname"] = cname
10847
+ http_info["collection_formats"] = collection_formats
10848
+ http_info["path_params"] = path_params
10849
+ http_info["query_params"] = query_params
10850
+ http_info["header_params"] = header_params
10851
+ http_info["post_params"] = form_params
10852
+ http_info["body"] = body
10853
+ http_info["response_headers"] = response_headers
10854
+
10855
+ return http_info
10856
+
10857
+ def list_user_image_async(self, request):
10858
+ r"""获取用户所属空间的镜像列表
10859
+
10860
+ 获取用户所属空间的镜像列表。
10861
+
10862
+ Please refer to HUAWEI cloud API Explorer for details.
10863
+
10864
+
10865
+ :param request: Request instance for ListUserImage
10866
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListUserImageRequest`
10867
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserImageResponse`
10868
+ """
10869
+ http_info = self._list_user_image_http_info(request)
10870
+ return self._call_api(**http_info)
10871
+
10872
+ def list_user_image_async_invoker(self, request):
10873
+ http_info = self._list_user_image_http_info(request)
10874
+ return AsyncInvoker(self, http_info)
10875
+
10876
+ def _list_user_image_http_info(self, request):
10877
+ http_info = {
10878
+ "method": "GET",
10879
+ "resource_path": "/v1/{project_id}/eihealth-projects/images",
10880
+ "request_type": request.__class__.__name__,
10881
+ "response_type": "ListUserImageResponse"
10882
+ }
10883
+
10884
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10885
+
10886
+ cname = None
10887
+
10888
+ collection_formats = {}
10889
+
10890
+ path_params = {}
10891
+
10892
+ query_params = []
10893
+ if 'is_creator' in local_var_params:
10894
+ query_params.append(('is_creator', local_var_params['is_creator']))
10895
+ if 'image_id' in local_var_params:
10896
+ query_params.append(('image_id', local_var_params['image_id']))
10897
+ if 'image_name' in local_var_params:
10898
+ query_params.append(('image_name', local_var_params['image_name']))
10899
+ if 'description' in local_var_params:
10900
+ query_params.append(('description', local_var_params['description']))
10901
+ if 'eihealth_project_names' in local_var_params:
10902
+ query_params.append(('eihealth_project_names', local_var_params['eihealth_project_names']))
10903
+ collection_formats['eihealth_project_names'] = 'csv'
10904
+ if 'source_project_name' in local_var_params:
10905
+ query_params.append(('source_project_name', local_var_params['source_project_name']))
10906
+ if 'types' in local_var_params:
10907
+ query_params.append(('types', local_var_params['types']))
10908
+ collection_formats['types'] = 'csv'
10909
+ if 'start_create_time' in local_var_params:
10910
+ query_params.append(('start_create_time', local_var_params['start_create_time']))
10911
+ if 'end_create_time' in local_var_params:
10912
+ query_params.append(('end_create_time', local_var_params['end_create_time']))
10913
+ if 'start_update_time' in local_var_params:
10914
+ query_params.append(('start_update_time', local_var_params['start_update_time']))
10915
+ if 'end_update_time' in local_var_params:
10916
+ query_params.append(('end_update_time', local_var_params['end_update_time']))
10917
+ if 'sort_by' in local_var_params:
10918
+ query_params.append(('sort_by', local_var_params['sort_by']))
10919
+ if 'sort_dir' in local_var_params:
10920
+ query_params.append(('sort_dir', local_var_params['sort_dir']))
10921
+ if 'limit' in local_var_params:
10922
+ query_params.append(('limit', local_var_params['limit']))
10923
+ if 'offset' in local_var_params:
10924
+ query_params.append(('offset', local_var_params['offset']))
10925
+
10926
+ header_params = {}
10927
+
10928
+ form_params = {}
10929
+
10930
+ body = None
10931
+ if isinstance(request, SdkStreamRequest):
10932
+ body = request.get_file_stream()
10933
+
10934
+ response_headers = []
10935
+
10936
+ header_params['Content-Type'] = http_utils.select_header_content_type(
10937
+ ['application/json'])
10938
+
10939
+ auth_settings = []
10940
+
10941
+ http_info["cname"] = cname
10942
+ http_info["collection_formats"] = collection_formats
10943
+ http_info["path_params"] = path_params
10944
+ http_info["query_params"] = query_params
10945
+ http_info["header_params"] = header_params
10946
+ http_info["post_params"] = form_params
10947
+ http_info["body"] = body
10948
+ http_info["response_headers"] = response_headers
10949
+
10950
+ return http_info
10951
+
10952
+ def list_user_job_async(self, request):
10953
+ r"""获取用户所属空间的作业列表
10954
+
10955
+ 获取用户所属空间的作业列表。
10956
+
10957
+ Please refer to HUAWEI cloud API Explorer for details.
10958
+
10959
+
10960
+ :param request: Request instance for ListUserJob
10961
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListUserJobRequest`
10962
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserJobResponse`
10963
+ """
10964
+ http_info = self._list_user_job_http_info(request)
10965
+ return self._call_api(**http_info)
10966
+
10967
+ def list_user_job_async_invoker(self, request):
10968
+ http_info = self._list_user_job_http_info(request)
10969
+ return AsyncInvoker(self, http_info)
10970
+
10971
+ def _list_user_job_http_info(self, request):
10972
+ http_info = {
10973
+ "method": "GET",
10974
+ "resource_path": "/v1/{project_id}/eihealth-projects/jobs",
10975
+ "request_type": request.__class__.__name__,
10976
+ "response_type": "ListUserJobResponse"
10977
+ }
10978
+
10979
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10980
+
10981
+ cname = None
10982
+
10983
+ collection_formats = {}
10984
+
10985
+ path_params = {}
10986
+
10987
+ query_params = []
10988
+ if 'is_creator' in local_var_params:
10989
+ query_params.append(('is_creator', local_var_params['is_creator']))
10990
+ if 'job_name' in local_var_params:
10991
+ query_params.append(('job_name', local_var_params['job_name']))
10992
+ if 'eihealth_project_names' in local_var_params:
10993
+ query_params.append(('eihealth_project_names', local_var_params['eihealth_project_names']))
10994
+ collection_formats['eihealth_project_names'] = 'csv'
10995
+ if 'types' in local_var_params:
10996
+ query_params.append(('types', local_var_params['types']))
10997
+ collection_formats['types'] = 'csv'
10998
+ if 'status_list' in local_var_params:
10999
+ query_params.append(('status_list', local_var_params['status_list']))
11000
+ collection_formats['status_list'] = 'csv'
11001
+ if 'labels' in local_var_params:
11002
+ query_params.append(('labels', local_var_params['labels']))
11003
+ collection_formats['labels'] = 'csv'
11004
+ if 'start_create_time' in local_var_params:
11005
+ query_params.append(('start_create_time', local_var_params['start_create_time']))
11006
+ if 'end_create_time' in local_var_params:
11007
+ query_params.append(('end_create_time', local_var_params['end_create_time']))
11008
+ if 'start_finish_time' in local_var_params:
11009
+ query_params.append(('start_finish_time', local_var_params['start_finish_time']))
11010
+ if 'end_finish_time' in local_var_params:
11011
+ query_params.append(('end_finish_time', local_var_params['end_finish_time']))
11012
+ if 'sort_key' in local_var_params:
11013
+ query_params.append(('sort_key', local_var_params['sort_key']))
11014
+ if 'sort_dir' in local_var_params:
11015
+ query_params.append(('sort_dir', local_var_params['sort_dir']))
11016
+ if 'limit' in local_var_params:
11017
+ query_params.append(('limit', local_var_params['limit']))
11018
+ if 'offset' in local_var_params:
11019
+ query_params.append(('offset', local_var_params['offset']))
11020
+
11021
+ header_params = {}
11022
+
11023
+ form_params = {}
11024
+
11025
+ body = None
11026
+ if isinstance(request, SdkStreamRequest):
11027
+ body = request.get_file_stream()
11028
+
11029
+ response_headers = []
11030
+
11031
+ header_params['Content-Type'] = http_utils.select_header_content_type(
11032
+ ['application/json'])
11033
+
11034
+ auth_settings = []
11035
+
11036
+ http_info["cname"] = cname
11037
+ http_info["collection_formats"] = collection_formats
11038
+ http_info["path_params"] = path_params
11039
+ http_info["query_params"] = query_params
11040
+ http_info["header_params"] = header_params
11041
+ http_info["post_params"] = form_params
11042
+ http_info["body"] = body
11043
+ http_info["response_headers"] = response_headers
11044
+
11045
+ return http_info
11046
+
11047
+ def list_user_workflow_async(self, request):
11048
+ r"""获取用户所属空间的流程列表
10090
11049
 
10091
- 获取用户列表
11050
+ 获取用户所属空间的流程列表。
10092
11051
 
10093
11052
  Please refer to HUAWEI cloud API Explorer for details.
10094
11053
 
10095
11054
 
10096
- :param request: Request instance for ListUser
10097
- :type request: :class:`huaweicloudsdkeihealth.v1.ListUserRequest`
10098
- :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserResponse`
11055
+ :param request: Request instance for ListUserWorkflow
11056
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListUserWorkflowRequest`
11057
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserWorkflowResponse`
10099
11058
  """
10100
- http_info = self._list_user_http_info(request)
11059
+ http_info = self._list_user_workflow_http_info(request)
10101
11060
  return self._call_api(**http_info)
10102
11061
 
10103
- def list_user_async_invoker(self, request):
10104
- http_info = self._list_user_http_info(request)
11062
+ def list_user_workflow_async_invoker(self, request):
11063
+ http_info = self._list_user_workflow_http_info(request)
10105
11064
  return AsyncInvoker(self, http_info)
10106
11065
 
10107
- def _list_user_http_info(self, request):
11066
+ def _list_user_workflow_http_info(self, request):
10108
11067
  http_info = {
10109
11068
  "method": "GET",
10110
- "resource_path": "/v1/{project_id}/users",
11069
+ "resource_path": "/v1/{project_id}/eihealth-projects/workflows",
10111
11070
  "request_type": request.__class__.__name__,
10112
- "response_type": "ListUserResponse"
11071
+ "response_type": "ListUserWorkflowResponse"
10113
11072
  }
10114
11073
 
10115
11074
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -10121,6 +11080,36 @@ class EiHealthAsyncClient(Client):
10121
11080
  path_params = {}
10122
11081
 
10123
11082
  query_params = []
11083
+ if 'is_creator' in local_var_params:
11084
+ query_params.append(('is_creator', local_var_params['is_creator']))
11085
+ if 'id' in local_var_params:
11086
+ query_params.append(('id', local_var_params['id']))
11087
+ if 'name' in local_var_params:
11088
+ query_params.append(('name', local_var_params['name']))
11089
+ if 'summary' in local_var_params:
11090
+ query_params.append(('summary', local_var_params['summary']))
11091
+ if 'eihealth_project_names' in local_var_params:
11092
+ query_params.append(('eihealth_project_names', local_var_params['eihealth_project_names']))
11093
+ collection_formats['eihealth_project_names'] = 'csv'
11094
+ if 'labels' in local_var_params:
11095
+ query_params.append(('labels', local_var_params['labels']))
11096
+ collection_formats['labels'] = 'csv'
11097
+ if 'start_create_time' in local_var_params:
11098
+ query_params.append(('start_create_time', local_var_params['start_create_time']))
11099
+ if 'end_create_time' in local_var_params:
11100
+ query_params.append(('end_create_time', local_var_params['end_create_time']))
11101
+ if 'start_update_time' in local_var_params:
11102
+ query_params.append(('start_update_time', local_var_params['start_update_time']))
11103
+ if 'end_update_time' in local_var_params:
11104
+ query_params.append(('end_update_time', local_var_params['end_update_time']))
11105
+ if 'sort_dir' in local_var_params:
11106
+ query_params.append(('sort_dir', local_var_params['sort_dir']))
11107
+ if 'sort_key' in local_var_params:
11108
+ query_params.append(('sort_key', local_var_params['sort_key']))
11109
+ if 'limit' in local_var_params:
11110
+ query_params.append(('limit', local_var_params['limit']))
11111
+ if 'offset' in local_var_params:
11112
+ query_params.append(('offset', local_var_params['offset']))
10124
11113
 
10125
11114
  header_params = {}
10126
11115
 
@@ -11295,6 +12284,69 @@ class EiHealthAsyncClient(Client):
11295
12284
 
11296
12285
  return http_info
11297
12286
 
12287
+ def show_agency_async(self, request):
12288
+ r"""获取业务委托
12289
+
12290
+ 获取业务委托。
12291
+
12292
+ Please refer to HUAWEI cloud API Explorer for details.
12293
+
12294
+
12295
+ :param request: Request instance for ShowAgency
12296
+ :type request: :class:`huaweicloudsdkeihealth.v1.ShowAgencyRequest`
12297
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ShowAgencyResponse`
12298
+ """
12299
+ http_info = self._show_agency_http_info(request)
12300
+ return self._call_api(**http_info)
12301
+
12302
+ def show_agency_async_invoker(self, request):
12303
+ http_info = self._show_agency_http_info(request)
12304
+ return AsyncInvoker(self, http_info)
12305
+
12306
+ def _show_agency_http_info(self, request):
12307
+ http_info = {
12308
+ "method": "GET",
12309
+ "resource_path": "/v1/{project_id}/system/agencies",
12310
+ "request_type": request.__class__.__name__,
12311
+ "response_type": "ShowAgencyResponse"
12312
+ }
12313
+
12314
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
12315
+
12316
+ cname = None
12317
+
12318
+ collection_formats = {}
12319
+
12320
+ path_params = {}
12321
+
12322
+ query_params = []
12323
+
12324
+ header_params = {}
12325
+
12326
+ form_params = {}
12327
+
12328
+ body = None
12329
+ if isinstance(request, SdkStreamRequest):
12330
+ body = request.get_file_stream()
12331
+
12332
+ response_headers = []
12333
+
12334
+ header_params['Content-Type'] = http_utils.select_header_content_type(
12335
+ ['application/json'])
12336
+
12337
+ auth_settings = []
12338
+
12339
+ http_info["cname"] = cname
12340
+ http_info["collection_formats"] = collection_formats
12341
+ http_info["path_params"] = path_params
12342
+ http_info["query_params"] = query_params
12343
+ http_info["header_params"] = header_params
12344
+ http_info["post_params"] = form_params
12345
+ http_info["body"] = body
12346
+ http_info["response_headers"] = response_headers
12347
+
12348
+ return http_info
12349
+
11298
12350
  def show_app_async(self, request):
11299
12351
  r"""获取应用详情
11300
12352
 
@@ -15518,6 +16570,69 @@ class EiHealthAsyncClient(Client):
15518
16570
 
15519
16571
  return http_info
15520
16572
 
16573
+ def update_agency_async(self, request):
16574
+ r"""更新业务委托
16575
+
16576
+ 更新业务委托。
16577
+
16578
+ Please refer to HUAWEI cloud API Explorer for details.
16579
+
16580
+
16581
+ :param request: Request instance for UpdateAgency
16582
+ :type request: :class:`huaweicloudsdkeihealth.v1.UpdateAgencyRequest`
16583
+ :rtype: :class:`huaweicloudsdkeihealth.v1.UpdateAgencyResponse`
16584
+ """
16585
+ http_info = self._update_agency_http_info(request)
16586
+ return self._call_api(**http_info)
16587
+
16588
+ def update_agency_async_invoker(self, request):
16589
+ http_info = self._update_agency_http_info(request)
16590
+ return AsyncInvoker(self, http_info)
16591
+
16592
+ def _update_agency_http_info(self, request):
16593
+ http_info = {
16594
+ "method": "PUT",
16595
+ "resource_path": "/v1/{project_id}/system/agencies",
16596
+ "request_type": request.__class__.__name__,
16597
+ "response_type": "UpdateAgencyResponse"
16598
+ }
16599
+
16600
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
16601
+
16602
+ cname = None
16603
+
16604
+ collection_formats = {}
16605
+
16606
+ path_params = {}
16607
+
16608
+ query_params = []
16609
+
16610
+ header_params = {}
16611
+
16612
+ form_params = {}
16613
+
16614
+ body = None
16615
+ if isinstance(request, SdkStreamRequest):
16616
+ body = request.get_file_stream()
16617
+
16618
+ response_headers = []
16619
+
16620
+ header_params['Content-Type'] = http_utils.select_header_content_type(
16621
+ ['application/json'])
16622
+
16623
+ auth_settings = []
16624
+
16625
+ http_info["cname"] = cname
16626
+ http_info["collection_formats"] = collection_formats
16627
+ http_info["path_params"] = path_params
16628
+ http_info["query_params"] = query_params
16629
+ http_info["header_params"] = header_params
16630
+ http_info["post_params"] = form_params
16631
+ http_info["body"] = body
16632
+ http_info["response_headers"] = response_headers
16633
+
16634
+ return http_info
16635
+
15521
16636
  def update_app_async(self, request):
15522
16637
  r"""更新应用
15523
16638
 
@@ -17199,6 +18314,73 @@ class EiHealthAsyncClient(Client):
17199
18314
 
17200
18315
  return http_info
17201
18316
 
18317
+ def update_top_project_async(self, request):
18318
+ r"""置顶空间
18319
+
18320
+ 置顶空间。
18321
+
18322
+ Please refer to HUAWEI cloud API Explorer for details.
18323
+
18324
+
18325
+ :param request: Request instance for UpdateTopProject
18326
+ :type request: :class:`huaweicloudsdkeihealth.v1.UpdateTopProjectRequest`
18327
+ :rtype: :class:`huaweicloudsdkeihealth.v1.UpdateTopProjectResponse`
18328
+ """
18329
+ http_info = self._update_top_project_http_info(request)
18330
+ return self._call_api(**http_info)
18331
+
18332
+ def update_top_project_async_invoker(self, request):
18333
+ http_info = self._update_top_project_http_info(request)
18334
+ return AsyncInvoker(self, http_info)
18335
+
18336
+ def _update_top_project_http_info(self, request):
18337
+ http_info = {
18338
+ "method": "PUT",
18339
+ "resource_path": "/v1/{project_id}/eihealth-projects/{eihealth_project_id}/top",
18340
+ "request_type": request.__class__.__name__,
18341
+ "response_type": "UpdateTopProjectResponse"
18342
+ }
18343
+
18344
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
18345
+
18346
+ cname = None
18347
+
18348
+ collection_formats = {}
18349
+
18350
+ path_params = {}
18351
+ if 'eihealth_project_id' in local_var_params:
18352
+ path_params['eihealth_project_id'] = local_var_params['eihealth_project_id']
18353
+
18354
+ query_params = []
18355
+
18356
+ header_params = {}
18357
+
18358
+ form_params = {}
18359
+
18360
+ body = None
18361
+ if 'body' in local_var_params:
18362
+ body = local_var_params['body']
18363
+ if isinstance(request, SdkStreamRequest):
18364
+ body = request.get_file_stream()
18365
+
18366
+ response_headers = []
18367
+
18368
+ header_params['Content-Type'] = http_utils.select_header_content_type(
18369
+ ['application/json'])
18370
+
18371
+ auth_settings = []
18372
+
18373
+ http_info["cname"] = cname
18374
+ http_info["collection_formats"] = collection_formats
18375
+ http_info["path_params"] = path_params
18376
+ http_info["query_params"] = query_params
18377
+ http_info["header_params"] = header_params
18378
+ http_info["post_params"] = form_params
18379
+ http_info["body"] = body
18380
+ http_info["response_headers"] = response_headers
18381
+
18382
+ return http_info
18383
+
17202
18384
  def update_user_async(self, request):
17203
18385
  r"""修改用户基本信息
17204
18386
 
@@ -22087,6 +23269,99 @@ class EiHealthAsyncClient(Client):
22087
23269
 
22088
23270
  return http_info
22089
23271
 
23272
+ def list_user_notebook_async(self, request):
23273
+ r"""获取用户所属空间的notebook列表
23274
+
23275
+ 获取用户所属空间的notebook列表。
23276
+
23277
+ Please refer to HUAWEI cloud API Explorer for details.
23278
+
23279
+
23280
+ :param request: Request instance for ListUserNotebook
23281
+ :type request: :class:`huaweicloudsdkeihealth.v1.ListUserNotebookRequest`
23282
+ :rtype: :class:`huaweicloudsdkeihealth.v1.ListUserNotebookResponse`
23283
+ """
23284
+ http_info = self._list_user_notebook_http_info(request)
23285
+ return self._call_api(**http_info)
23286
+
23287
+ def list_user_notebook_async_invoker(self, request):
23288
+ http_info = self._list_user_notebook_http_info(request)
23289
+ return AsyncInvoker(self, http_info)
23290
+
23291
+ def _list_user_notebook_http_info(self, request):
23292
+ http_info = {
23293
+ "method": "GET",
23294
+ "resource_path": "/v1/{project_id}/eihealth-projects/notebooks",
23295
+ "request_type": request.__class__.__name__,
23296
+ "response_type": "ListUserNotebookResponse"
23297
+ }
23298
+
23299
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
23300
+
23301
+ cname = None
23302
+
23303
+ collection_formats = {}
23304
+
23305
+ path_params = {}
23306
+
23307
+ query_params = []
23308
+ if 'notebook_name' in local_var_params:
23309
+ query_params.append(('notebook_name', local_var_params['notebook_name']))
23310
+ if 'description' in local_var_params:
23311
+ query_params.append(('description', local_var_params['description']))
23312
+ if 'image_name' in local_var_params:
23313
+ query_params.append(('image_name', local_var_params['image_name']))
23314
+ if 'is_creator' in local_var_params:
23315
+ query_params.append(('is_creator', local_var_params['is_creator']))
23316
+ if 'eihealth_project_names' in local_var_params:
23317
+ query_params.append(('eihealth_project_names', local_var_params['eihealth_project_names']))
23318
+ collection_formats['eihealth_project_names'] = 'csv'
23319
+ if 'statuses' in local_var_params:
23320
+ query_params.append(('statuses', local_var_params['statuses']))
23321
+ collection_formats['statuses'] = 'csv'
23322
+ if 'start_create_time' in local_var_params:
23323
+ query_params.append(('start_create_time', local_var_params['start_create_time']))
23324
+ if 'end_create_time' in local_var_params:
23325
+ query_params.append(('end_create_time', local_var_params['end_create_time']))
23326
+ if 'start_update_time' in local_var_params:
23327
+ query_params.append(('start_update_time', local_var_params['start_update_time']))
23328
+ if 'end_update_time' in local_var_params:
23329
+ query_params.append(('end_update_time', local_var_params['end_update_time']))
23330
+ if 'sort_dir' in local_var_params:
23331
+ query_params.append(('sort_dir', local_var_params['sort_dir']))
23332
+ if 'sort_by' in local_var_params:
23333
+ query_params.append(('sort_by', local_var_params['sort_by']))
23334
+ if 'limit' in local_var_params:
23335
+ query_params.append(('limit', local_var_params['limit']))
23336
+ if 'offset' in local_var_params:
23337
+ query_params.append(('offset', local_var_params['offset']))
23338
+
23339
+ header_params = {}
23340
+
23341
+ form_params = {}
23342
+
23343
+ body = None
23344
+ if isinstance(request, SdkStreamRequest):
23345
+ body = request.get_file_stream()
23346
+
23347
+ response_headers = []
23348
+
23349
+ header_params['Content-Type'] = http_utils.select_header_content_type(
23350
+ ['application/json'])
23351
+
23352
+ auth_settings = []
23353
+
23354
+ http_info["cname"] = cname
23355
+ http_info["collection_formats"] = collection_formats
23356
+ http_info["path_params"] = path_params
23357
+ http_info["query_params"] = query_params
23358
+ http_info["header_params"] = header_params
23359
+ http_info["post_params"] = form_params
23360
+ http_info["body"] = body
23361
+ http_info["response_headers"] = response_headers
23362
+
23363
+ return http_info
23364
+
22090
23365
  def show_notebook_async(self, request):
22091
23366
  r"""获取notebook详情
22092
23367