@alicloud/ecd20200930 4.19.3 → 4.20.1
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.
- package/dist/client.d.ts +19 -0
- package/dist/client.js +52 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BatchModifyEntitlementResponseBody.d.ts +8 -0
- package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -1
- package/dist/models/CreateSimpleOfficeSiteRequest.d.ts +1 -0
- package/dist/models/CreateSimpleOfficeSiteRequest.js +2 -0
- package/dist/models/CreateSimpleOfficeSiteRequest.js.map +1 -1
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +2 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js +4 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
- package/dist/models/DescribeSubnetsRequest.d.ts +1 -0
- package/dist/models/DescribeSubnetsRequest.js +2 -0
- package/dist/models/DescribeSubnetsRequest.js.map +1 -1
- package/dist/models/ListTransferFileDownloadUrlRequest.d.ts +19 -0
- package/dist/models/ListTransferFileDownloadUrlRequest.js +63 -0
- package/dist/models/ListTransferFileDownloadUrlRequest.js.map +1 -0
- package/dist/models/ListTransferFileDownloadUrlResponse.d.ts +19 -0
- package/dist/models/ListTransferFileDownloadUrlResponse.js +69 -0
- package/dist/models/ListTransferFileDownloadUrlResponse.js.map +1 -0
- package/dist/models/ListTransferFileDownloadUrlResponseBody.d.ts +51 -0
- package/dist/models/ListTransferFileDownloadUrlResponseBody.js +88 -0
- package/dist/models/ListTransferFileDownloadUrlResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +27 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +58 -0
- package/src/models/BatchModifyEntitlementResponseBody.ts +8 -0
- package/src/models/CreateSimpleOfficeSiteRequest.ts +3 -0
- package/src/models/DescribeOfficeSitesResponseBody.ts +6 -0
- package/src/models/DescribeSubnetsRequest.ts +3 -0
- package/src/models/ListTransferFileDownloadUrlRequest.ts +37 -0
- package/src/models/ListTransferFileDownloadUrlResponse.ts +40 -0
- package/src/models/ListTransferFileDownloadUrlResponseBody.ts +85 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -293,6 +293,8 @@ export default class Client extends OpenApi {
|
|
|
293
293
|
*/
|
|
294
294
|
attachEndUser(request: $_model.AttachEndUserRequest): Promise<$_model.AttachEndUserResponse>;
|
|
295
295
|
/**
|
|
296
|
+
* Assigns multiple cloud computers to users in a batch.
|
|
297
|
+
*
|
|
296
298
|
* @remarks
|
|
297
299
|
* The cloud computers for which you want to change their policies must be in the Running state.
|
|
298
300
|
* * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
|
|
@@ -304,6 +306,8 @@ export default class Client extends OpenApi {
|
|
|
304
306
|
*/
|
|
305
307
|
batchModifyEntitlementWithOptions(request: $_model.BatchModifyEntitlementRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchModifyEntitlementResponse>;
|
|
306
308
|
/**
|
|
309
|
+
* Assigns multiple cloud computers to users in a batch.
|
|
310
|
+
*
|
|
307
311
|
* @remarks
|
|
308
312
|
* The cloud computers for which you want to change their policies must be in the Running state.
|
|
309
313
|
* * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
|
|
@@ -3231,6 +3235,21 @@ export default class Client extends OpenApi {
|
|
|
3231
3235
|
* @returns ListTagResourcesResponse
|
|
3232
3236
|
*/
|
|
3233
3237
|
listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>;
|
|
3238
|
+
/**
|
|
3239
|
+
* 获取文件列表
|
|
3240
|
+
*
|
|
3241
|
+
* @param request - ListTransferFileDownloadUrlRequest
|
|
3242
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3243
|
+
* @returns ListTransferFileDownloadUrlResponse
|
|
3244
|
+
*/
|
|
3245
|
+
listTransferFileDownloadUrlWithOptions(request: $_model.ListTransferFileDownloadUrlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTransferFileDownloadUrlResponse>;
|
|
3246
|
+
/**
|
|
3247
|
+
* 获取文件列表
|
|
3248
|
+
*
|
|
3249
|
+
* @param request - ListTransferFileDownloadUrlRequest
|
|
3250
|
+
* @returns ListTransferFileDownloadUrlResponse
|
|
3251
|
+
*/
|
|
3252
|
+
listTransferFileDownloadUrl(request: $_model.ListTransferFileDownloadUrlRequest): Promise<$_model.ListTransferFileDownloadUrlResponse>;
|
|
3234
3253
|
/**
|
|
3235
3254
|
* Queries the file information of a file transmission task.
|
|
3236
3255
|
*
|
package/dist/client.js
CHANGED
|
@@ -909,6 +909,8 @@ class Client extends openapi_core_1.default {
|
|
|
909
909
|
return await this.attachEndUserWithOptions(request, runtime);
|
|
910
910
|
}
|
|
911
911
|
/**
|
|
912
|
+
* Assigns multiple cloud computers to users in a batch.
|
|
913
|
+
*
|
|
912
914
|
* @remarks
|
|
913
915
|
* The cloud computers for which you want to change their policies must be in the Running state.
|
|
914
916
|
* * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
|
|
@@ -959,6 +961,8 @@ class Client extends openapi_core_1.default {
|
|
|
959
961
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchModifyEntitlementResponse({}));
|
|
960
962
|
}
|
|
961
963
|
/**
|
|
964
|
+
* Assigns multiple cloud computers to users in a batch.
|
|
965
|
+
*
|
|
962
966
|
* @remarks
|
|
963
967
|
* The cloud computers for which you want to change their policies must be in the Running state.
|
|
964
968
|
* * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
|
|
@@ -4213,6 +4217,9 @@ class Client extends openapi_core_1.default {
|
|
|
4213
4217
|
if (!$dara.isNull(request.domainName)) {
|
|
4214
4218
|
query["DomainName"] = request.domainName;
|
|
4215
4219
|
}
|
|
4220
|
+
if (!$dara.isNull(request.eid)) {
|
|
4221
|
+
query["Eid"] = request.eid;
|
|
4222
|
+
}
|
|
4216
4223
|
if (!$dara.isNull(request.enableAdminAccess)) {
|
|
4217
4224
|
query["EnableAdminAccess"] = request.enableAdminAccess;
|
|
4218
4225
|
}
|
|
@@ -9888,6 +9895,9 @@ class Client extends openapi_core_1.default {
|
|
|
9888
9895
|
async describeSubnetsWithOptions(request, runtime) {
|
|
9889
9896
|
request.validate();
|
|
9890
9897
|
let query = {};
|
|
9898
|
+
if (!$dara.isNull(request.eid)) {
|
|
9899
|
+
query["Eid"] = request.eid;
|
|
9900
|
+
}
|
|
9891
9901
|
if (!$dara.isNull(request.maxResults)) {
|
|
9892
9902
|
query["MaxResults"] = request.maxResults;
|
|
9893
9903
|
}
|
|
@@ -11767,6 +11777,48 @@ class Client extends openapi_core_1.default {
|
|
|
11767
11777
|
let runtime = new $dara.RuntimeOptions({});
|
|
11768
11778
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
11769
11779
|
}
|
|
11780
|
+
/**
|
|
11781
|
+
* 获取文件列表
|
|
11782
|
+
*
|
|
11783
|
+
* @param request - ListTransferFileDownloadUrlRequest
|
|
11784
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11785
|
+
* @returns ListTransferFileDownloadUrlResponse
|
|
11786
|
+
*/
|
|
11787
|
+
async listTransferFileDownloadUrlWithOptions(request, runtime) {
|
|
11788
|
+
request.validate();
|
|
11789
|
+
let query = {};
|
|
11790
|
+
if (!$dara.isNull(request.fileIds)) {
|
|
11791
|
+
query["FileIds"] = request.fileIds;
|
|
11792
|
+
}
|
|
11793
|
+
if (!$dara.isNull(request.taskId)) {
|
|
11794
|
+
query["TaskId"] = request.taskId;
|
|
11795
|
+
}
|
|
11796
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11797
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11798
|
+
});
|
|
11799
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11800
|
+
action: "ListTransferFileDownloadUrl",
|
|
11801
|
+
version: "2020-09-30",
|
|
11802
|
+
protocol: "HTTPS",
|
|
11803
|
+
pathname: "/",
|
|
11804
|
+
method: "POST",
|
|
11805
|
+
authType: "AK",
|
|
11806
|
+
style: "RPC",
|
|
11807
|
+
reqBodyType: "formData",
|
|
11808
|
+
bodyType: "json",
|
|
11809
|
+
});
|
|
11810
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTransferFileDownloadUrlResponse({}));
|
|
11811
|
+
}
|
|
11812
|
+
/**
|
|
11813
|
+
* 获取文件列表
|
|
11814
|
+
*
|
|
11815
|
+
* @param request - ListTransferFileDownloadUrlRequest
|
|
11816
|
+
* @returns ListTransferFileDownloadUrlResponse
|
|
11817
|
+
*/
|
|
11818
|
+
async listTransferFileDownloadUrl(request) {
|
|
11819
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11820
|
+
return await this.listTransferFileDownloadUrlWithOptions(request, runtime);
|
|
11821
|
+
}
|
|
11770
11822
|
/**
|
|
11771
11823
|
* Queries the file information of a file transmission task.
|
|
11772
11824
|
*
|