@@ -4530,6 +4530,126 @@ async def create_center_policy_async(
4530
4530
runtime = util_models.RuntimeOptions()
4531
4531
return await self.create_center_policy_with_options_async(request, runtime)
4532
4532
4533
+ def create_cloud_drive_group_with_options(
4534
+ self,
4535
+ request: ecd_20200930_models.CreateCloudDriveGroupRequest,
4536
+ runtime: util_models.RuntimeOptions,
4537
+ ) -> ecd_20200930_models.CreateCloudDriveGroupResponse:
4538
+ """
4539
+ @summary Authorizes a user to use a team space.
4540
+
4541
+ @description The list of teams of a cloud disk in Cloud Drive Service is synchronized from the Organization tab in the Elastic Desktop Service (EDS) console. You can choose Users > Manager User > User > Organization in the console. If you want to authorize a user to use a team space, you must move the user to the corresponding organization. After you move the user, the user can view the menu bar of the team space on a Cloud Drive Service client.
4542
+
4543
+ @param request: CreateCloudDriveGroupRequest
4544
+ @param runtime: runtime options for this request RuntimeOptions
4545
+ @return: CreateCloudDriveGroupResponse
4546
+ """
4547
+ UtilClient.validate_model(request)
4548
+ query = {}
4549
+ if not UtilClient.is_unset(request.admin_user_ids):
4550
+ query['AdminUserIds'] = request.admin_user_ids
4551
+ if not UtilClient.is_unset(request.cds_id):
4552
+ query['CdsId'] = request.cds_id
4553
+ if not UtilClient.is_unset(request.group_id):
4554
+ query['GroupId'] = request.group_id
4555
+ if not UtilClient.is_unset(request.region_id):
4556
+ query['RegionId'] = request.region_id
4557
+ if not UtilClient.is_unset(request.total_size):
4558
+ query['TotalSize'] = request.total_size
4559
+ req = open_api_models.OpenApiRequest(
4560
+ query=OpenApiUtilClient.query(query)
4561
+ )
4562
+ params = open_api_models.Params(
4563
+ action='CreateCloudDriveGroup',
4564
+ version='2020-09-30',
4565
+ protocol='HTTPS',
4566
+ pathname='/',
4567
+ method='POST',
4568
+ auth_type='AK',
4569
+ style='RPC',
4570
+ req_body_type='formData',
4571
+ body_type='json'
4572
+ )
4573
+ return TeaCore.from_map(
4574
+ ecd_20200930_models.CreateCloudDriveGroupResponse(),
4575
+ self.call_api(params, req, runtime)
4576
+ )
4577
+
4578
+ async def create_cloud_drive_group_with_options_async(
4579
+ self,
4580
+ request: ecd_20200930_models.CreateCloudDriveGroupRequest,
4581
+ runtime: util_models.RuntimeOptions,
4582
+ ) -> ecd_20200930_models.CreateCloudDriveGroupResponse:
4583
+ """
4584
+ @summary Authorizes a user to use a team space.
4585
+
4586
+ @description The list of teams of a cloud disk in Cloud Drive Service is synchronized from the Organization tab in the Elastic Desktop Service (EDS) console. You can choose Users > Manager User > User > Organization in the console. If you want to authorize a user to use a team space, you must move the user to the corresponding organization. After you move the user, the user can view the menu bar of the team space on a Cloud Drive Service client.
4587
+
4588
+ @param request: CreateCloudDriveGroupRequest
4589
+ @param runtime: runtime options for this request RuntimeOptions
4590
+ @return: CreateCloudDriveGroupResponse
4591
+ """
4592
+ UtilClient.validate_model(request)
4593
+ query = {}
4594
+ if not UtilClient.is_unset(request.admin_user_ids):
4595
+ query['AdminUserIds'] = request.admin_user_ids
4596
+ if not UtilClient.is_unset(request.cds_id):
4597
+ query['CdsId'] = request.cds_id
4598
+ if not UtilClient.is_unset(request.group_id):
4599
+ query['GroupId'] = request.group_id
4600
+ if not UtilClient.is_unset(request.region_id):
4601
+ query['RegionId'] = request.region_id
4602
+ if not UtilClient.is_unset(request.total_size):
4603
+ query['TotalSize'] = request.total_size
4604
+ req = open_api_models.OpenApiRequest(
4605
+ query=OpenApiUtilClient.query(query)
4606
+ )
4607
+ params = open_api_models.Params(
4608
+ action='CreateCloudDriveGroup',
4609
+ version='2020-09-30',
4610
+ protocol='HTTPS',
4611
+ pathname='/',
4612
+ method='POST',
4613
+ auth_type='AK',
4614
+ style='RPC',
4615
+ req_body_type='formData',
4616
+ body_type='json'
4617
+ )
4618
+ return TeaCore.from_map(
4619
+ ecd_20200930_models.CreateCloudDriveGroupResponse(),
4620
+ await self.call_api_async(params, req, runtime)
4621
+ )
4622
+
4623
+ def create_cloud_drive_group(
4624
+ self,
4625
+ request: ecd_20200930_models.CreateCloudDriveGroupRequest,
4626
+ ) -> ecd_20200930_models.CreateCloudDriveGroupResponse:
4627
+ """
4628
+ @summary Authorizes a user to use a team space.
4629
+
4630
+ @description The list of teams of a cloud disk in Cloud Drive Service is synchronized from the Organization tab in the Elastic Desktop Service (EDS) console. You can choose Users > Manager User > User > Organization in the console. If you want to authorize a user to use a team space, you must move the user to the corresponding organization. After you move the user, the user can view the menu bar of the team space on a Cloud Drive Service client.
4631
+
4632
+ @param request: CreateCloudDriveGroupRequest
4633
+ @return: CreateCloudDriveGroupResponse
4634
+ """
4635
+ runtime = util_models.RuntimeOptions()
4636
+ return self.create_cloud_drive_group_with_options(request, runtime)
4637
+
4638
+ async def create_cloud_drive_group_async(
4639
+ self,
4640
+ request: ecd_20200930_models.CreateCloudDriveGroupRequest,
4641
+ ) -> ecd_20200930_models.CreateCloudDriveGroupResponse:
4642
+ """
4643
+ @summary Authorizes a user to use a team space.
4644
+
4645
+ @description The list of teams of a cloud disk in Cloud Drive Service is synchronized from the Organization tab in the Elastic Desktop Service (EDS) console. You can choose Users > Manager User > User > Organization in the console. If you want to authorize a user to use a team space, you must move the user to the corresponding organization. After you move the user, the user can view the menu bar of the team space on a Cloud Drive Service client.
4646
+
4647
+ @param request: CreateCloudDriveGroupRequest
4648
+ @return: CreateCloudDriveGroupResponse
4649
+ """
4650
+ runtime = util_models.RuntimeOptions()
4651
+ return await self.create_cloud_drive_group_with_options_async(request, runtime)
4652
+
4533
4653
def create_cloud_drive_service_with_options(
4534
4654
self,
4535
4655
request: ecd_20200930_models.CreateCloudDriveServiceRequest,
@@ -5938,6 +6058,118 @@ async def create_drive_async(
5938
6058
runtime = util_models.RuntimeOptions()
5939
6059
return await self.create_drive_with_options_async(request, runtime)
5940
6060
6061
+ def create_ecd_report_task_with_options(
6062
+ self,
6063
+ request: ecd_20200930_models.CreateEcdReportTaskRequest,
6064
+ runtime: util_models.RuntimeOptions,
6065
+ ) -> ecd_20200930_models.CreateEcdReportTaskResponse:
6066
+ """
6067
+ @summary 创建无影数据报表导出任务
6068
+
6069
+ @param request: CreateEcdReportTaskRequest
6070
+ @param runtime: runtime options for this request RuntimeOptions
6071
+ @return: CreateEcdReportTaskResponse
6072
+ """
6073
+ UtilClient.validate_model(request)
6074
+ query = {}
6075
+ if not UtilClient.is_unset(request.filter_list):
6076
+ query['FilterList'] = request.filter_list
6077
+ if not UtilClient.is_unset(request.lang_type):
6078
+ query['LangType'] = request.lang_type
6079
+ if not UtilClient.is_unset(request.report_file_name):
6080
+ query['ReportFileName'] = request.report_file_name
6081
+ if not UtilClient.is_unset(request.sub_type):
6082
+ query['SubType'] = request.sub_type
6083
+ if not UtilClient.is_unset(request.task_type):
6084
+ query['TaskType'] = request.task_type
6085
+ req = open_api_models.OpenApiRequest(
6086
+ query=OpenApiUtilClient.query(query)
6087
+ )
6088
+ params = open_api_models.Params(
6089
+ action='CreateEcdReportTask',
6090
+ version='2020-09-30',
6091
+ protocol='HTTPS',
6092
+ pathname='/',
6093
+ method='POST',
6094
+ auth_type='AK',
6095
+ style='RPC',
6096
+ req_body_type='formData',
6097
+ body_type='json'
6098
+ )
6099
+ return TeaCore.from_map(
6100
+ ecd_20200930_models.CreateEcdReportTaskResponse(),
6101
+ self.call_api(params, req, runtime)
6102
+ )
6103
+
6104
+ async def create_ecd_report_task_with_options_async(
6105
+ self,
6106
+ request: ecd_20200930_models.CreateEcdReportTaskRequest,
6107
+ runtime: util_models.RuntimeOptions,
6108
+ ) -> ecd_20200930_models.CreateEcdReportTaskResponse:
6109
+ """
6110
+ @summary 创建无影数据报表导出任务
6111
+
6112
+ @param request: CreateEcdReportTaskRequest
6113
+ @param runtime: runtime options for this request RuntimeOptions
6114
+ @return: CreateEcdReportTaskResponse
6115
+ """
6116
+ UtilClient.validate_model(request)
6117
+ query = {}
6118
+ if not UtilClient.is_unset(request.filter_list):
6119
+ query['FilterList'] = request.filter_list
6120
+ if not UtilClient.is_unset(request.lang_type):
6121
+ query['LangType'] = request.lang_type
6122
+ if not UtilClient.is_unset(request.report_file_name):
6123
+ query['ReportFileName'] = request.report_file_name
6124
+ if not UtilClient.is_unset(request.sub_type):
6125
+ query['SubType'] = request.sub_type
6126
+ if not UtilClient.is_unset(request.task_type):
6127
+ query['TaskType'] = request.task_type
6128
+ req = open_api_models.OpenApiRequest(
6129
+ query=OpenApiUtilClient.query(query)
6130
+ )
6131
+ params = open_api_models.Params(
6132
+ action='CreateEcdReportTask',
6133
+ version='2020-09-30',
6134
+ protocol='HTTPS',
6135
+ pathname='/',
6136
+ method='POST',
6137
+ auth_type='AK',
6138
+ style='RPC',
6139
+ req_body_type='formData',
6140
+ body_type='json'
6141
+ )
6142
+ return TeaCore.from_map(
6143
+ ecd_20200930_models.CreateEcdReportTaskResponse(),
6144
+ await self.call_api_async(params, req, runtime)
6145
+ )
6146
+
6147
+ def create_ecd_report_task(
6148
+ self,
6149
+ request: ecd_20200930_models.CreateEcdReportTaskRequest,
6150
+ ) -> ecd_20200930_models.CreateEcdReportTaskResponse:
6151
+ """
6152
+ @summary 创建无影数据报表导出任务
6153
+
6154
+ @param request: CreateEcdReportTaskRequest
6155
+ @return: CreateEcdReportTaskResponse
6156
+ """
6157
+ runtime = util_models.RuntimeOptions()
6158
+ return self.create_ecd_report_task_with_options(request, runtime)
6159
+
6160
+ async def create_ecd_report_task_async(
6161
+ self,
6162
+ request: ecd_20200930_models.CreateEcdReportTaskRequest,
6163
+ ) -> ecd_20200930_models.CreateEcdReportTaskResponse:
6164
+ """
6165
+ @summary 创建无影数据报表导出任务
6166
+
6167
+ @param request: CreateEcdReportTaskRequest
6168
+ @return: CreateEcdReportTaskResponse
6169
+ """
6170
+ runtime = util_models.RuntimeOptions()
6171
+ return await self.create_ecd_report_task_with_options_async(request, runtime)
6172
+
5941
6173
def create_image_with_options(
5942
6174
self,
5943
6175
request: ecd_20200930_models.CreateImageRequest,
@@ -12812,6 +13044,122 @@ async def describe_drives_async(
12812
13044
runtime = util_models.RuntimeOptions()
12813
13045
return await self.describe_drives_with_options_async(request, runtime)
12814
13046
13047
+ def describe_ecd_report_tasks_with_options(
13048
+ self,
13049
+ request: ecd_20200930_models.DescribeEcdReportTasksRequest,
13050
+ runtime: util_models.RuntimeOptions,
13051
+ ) -> ecd_20200930_models.DescribeEcdReportTasksResponse:
13052
+ """
13053
+ @summary 查询数据报表导出任务列表
13054
+
13055
+ @param request: DescribeEcdReportTasksRequest
13056
+ @param runtime: runtime options for this request RuntimeOptions
13057
+ @return: DescribeEcdReportTasksResponse
13058
+ """
13059
+ UtilClient.validate_model(request)
13060
+ query = {}
13061
+ if not UtilClient.is_unset(request.page_num):
13062
+ query['PageNum'] = request.page_num
13063
+ if not UtilClient.is_unset(request.page_size):
13064
+ query['PageSize'] = request.page_size
13065
+ if not UtilClient.is_unset(request.status):
13066
+ query['Status'] = request.status
13067
+ if not UtilClient.is_unset(request.sub_type):
13068
+ query['SubType'] = request.sub_type
13069
+ if not UtilClient.is_unset(request.task_id):
13070
+ query['TaskId'] = request.task_id
13071
+ if not UtilClient.is_unset(request.task_type):
13072
+ query['TaskType'] = request.task_type
13073
+ req = open_api_models.OpenApiRequest(
13074
+ query=OpenApiUtilClient.query(query)
13075
+ )
13076
+ params = open_api_models.Params(
13077
+ action='DescribeEcdReportTasks',
13078
+ version='2020-09-30',
13079
+ protocol='HTTPS',
13080
+ pathname='/',
13081
+ method='POST',
13082
+ auth_type='AK',
13083
+ style='RPC',
13084
+ req_body_type='formData',
13085
+ body_type='json'
13086
+ )
13087
+ return TeaCore.from_map(
13088
+ ecd_20200930_models.DescribeEcdReportTasksResponse(),
13089
+ self.call_api(params, req, runtime)
13090
+ )
13091
+
13092
+ async def describe_ecd_report_tasks_with_options_async(
13093
+ self,
13094
+ request: ecd_20200930_models.DescribeEcdReportTasksRequest,
13095
+ runtime: util_models.RuntimeOptions,
13096
+ ) -> ecd_20200930_models.DescribeEcdReportTasksResponse:
13097
+ """
13098
+ @summary 查询数据报表导出任务列表
13099
+
13100
+ @param request: DescribeEcdReportTasksRequest
13101
+ @param runtime: runtime options for this request RuntimeOptions
13102
+ @return: DescribeEcdReportTasksResponse
13103
+ """
13104
+ UtilClient.validate_model(request)
13105
+ query = {}
13106
+ if not UtilClient.is_unset(request.page_num):
13107
+ query['PageNum'] = request.page_num
13108
+ if not UtilClient.is_unset(request.page_size):
13109
+ query['PageSize'] = request.page_size
13110
+ if not UtilClient.is_unset(request.status):
13111
+ query['Status'] = request.status
13112
+ if not UtilClient.is_unset(request.sub_type):
13113
+ query['SubType'] = request.sub_type
13114
+ if not UtilClient.is_unset(request.task_id):
13115
+ query['TaskId'] = request.task_id
13116
+ if not UtilClient.is_unset(request.task_type):
13117
+ query['TaskType'] = request.task_type
13118
+ req = open_api_models.OpenApiRequest(
13119
+ query=OpenApiUtilClient.query(query)
13120
+ )
13121
+ params = open_api_models.Params(
13122
+ action='DescribeEcdReportTasks',
13123
+ version='2020-09-30',
13124
+ protocol='HTTPS',
13125
+ pathname='/',
13126
+ method='POST',
13127
+ auth_type='AK',
13128
+ style='RPC',
13129
+ req_body_type='formData',
13130
+ body_type='json'
13131
+ )
13132
+ return TeaCore.from_map(
13133
+ ecd_20200930_models.DescribeEcdReportTasksResponse(),
13134
+ await self.call_api_async(params, req, runtime)
13135
+ )
13136
+
13137
+ def describe_ecd_report_tasks(
13138
+ self,
13139
+ request: ecd_20200930_models.DescribeEcdReportTasksRequest,
13140
+ ) -> ecd_20200930_models.DescribeEcdReportTasksResponse:
13141
+ """
13142
+ @summary 查询数据报表导出任务列表
13143
+
13144
+ @param request: DescribeEcdReportTasksRequest
13145
+ @return: DescribeEcdReportTasksResponse
13146
+ """
13147
+ runtime = util_models.RuntimeOptions()
13148
+ return self.describe_ecd_report_tasks_with_options(request, runtime)
13149
+
13150
+ async def describe_ecd_report_tasks_async(
13151
+ self,
13152
+ request: ecd_20200930_models.DescribeEcdReportTasksRequest,
13153
+ ) -> ecd_20200930_models.DescribeEcdReportTasksResponse:
13154
+ """
13155
+ @summary 查询数据报表导出任务列表
13156
+
13157
+ @param request: DescribeEcdReportTasksRequest
13158
+ @return: DescribeEcdReportTasksResponse
13159
+ """
13160
+ runtime = util_models.RuntimeOptions()
13161
+ return await self.describe_ecd_report_tasks_with_options_async(request, runtime)
13162
+
12815
13163
def describe_flow_metric_with_options(
12816
13164
self,
12817
13165
request: ecd_20200930_models.DescribeFlowMetricRequest,
0 commit comments