@alicloud/ecd20200930 4.16.3 → 4.17.0
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 +48 -0
- package/dist/client.js +138 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BatchModifyEntitlementRequest.d.ts +24 -0
- package/dist/models/BatchModifyEntitlementRequest.js.map +1 -1
- package/dist/models/BatchModifyEntitlementResponseBody.d.ts +35 -0
- package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalTimerBatchesRequest.d.ts +43 -0
- package/dist/models/DescribeGlobalTimerBatchesRequest.js +68 -0
- package/dist/models/DescribeGlobalTimerBatchesRequest.js.map +1 -0
- package/dist/models/DescribeGlobalTimerBatchesResponse.d.ts +19 -0
- package/dist/models/DescribeGlobalTimerBatchesResponse.js +69 -0
- package/dist/models/DescribeGlobalTimerBatchesResponse.js.map +1 -0
- package/dist/models/DescribeGlobalTimerBatchesResponseBody.d.ts +79 -0
- package/dist/models/DescribeGlobalTimerBatchesResponseBody.js +98 -0
- package/dist/models/DescribeGlobalTimerBatchesResponseBody.js.map +1 -0
- package/dist/models/DescribeGlobalTimerRecordsRequest.d.ts +107 -0
- package/dist/models/DescribeGlobalTimerRecordsRequest.js +82 -0
- package/dist/models/DescribeGlobalTimerRecordsRequest.js.map +1 -0
- package/dist/models/DescribeGlobalTimerRecordsResponse.d.ts +19 -0
- package/dist/models/DescribeGlobalTimerRecordsResponse.js +69 -0
- package/dist/models/DescribeGlobalTimerRecordsResponse.js.map +1 -0
- package/dist/models/DescribeGlobalTimerRecordsResponseBody.d.ts +128 -0
- package/dist/models/DescribeGlobalTimerRecordsResponseBody.js +106 -0
- package/dist/models/DescribeGlobalTimerRecordsResponseBody.js.map +1 -0
- package/dist/models/DescribeOfficeSitesRequest.d.ts +7 -0
- package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
- package/dist/models/ModifyTemplateRequest.d.ts +97 -3
- package/dist/models/ModifyTemplateRequest.js.map +1 -1
- package/dist/models/ModifyTemplateResponseBody.d.ts +15 -0
- package/dist/models/ModifyTemplateResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +36 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +158 -0
- package/src/models/BatchModifyEntitlementRequest.ts +24 -0
- package/src/models/BatchModifyEntitlementResponseBody.ts +35 -0
- package/src/models/DescribeGlobalTimerBatchesRequest.ts +66 -0
- package/src/models/DescribeGlobalTimerBatchesResponse.ts +40 -0
- package/src/models/DescribeGlobalTimerBatchesResponseBody.ts +123 -0
- package/src/models/DescribeGlobalTimerRecordsRequest.ts +144 -0
- package/src/models/DescribeGlobalTimerRecordsResponse.ts +40 -0
- package/src/models/DescribeGlobalTimerRecordsResponseBody.ts +180 -0
- package/src/models/DescribeOfficeSitesRequest.ts +7 -0
- package/src/models/ModifyTemplateRequest.ts +97 -3
- package/src/models/ModifyTemplateResponseBody.ts +15 -0
- package/src/models/model.ts +8 -0
package/src/client.ts
CHANGED
|
@@ -984,6 +984,11 @@ export default class Client extends OpenApi {
|
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
/**
|
|
987
|
+
* @remarks
|
|
988
|
+
* The cloud computers for which you want to change their policies must be in the Running state.
|
|
989
|
+
* * 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.
|
|
990
|
+
* * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
|
|
991
|
+
*
|
|
987
992
|
* @param request - BatchModifyEntitlementRequest
|
|
988
993
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
989
994
|
* @returns BatchModifyEntitlementResponse
|
|
@@ -1037,6 +1042,11 @@ export default class Client extends OpenApi {
|
|
|
1037
1042
|
}
|
|
1038
1043
|
|
|
1039
1044
|
/**
|
|
1045
|
+
* @remarks
|
|
1046
|
+
* The cloud computers for which you want to change their policies must be in the Running state.
|
|
1047
|
+
* * 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.
|
|
1048
|
+
* * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
|
|
1049
|
+
*
|
|
1040
1050
|
* @param request - BatchModifyEntitlementRequest
|
|
1041
1051
|
* @returns BatchModifyEntitlementResponse
|
|
1042
1052
|
*/
|
|
@@ -9282,6 +9292,146 @@ export default class Client extends OpenApi {
|
|
|
9282
9292
|
return await this.describeGlobalDesktopRecordsWithOptions(request, runtime);
|
|
9283
9293
|
}
|
|
9284
9294
|
|
|
9295
|
+
/**
|
|
9296
|
+
* 查询全局定时任务Batch记录
|
|
9297
|
+
*
|
|
9298
|
+
* @param request - DescribeGlobalTimerBatchesRequest
|
|
9299
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9300
|
+
* @returns DescribeGlobalTimerBatchesResponse
|
|
9301
|
+
*/
|
|
9302
|
+
async describeGlobalTimerBatchesWithOptions(request: $_model.DescribeGlobalTimerBatchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalTimerBatchesResponse> {
|
|
9303
|
+
request.validate();
|
|
9304
|
+
let query = { };
|
|
9305
|
+
if (!$dara.isNull(request.groupId)) {
|
|
9306
|
+
query["GroupId"] = request.groupId;
|
|
9307
|
+
}
|
|
9308
|
+
|
|
9309
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9310
|
+
query["MaxResults"] = request.maxResults;
|
|
9311
|
+
}
|
|
9312
|
+
|
|
9313
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9314
|
+
query["NextToken"] = request.nextToken;
|
|
9315
|
+
}
|
|
9316
|
+
|
|
9317
|
+
if (!$dara.isNull(request.regionId)) {
|
|
9318
|
+
query["RegionId"] = request.regionId;
|
|
9319
|
+
}
|
|
9320
|
+
|
|
9321
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
9322
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
9323
|
+
}
|
|
9324
|
+
|
|
9325
|
+
if (!$dara.isNull(request.timerType)) {
|
|
9326
|
+
query["TimerType"] = request.timerType;
|
|
9327
|
+
}
|
|
9328
|
+
|
|
9329
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9330
|
+
query: OpenApiUtil.query(query),
|
|
9331
|
+
});
|
|
9332
|
+
let params = new $OpenApiUtil.Params({
|
|
9333
|
+
action: "DescribeGlobalTimerBatches",
|
|
9334
|
+
version: "2020-09-30",
|
|
9335
|
+
protocol: "HTTPS",
|
|
9336
|
+
pathname: "/",
|
|
9337
|
+
method: "POST",
|
|
9338
|
+
authType: "AK",
|
|
9339
|
+
style: "RPC",
|
|
9340
|
+
reqBodyType: "formData",
|
|
9341
|
+
bodyType: "json",
|
|
9342
|
+
});
|
|
9343
|
+
return $dara.cast<$_model.DescribeGlobalTimerBatchesResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGlobalTimerBatchesResponse({}));
|
|
9344
|
+
}
|
|
9345
|
+
|
|
9346
|
+
/**
|
|
9347
|
+
* 查询全局定时任务Batch记录
|
|
9348
|
+
*
|
|
9349
|
+
* @param request - DescribeGlobalTimerBatchesRequest
|
|
9350
|
+
* @returns DescribeGlobalTimerBatchesResponse
|
|
9351
|
+
*/
|
|
9352
|
+
async describeGlobalTimerBatches(request: $_model.DescribeGlobalTimerBatchesRequest): Promise<$_model.DescribeGlobalTimerBatchesResponse> {
|
|
9353
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9354
|
+
return await this.describeGlobalTimerBatchesWithOptions(request, runtime);
|
|
9355
|
+
}
|
|
9356
|
+
|
|
9357
|
+
/**
|
|
9358
|
+
* Queries the execution records of scheduled tasks on cloud computers.
|
|
9359
|
+
*
|
|
9360
|
+
* @param request - DescribeGlobalTimerRecordsRequest
|
|
9361
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9362
|
+
* @returns DescribeGlobalTimerRecordsResponse
|
|
9363
|
+
*/
|
|
9364
|
+
async describeGlobalTimerRecordsWithOptions(request: $_model.DescribeGlobalTimerRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalTimerRecordsResponse> {
|
|
9365
|
+
request.validate();
|
|
9366
|
+
let query = { };
|
|
9367
|
+
if (!$dara.isNull(request.batchId)) {
|
|
9368
|
+
query["BatchId"] = request.batchId;
|
|
9369
|
+
}
|
|
9370
|
+
|
|
9371
|
+
if (!$dara.isNull(request.desktopIds)) {
|
|
9372
|
+
query["DesktopIds"] = request.desktopIds;
|
|
9373
|
+
}
|
|
9374
|
+
|
|
9375
|
+
if (!$dara.isNull(request.groupId)) {
|
|
9376
|
+
query["GroupId"] = request.groupId;
|
|
9377
|
+
}
|
|
9378
|
+
|
|
9379
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9380
|
+
query["MaxResults"] = request.maxResults;
|
|
9381
|
+
}
|
|
9382
|
+
|
|
9383
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9384
|
+
query["NextToken"] = request.nextToken;
|
|
9385
|
+
}
|
|
9386
|
+
|
|
9387
|
+
if (!$dara.isNull(request.regionId)) {
|
|
9388
|
+
query["RegionId"] = request.regionId;
|
|
9389
|
+
}
|
|
9390
|
+
|
|
9391
|
+
if (!$dara.isNull(request.resultCategory)) {
|
|
9392
|
+
query["ResultCategory"] = request.resultCategory;
|
|
9393
|
+
}
|
|
9394
|
+
|
|
9395
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
9396
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
9397
|
+
}
|
|
9398
|
+
|
|
9399
|
+
if (!$dara.isNull(request.timerResult)) {
|
|
9400
|
+
query["TimerResult"] = request.timerResult;
|
|
9401
|
+
}
|
|
9402
|
+
|
|
9403
|
+
if (!$dara.isNull(request.timerTypes)) {
|
|
9404
|
+
query["TimerTypes"] = request.timerTypes;
|
|
9405
|
+
}
|
|
9406
|
+
|
|
9407
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9408
|
+
query: OpenApiUtil.query(query),
|
|
9409
|
+
});
|
|
9410
|
+
let params = new $OpenApiUtil.Params({
|
|
9411
|
+
action: "DescribeGlobalTimerRecords",
|
|
9412
|
+
version: "2020-09-30",
|
|
9413
|
+
protocol: "HTTPS",
|
|
9414
|
+
pathname: "/",
|
|
9415
|
+
method: "POST",
|
|
9416
|
+
authType: "AK",
|
|
9417
|
+
style: "RPC",
|
|
9418
|
+
reqBodyType: "formData",
|
|
9419
|
+
bodyType: "json",
|
|
9420
|
+
});
|
|
9421
|
+
return $dara.cast<$_model.DescribeGlobalTimerRecordsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGlobalTimerRecordsResponse({}));
|
|
9422
|
+
}
|
|
9423
|
+
|
|
9424
|
+
/**
|
|
9425
|
+
* Queries the execution records of scheduled tasks on cloud computers.
|
|
9426
|
+
*
|
|
9427
|
+
* @param request - DescribeGlobalTimerRecordsRequest
|
|
9428
|
+
* @returns DescribeGlobalTimerRecordsResponse
|
|
9429
|
+
*/
|
|
9430
|
+
async describeGlobalTimerRecords(request: $_model.DescribeGlobalTimerRecordsRequest): Promise<$_model.DescribeGlobalTimerRecordsResponse> {
|
|
9431
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9432
|
+
return await this.describeGlobalTimerRecordsWithOptions(request, runtime);
|
|
9433
|
+
}
|
|
9434
|
+
|
|
9285
9435
|
/**
|
|
9286
9436
|
* Queries the applications and their processes of an end user.
|
|
9287
9437
|
*
|
|
@@ -16771,6 +16921,10 @@ export default class Client extends OpenApi {
|
|
|
16771
16921
|
/**
|
|
16772
16922
|
* Modifies a custom cloud computer template.
|
|
16773
16923
|
*
|
|
16924
|
+
* @remarks
|
|
16925
|
+
* *
|
|
16926
|
+
* **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
|
|
16927
|
+
*
|
|
16774
16928
|
* @param request - ModifyTemplateRequest
|
|
16775
16929
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
16776
16930
|
* @returns ModifyTemplateResponse
|
|
@@ -16887,6 +17041,10 @@ export default class Client extends OpenApi {
|
|
|
16887
17041
|
/**
|
|
16888
17042
|
* Modifies a custom cloud computer template.
|
|
16889
17043
|
*
|
|
17044
|
+
* @remarks
|
|
17045
|
+
* *
|
|
17046
|
+
* **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
|
|
17047
|
+
*
|
|
16890
17048
|
* @param request - ModifyTemplateRequest
|
|
16891
17049
|
* @returns ModifyTemplateResponse
|
|
16892
17050
|
*/
|
|
@@ -5,27 +5,44 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class BatchModifyEntitlementRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The IDs of the cloud computers for which you want to modify end users.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*/
|
|
10
12
|
desktopId?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The IDs of the users.
|
|
16
|
+
*/
|
|
11
17
|
endUserId?: string[];
|
|
12
18
|
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The number of cloud computers allocated to each user.
|
|
21
|
+
*
|
|
13
22
|
* @example
|
|
14
23
|
* 0
|
|
15
24
|
*/
|
|
16
25
|
maxDesktopPerUser?: number;
|
|
17
26
|
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The number of users assigned to each cloud computer.
|
|
29
|
+
*
|
|
18
30
|
* @example
|
|
19
31
|
* 1
|
|
20
32
|
*/
|
|
21
33
|
maxUserPerDesktop?: number;
|
|
22
34
|
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* Whether to preview the assign results instead of actually assigning cloud computers.
|
|
37
|
+
*
|
|
23
38
|
* @example
|
|
24
39
|
* true
|
|
25
40
|
*/
|
|
26
41
|
preview?: boolean;
|
|
27
42
|
/**
|
|
28
43
|
* @remarks
|
|
44
|
+
* The ID of the region. Call the DescribeRegions operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
|
|
45
|
+
*
|
|
29
46
|
* This parameter is required.
|
|
30
47
|
*
|
|
31
48
|
* @example
|
|
@@ -33,6 +50,13 @@ export class BatchModifyEntitlementRequest extends $dara.Model {
|
|
|
33
50
|
*/
|
|
34
51
|
regionId?: string;
|
|
35
52
|
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The disproportional assignment policy. Valid values:
|
|
55
|
+
*
|
|
56
|
+
* AVERAGE: The system preferentially guarantees that each user is assigned with at least a cloud computer. If the number of selected cloud computers cannot be proportionally assigned to the selected users, ensure that each user is assigned a cloud computer.
|
|
57
|
+
*
|
|
58
|
+
* CENTRAL: The system preferentially assigns the designated number of cloud computers to each user. If the number of selected cloud computers cannot be proportionally assigned to the selected users, ensure that each user is assigned the specified number of cloud computers.
|
|
59
|
+
*
|
|
36
60
|
* @example
|
|
37
61
|
* AVERAGE
|
|
38
62
|
*/
|
|
@@ -4,12 +4,30 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class BatchModifyEntitlementResponseBodyEntitlementsAssignModels extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The cloud computer ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ecd-e94kzikmpljjx99pl
|
|
9
12
|
*/
|
|
10
13
|
desktopId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The authorized user IDs for the cloud computer.
|
|
17
|
+
*/
|
|
11
18
|
endUserIds?: string[];
|
|
12
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The assign result for each cloud computer.
|
|
22
|
+
*
|
|
23
|
+
* Valid values:
|
|
24
|
+
*
|
|
25
|
+
* * FAILED
|
|
26
|
+
* * NOT_STARTED
|
|
27
|
+
* * STARTED
|
|
28
|
+
* * PROCESSING
|
|
29
|
+
* * FINISHED
|
|
30
|
+
*
|
|
13
31
|
* @example
|
|
14
32
|
* FINISHED
|
|
15
33
|
*/
|
|
@@ -45,11 +63,25 @@ export class BatchModifyEntitlementResponseBodyEntitlementsAssignModels extends
|
|
|
45
63
|
export class BatchModifyEntitlementResponseBodyEntitlements extends $dara.Model {
|
|
46
64
|
assignModels?: BatchModifyEntitlementResponseBodyEntitlementsAssignModels[];
|
|
47
65
|
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The result.
|
|
68
|
+
*
|
|
69
|
+
* Valid values:
|
|
70
|
+
*
|
|
71
|
+
* * FAILED
|
|
72
|
+
* * NOT_STARTED
|
|
73
|
+
* * STARTED
|
|
74
|
+
* * PROCESSING
|
|
75
|
+
* * FINISHED
|
|
76
|
+
*
|
|
48
77
|
* @example
|
|
49
78
|
* FINISHED
|
|
50
79
|
*/
|
|
51
80
|
status?: string;
|
|
52
81
|
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The task ID.
|
|
84
|
+
*
|
|
53
85
|
* @example
|
|
54
86
|
* B2F4F018-0EDF-159C-B285-117B5F1C****
|
|
55
87
|
*/
|
|
@@ -85,6 +117,9 @@ export class BatchModifyEntitlementResponseBodyEntitlements extends $dara.Model
|
|
|
85
117
|
export class BatchModifyEntitlementResponseBody extends $dara.Model {
|
|
86
118
|
entitlements?: BatchModifyEntitlementResponseBodyEntitlements;
|
|
87
119
|
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The request ID.
|
|
122
|
+
*
|
|
88
123
|
* @example
|
|
89
124
|
* 51592A88-0F2C-55E6-AD2C-2AD9C10D****
|
|
90
125
|
*/
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalTimerBatchesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ccg-i1ruuudp92qpj****
|
|
9
|
+
*/
|
|
10
|
+
groupId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
maxResults?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
19
|
+
*/
|
|
20
|
+
nextToken?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* cn-shanghai
|
|
24
|
+
*/
|
|
25
|
+
regionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* cn-hangzhou
|
|
29
|
+
*/
|
|
30
|
+
searchRegionId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 1
|
|
34
|
+
*/
|
|
35
|
+
timerType?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
groupId: 'GroupId',
|
|
39
|
+
maxResults: 'MaxResults',
|
|
40
|
+
nextToken: 'NextToken',
|
|
41
|
+
regionId: 'RegionId',
|
|
42
|
+
searchRegionId: 'SearchRegionId',
|
|
43
|
+
timerType: 'TimerType',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
groupId: 'string',
|
|
50
|
+
maxResults: 'string',
|
|
51
|
+
nextToken: 'string',
|
|
52
|
+
regionId: 'string',
|
|
53
|
+
searchRegionId: 'string',
|
|
54
|
+
timerType: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeGlobalTimerBatchesResponseBody } from "./DescribeGlobalTimerBatchesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeGlobalTimerBatchesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeGlobalTimerBatchesResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeGlobalTimerBatchesResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalTimerBatchesResponseBodyResults extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ccg-0cvfvf6u1enx1****
|
|
9
|
+
*/
|
|
10
|
+
batchId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2023-08-03T08:27:29Z
|
|
14
|
+
*/
|
|
15
|
+
createTime?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 0
|
|
19
|
+
*/
|
|
20
|
+
failedCount?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 0
|
|
24
|
+
*/
|
|
25
|
+
runningCount?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 0
|
|
29
|
+
*/
|
|
30
|
+
skippedCount?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 0
|
|
34
|
+
*/
|
|
35
|
+
succeedCount?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* TimerBoot
|
|
39
|
+
*/
|
|
40
|
+
timerType?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
batchId: 'BatchId',
|
|
44
|
+
createTime: 'CreateTime',
|
|
45
|
+
failedCount: 'FailedCount',
|
|
46
|
+
runningCount: 'RunningCount',
|
|
47
|
+
skippedCount: 'SkippedCount',
|
|
48
|
+
succeedCount: 'SucceedCount',
|
|
49
|
+
timerType: 'TimerType',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
batchId: 'string',
|
|
56
|
+
createTime: 'string',
|
|
57
|
+
failedCount: 'number',
|
|
58
|
+
runningCount: 'number',
|
|
59
|
+
skippedCount: 'number',
|
|
60
|
+
succeedCount: 'number',
|
|
61
|
+
timerType: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class DescribeGlobalTimerBatchesResponseBody extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* 1
|
|
78
|
+
*/
|
|
79
|
+
count?: number;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
83
|
+
*/
|
|
84
|
+
nextToken?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* Id of the request
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* E54EB497-D7B7-5F04-B744-D8DFA7B******
|
|
91
|
+
*/
|
|
92
|
+
requestId?: string;
|
|
93
|
+
results?: DescribeGlobalTimerBatchesResponseBodyResults[];
|
|
94
|
+
static names(): { [key: string]: string } {
|
|
95
|
+
return {
|
|
96
|
+
count: 'Count',
|
|
97
|
+
nextToken: 'NextToken',
|
|
98
|
+
requestId: 'RequestId',
|
|
99
|
+
results: 'Results',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
count: 'number',
|
|
106
|
+
nextToken: 'string',
|
|
107
|
+
requestId: 'string',
|
|
108
|
+
results: { 'type': 'array', 'itemType': DescribeGlobalTimerBatchesResponseBodyResults },
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
validate() {
|
|
113
|
+
if(Array.isArray(this.results)) {
|
|
114
|
+
$dara.Model.validateArray(this.results);
|
|
115
|
+
}
|
|
116
|
+
super.validate();
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
constructor(map?: { [key: string]: any }) {
|
|
120
|
+
super(map);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalTimerRecordsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the batch in which the scheduled task is executed.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ccg-****
|
|
12
|
+
*/
|
|
13
|
+
batchId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The cloud computer IDs.
|
|
17
|
+
*/
|
|
18
|
+
desktopIds?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The ID of the scheduled task group.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ccg-0cvfvf6u1enx1****
|
|
25
|
+
*/
|
|
26
|
+
groupId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The number of entries per page.
|
|
30
|
+
*
|
|
31
|
+
* Maximum value: 100.
|
|
32
|
+
*
|
|
33
|
+
* Default value: 10.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 10
|
|
37
|
+
*/
|
|
38
|
+
maxResults?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The pagination token that is used in the next request to retrieve a new page of results.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
|
|
45
|
+
*/
|
|
46
|
+
nextToken?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* cn-shanghai
|
|
53
|
+
*/
|
|
54
|
+
regionId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The type of the execution result. You can specify this parameter to filter the execution results.
|
|
58
|
+
*
|
|
59
|
+
* Valid values:
|
|
60
|
+
*
|
|
61
|
+
* * FAILED: The execution is successful.
|
|
62
|
+
* * FAILED: The execution failed.
|
|
63
|
+
* * RUNNING: The execution is in progress.
|
|
64
|
+
* * SKIPPED: The execution is skipped.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* SUCCEED
|
|
68
|
+
*/
|
|
69
|
+
resultCategory?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The ID of the searched region. You can specify this parameter to filter cloud computers in specific regions.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* cn-shanghai
|
|
76
|
+
*/
|
|
77
|
+
searchRegionId?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The execution result of the scheduled task.
|
|
81
|
+
*
|
|
82
|
+
* Valid values:
|
|
83
|
+
*
|
|
84
|
+
* * CONNECTED_NOT_RUN: The cloud computer is connected, but the scheduled task is not executed.
|
|
85
|
+
* * PAUSED: The scheduled task is suspended.
|
|
86
|
+
* * COMPLETED: The scheduled task is executed.
|
|
87
|
+
* * FAILED: The scheduled task failed to be executed.
|
|
88
|
+
* * RUNNING: The scheduled task is being executed.
|
|
89
|
+
* * TERMINATED: The scheduled task is stopped.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* RUNNING
|
|
93
|
+
*/
|
|
94
|
+
timerResult?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The scheduled tasks.
|
|
98
|
+
*/
|
|
99
|
+
timerTypes?: string[];
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
batchId: 'BatchId',
|
|
103
|
+
desktopIds: 'DesktopIds',
|
|
104
|
+
groupId: 'GroupId',
|
|
105
|
+
maxResults: 'MaxResults',
|
|
106
|
+
nextToken: 'NextToken',
|
|
107
|
+
regionId: 'RegionId',
|
|
108
|
+
resultCategory: 'ResultCategory',
|
|
109
|
+
searchRegionId: 'SearchRegionId',
|
|
110
|
+
timerResult: 'TimerResult',
|
|
111
|
+
timerTypes: 'TimerTypes',
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
static types(): { [key: string]: any } {
|
|
116
|
+
return {
|
|
117
|
+
batchId: 'string',
|
|
118
|
+
desktopIds: { 'type': 'array', 'itemType': 'string' },
|
|
119
|
+
groupId: 'string',
|
|
120
|
+
maxResults: 'string',
|
|
121
|
+
nextToken: 'string',
|
|
122
|
+
regionId: 'string',
|
|
123
|
+
resultCategory: 'string',
|
|
124
|
+
searchRegionId: 'string',
|
|
125
|
+
timerResult: 'string',
|
|
126
|
+
timerTypes: { 'type': 'array', 'itemType': 'string' },
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
validate() {
|
|
131
|
+
if(Array.isArray(this.desktopIds)) {
|
|
132
|
+
$dara.Model.validateArray(this.desktopIds);
|
|
133
|
+
}
|
|
134
|
+
if(Array.isArray(this.timerTypes)) {
|
|
135
|
+
$dara.Model.validateArray(this.timerTypes);
|
|
136
|
+
}
|
|
137
|
+
super.validate();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
constructor(map?: { [key: string]: any }) {
|
|
141
|
+
super(map);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|