@alicloud/ecd20200930 3.5.1 → 3.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecd20200930",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -3086,6 +3086,7 @@ export class CreateDesktopsRequest extends $tea.Model {
3086
3086
  endUserId?: string[];
3087
3087
  groupId?: string;
3088
3088
  hostname?: string;
3089
+ monthDesktopSetting?: CreateDesktopsRequestMonthDesktopSetting;
3089
3090
  officeSiteId?: string;
3090
3091
  period?: number;
3091
3092
  periodUnit?: string;
@@ -3115,6 +3116,7 @@ export class CreateDesktopsRequest extends $tea.Model {
3115
3116
  endUserId: 'EndUserId',
3116
3117
  groupId: 'GroupId',
3117
3118
  hostname: 'Hostname',
3119
+ monthDesktopSetting: 'MonthDesktopSetting',
3118
3120
  officeSiteId: 'OfficeSiteId',
3119
3121
  period: 'Period',
3120
3122
  periodUnit: 'PeriodUnit',
@@ -3147,6 +3149,7 @@ export class CreateDesktopsRequest extends $tea.Model {
3147
3149
  endUserId: { 'type': 'array', 'itemType': 'string' },
3148
3150
  groupId: 'string',
3149
3151
  hostname: 'string',
3152
+ monthDesktopSetting: CreateDesktopsRequestMonthDesktopSetting,
3150
3153
  officeSiteId: 'string',
3151
3154
  period: 'number',
3152
3155
  periodUnit: 'string',
@@ -15296,6 +15299,7 @@ export class RenewDesktopsRequest extends $tea.Model {
15296
15299
  periodUnit?: string;
15297
15300
  promotionId?: string;
15298
15301
  regionId?: string;
15302
+ resourceType?: string;
15299
15303
  static names(): { [key: string]: string } {
15300
15304
  return {
15301
15305
  autoPay: 'AutoPay',
@@ -15304,6 +15308,7 @@ export class RenewDesktopsRequest extends $tea.Model {
15304
15308
  periodUnit: 'PeriodUnit',
15305
15309
  promotionId: 'PromotionId',
15306
15310
  regionId: 'RegionId',
15311
+ resourceType: 'ResourceType',
15307
15312
  };
15308
15313
  }
15309
15314
 
@@ -15315,6 +15320,7 @@ export class RenewDesktopsRequest extends $tea.Model {
15315
15320
  periodUnit: 'string',
15316
15321
  promotionId: 'string',
15317
15322
  regionId: 'string',
15323
+ resourceType: 'string',
15318
15324
  };
15319
15325
  }
15320
15326
 
@@ -17633,6 +17639,31 @@ export class CreateDesktopsRequestDesktopTimers extends $tea.Model {
17633
17639
  }
17634
17640
  }
17635
17641
 
17642
+ export class CreateDesktopsRequestMonthDesktopSetting extends $tea.Model {
17643
+ buyerId?: number;
17644
+ desktopId?: string;
17645
+ useDuration?: number;
17646
+ static names(): { [key: string]: string } {
17647
+ return {
17648
+ buyerId: 'BuyerId',
17649
+ desktopId: 'DesktopId',
17650
+ useDuration: 'UseDuration',
17651
+ };
17652
+ }
17653
+
17654
+ static types(): { [key: string]: any } {
17655
+ return {
17656
+ buyerId: 'number',
17657
+ desktopId: 'string',
17658
+ useDuration: 'number',
17659
+ };
17660
+ }
17661
+
17662
+ constructor(map?: { [key: string]: any }) {
17663
+ super(map);
17664
+ }
17665
+ }
17666
+
17636
17667
  export class CreateDesktopsRequestTag extends $tea.Model {
17637
17668
  key?: string;
17638
17669
  value?: string;
@@ -20254,6 +20285,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $tea.Model {
20254
20285
  export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
20255
20286
  ADConnectors?: DescribeOfficeSitesResponseBodyOfficeSitesADConnectors[];
20256
20287
  adHostname?: string;
20288
+ backupDCHostname?: string;
20289
+ backupDns?: string;
20257
20290
  bandwidth?: number;
20258
20291
  cenAttachStatus?: string;
20259
20292
  cenId?: string;
@@ -20272,6 +20305,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
20272
20305
  enableAdminAccess?: boolean;
20273
20306
  enableCrossDesktopAccess?: boolean;
20274
20307
  enableInternetAccess?: boolean;
20308
+ enableServiceRoute?: boolean;
20275
20309
  fileSystemIds?: string[];
20276
20310
  logs?: DescribeOfficeSitesResponseBodyOfficeSitesLogs[];
20277
20311
  mfaEnabled?: boolean;
@@ -20301,6 +20335,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
20301
20335
  return {
20302
20336
  ADConnectors: 'ADConnectors',
20303
20337
  adHostname: 'AdHostname',
20338
+ backupDCHostname: 'BackupDCHostname',
20339
+ backupDns: 'BackupDns',
20304
20340
  bandwidth: 'Bandwidth',
20305
20341
  cenAttachStatus: 'CenAttachStatus',
20306
20342
  cenId: 'CenId',
@@ -20319,6 +20355,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
20319
20355
  enableAdminAccess: 'EnableAdminAccess',
20320
20356
  enableCrossDesktopAccess: 'EnableCrossDesktopAccess',
20321
20357
  enableInternetAccess: 'EnableInternetAccess',
20358
+ enableServiceRoute: 'EnableServiceRoute',
20322
20359
  fileSystemIds: 'FileSystemIds',
20323
20360
  logs: 'Logs',
20324
20361
  mfaEnabled: 'MfaEnabled',
@@ -20351,6 +20388,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
20351
20388
  return {
20352
20389
  ADConnectors: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesADConnectors },
20353
20390
  adHostname: 'string',
20391
+ backupDCHostname: 'string',
20392
+ backupDns: 'string',
20354
20393
  bandwidth: 'number',
20355
20394
  cenAttachStatus: 'string',
20356
20395
  cenId: 'string',
@@ -20369,6 +20408,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
20369
20408
  enableAdminAccess: 'boolean',
20370
20409
  enableCrossDesktopAccess: 'boolean',
20371
20410
  enableInternetAccess: 'boolean',
20411
+ enableServiceRoute: 'boolean',
20372
20412
  fileSystemIds: { 'type': 'array', 'itemType': 'string' },
20373
20413
  logs: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesLogs },
20374
20414
  mfaEnabled: 'boolean',
@@ -24887,6 +24927,10 @@ export default class Client extends OpenApi {
24887
24927
  query["Hostname"] = request.hostname;
24888
24928
  }
24889
24929
 
24930
+ if (!Util.isUnset(request.monthDesktopSetting)) {
24931
+ query["MonthDesktopSetting"] = request.monthDesktopSetting;
24932
+ }
24933
+
24890
24934
  if (!Util.isUnset(request.officeSiteId)) {
24891
24935
  query["OfficeSiteId"] = request.officeSiteId;
24892
24936
  }
@@ -33087,6 +33131,10 @@ export default class Client extends OpenApi {
33087
33131
  query["RegionId"] = request.regionId;
33088
33132
  }
33089
33133
 
33134
+ if (!Util.isUnset(request.resourceType)) {
33135
+ query["ResourceType"] = request.resourceType;
33136
+ }
33137
+
33090
33138
  let req = new $OpenApi.OpenApiRequest({
33091
33139
  query: OpenApiUtil.query(query),
33092
33140
  });