@alicloud/ecd20201002 2.1.0 → 2.1.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/src/client.ts CHANGED
@@ -1116,6 +1116,7 @@ export class GetLoginTokenResponseBody extends $tea.Model {
1116
1116
  props?: { [key: string]: string };
1117
1117
  qrCodePng?: string;
1118
1118
  requestId?: string;
1119
+ riskVerifyInfo?: GetLoginTokenResponseBodyRiskVerifyInfo;
1119
1120
  secret?: string;
1120
1121
  sessionId?: string;
1121
1122
  tenantId?: number;
@@ -1133,6 +1134,7 @@ export class GetLoginTokenResponseBody extends $tea.Model {
1133
1134
  props: 'Props',
1134
1135
  qrCodePng: 'QrCodePng',
1135
1136
  requestId: 'RequestId',
1137
+ riskVerifyInfo: 'RiskVerifyInfo',
1136
1138
  secret: 'Secret',
1137
1139
  sessionId: 'SessionId',
1138
1140
  tenantId: 'TenantId',
@@ -1153,6 +1155,7 @@ export class GetLoginTokenResponseBody extends $tea.Model {
1153
1155
  props: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1154
1156
  qrCodePng: 'string',
1155
1157
  requestId: 'string',
1158
+ riskVerifyInfo: GetLoginTokenResponseBodyRiskVerifyInfo,
1156
1159
  secret: 'string',
1157
1160
  sessionId: 'string',
1158
1161
  tenantId: 'number',
@@ -1350,6 +1353,7 @@ export class RebootDesktopsRequest extends $tea.Model {
1350
1353
  regionId?: string;
1351
1354
  sessionId?: string;
1352
1355
  sessionToken?: string;
1356
+ uuid?: string;
1353
1357
  static names(): { [key: string]: string } {
1354
1358
  return {
1355
1359
  clientId: 'ClientId',
@@ -1361,6 +1365,7 @@ export class RebootDesktopsRequest extends $tea.Model {
1361
1365
  regionId: 'RegionId',
1362
1366
  sessionId: 'SessionId',
1363
1367
  sessionToken: 'SessionToken',
1368
+ uuid: 'Uuid',
1364
1369
  };
1365
1370
  }
1366
1371
 
@@ -1375,6 +1380,7 @@ export class RebootDesktopsRequest extends $tea.Model {
1375
1380
  regionId: 'string',
1376
1381
  sessionId: 'string',
1377
1382
  sessionToken: 'string',
1383
+ uuid: 'string',
1378
1384
  };
1379
1385
  }
1380
1386
 
@@ -2087,6 +2093,7 @@ export class StartDesktopsRequest extends $tea.Model {
2087
2093
  loginToken?: string;
2088
2094
  regionId?: string;
2089
2095
  sessionId?: string;
2096
+ uuid?: string;
2090
2097
  static names(): { [key: string]: string } {
2091
2098
  return {
2092
2099
  clientId: 'ClientId',
@@ -2097,6 +2104,7 @@ export class StartDesktopsRequest extends $tea.Model {
2097
2104
  loginToken: 'LoginToken',
2098
2105
  regionId: 'RegionId',
2099
2106
  sessionId: 'SessionId',
2107
+ uuid: 'Uuid',
2100
2108
  };
2101
2109
  }
2102
2110
 
@@ -2110,6 +2118,7 @@ export class StartDesktopsRequest extends $tea.Model {
2110
2118
  loginToken: 'string',
2111
2119
  regionId: 'string',
2112
2120
  sessionId: 'string',
2121
+ uuid: 'string',
2113
2122
  };
2114
2123
  }
2115
2124
 
@@ -3068,6 +3077,34 @@ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $tea.Model
3068
3077
  }
3069
3078
  }
3070
3079
 
3080
+ export class GetLoginTokenResponseBodyRiskVerifyInfo extends $tea.Model {
3081
+ email?: string;
3082
+ lastLockDuration?: number;
3083
+ locked?: string;
3084
+ phone?: string;
3085
+ static names(): { [key: string]: string } {
3086
+ return {
3087
+ email: 'Email',
3088
+ lastLockDuration: 'LastLockDuration',
3089
+ locked: 'Locked',
3090
+ phone: 'Phone',
3091
+ };
3092
+ }
3093
+
3094
+ static types(): { [key: string]: any } {
3095
+ return {
3096
+ email: 'string',
3097
+ lastLockDuration: 'number',
3098
+ locked: 'string',
3099
+ phone: 'string',
3100
+ };
3101
+ }
3102
+
3103
+ constructor(map?: { [key: string]: any }) {
3104
+ super(map);
3105
+ }
3106
+ }
3107
+
3071
3108
  export class QueryEdsAgentReportConfigResponseBodyData extends $tea.Model {
3072
3109
  config?: string;
3073
3110
  static names(): { [key: string]: string } {
@@ -3965,6 +4002,10 @@ export default class Client extends OpenApi {
3965
4002
  query["SessionToken"] = request.sessionToken;
3966
4003
  }
3967
4004
 
4005
+ if (!Util.isUnset(request.uuid)) {
4006
+ query["Uuid"] = request.uuid;
4007
+ }
4008
+
3968
4009
  let req = new $OpenApi.OpenApiRequest({
3969
4010
  query: OpenApiUtil.query(query),
3970
4011
  });
@@ -4404,7 +4445,7 @@ export default class Client extends OpenApi {
4404
4445
  }
4405
4446
 
4406
4447
  /**
4407
- * The ID of the client.
4448
+ * The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
4408
4449
  *
4409
4450
  * @param request StartDesktopsRequest
4410
4451
  * @param runtime runtime options for this request RuntimeOptions
@@ -4445,6 +4486,10 @@ export default class Client extends OpenApi {
4445
4486
  query["SessionId"] = request.sessionId;
4446
4487
  }
4447
4488
 
4489
+ if (!Util.isUnset(request.uuid)) {
4490
+ query["Uuid"] = request.uuid;
4491
+ }
4492
+
4448
4493
  let req = new $OpenApi.OpenApiRequest({
4449
4494
  query: OpenApiUtil.query(query),
4450
4495
  });
@@ -4463,7 +4508,7 @@ export default class Client extends OpenApi {
4463
4508
  }
4464
4509
 
4465
4510
  /**
4466
- * The ID of the client.
4511
+ * The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
4467
4512
  *
4468
4513
  * @param request StartDesktopsRequest
4469
4514
  * @return StartDesktopsResponse
@@ -4531,7 +4576,7 @@ export default class Client extends OpenApi {
4531
4576
  }
4532
4577
 
4533
4578
  /**
4534
- * The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
4579
+ * The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
4535
4580
  *
4536
4581
  * @param request StopDesktopsRequest
4537
4582
  * @param runtime runtime options for this request RuntimeOptions
@@ -4594,7 +4639,7 @@ export default class Client extends OpenApi {
4594
4639
  }
4595
4640
 
4596
4641
  /**
4597
- * The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
4642
+ * The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
4598
4643
  *
4599
4644
  * @param request StopDesktopsRequest
4600
4645
  * @return StopDesktopsResponse