@alicloud/ecd20200930 4.21.2 → 4.22.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.
Files changed (73) hide show
  1. package/dist/client.d.ts +53 -2
  2. package/dist/client.js +167 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEcdReportTaskRequest.d.ts +1 -0
  5. package/dist/models/CreateEcdReportTaskRequest.js +2 -0
  6. package/dist/models/CreateEcdReportTaskRequest.js.map +1 -1
  7. package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +125 -0
  8. package/dist/models/CreateOfficeSiteAcceleratorRequest.js +94 -0
  9. package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -0
  10. package/dist/models/CreateOfficeSiteAcceleratorResponse.d.ts +19 -0
  11. package/dist/models/CreateOfficeSiteAcceleratorResponse.js +69 -0
  12. package/dist/models/CreateOfficeSiteAcceleratorResponse.js.map +1 -0
  13. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +29 -0
  14. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.js +60 -0
  15. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.js.map +1 -0
  16. package/dist/models/DeleteOfficeSiteAcceleratorRequest.d.ts +29 -0
  17. package/dist/models/DeleteOfficeSiteAcceleratorRequest.js +60 -0
  18. package/dist/models/DeleteOfficeSiteAcceleratorRequest.js.map +1 -0
  19. package/dist/models/DeleteOfficeSiteAcceleratorResponse.d.ts +19 -0
  20. package/dist/models/DeleteOfficeSiteAcceleratorResponse.js +69 -0
  21. package/dist/models/DeleteOfficeSiteAcceleratorResponse.js.map +1 -0
  22. package/dist/models/DeleteOfficeSiteAcceleratorResponseBody.d.ts +21 -0
  23. package/dist/models/DeleteOfficeSiteAcceleratorResponseBody.js +58 -0
  24. package/dist/models/DeleteOfficeSiteAcceleratorResponseBody.js.map +1 -0
  25. package/dist/models/DescribeDesktopInfoRequest.d.ts +1 -0
  26. package/dist/models/DescribeDesktopInfoRequest.js +2 -0
  27. package/dist/models/DescribeDesktopInfoRequest.js.map +1 -1
  28. package/dist/models/DescribeDesktopTypesRequest.d.ts +1 -0
  29. package/dist/models/DescribeDesktopTypesRequest.js +2 -0
  30. package/dist/models/DescribeDesktopTypesRequest.js.map +1 -1
  31. package/dist/models/DescribeDesktopsRequest.d.ts +1 -0
  32. package/dist/models/DescribeDesktopsRequest.js +2 -0
  33. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  34. package/dist/models/DescribeEcdReportTasksRequest.d.ts +1 -0
  35. package/dist/models/DescribeEcdReportTasksRequest.js +2 -0
  36. package/dist/models/DescribeEcdReportTasksRequest.js.map +1 -1
  37. package/dist/models/DescribeZonesRequest.d.ts +1 -0
  38. package/dist/models/DescribeZonesRequest.js +2 -0
  39. package/dist/models/DescribeZonesRequest.js.map +1 -1
  40. package/dist/models/ModifyOfficeSiteAcceleratorRequest.d.ts +71 -0
  41. package/dist/models/ModifyOfficeSiteAcceleratorRequest.js +90 -0
  42. package/dist/models/ModifyOfficeSiteAcceleratorRequest.js.map +1 -0
  43. package/dist/models/ModifyOfficeSiteAcceleratorResponse.d.ts +19 -0
  44. package/dist/models/ModifyOfficeSiteAcceleratorResponse.js +69 -0
  45. package/dist/models/ModifyOfficeSiteAcceleratorResponse.js.map +1 -0
  46. package/dist/models/ModifyOfficeSiteAcceleratorResponseBody.d.ts +21 -0
  47. package/dist/models/ModifyOfficeSiteAcceleratorResponseBody.js +58 -0
  48. package/dist/models/ModifyOfficeSiteAcceleratorResponseBody.js.map +1 -0
  49. package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +1 -0
  50. package/dist/models/ModifyOfficeSiteAttributeRequest.js +5 -0
  51. package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
  52. package/dist/models/model.d.ts +11 -0
  53. package/dist/models/model.js +45 -23
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +190 -2
  57. package/src/models/CreateEcdReportTaskRequest.ts +3 -0
  58. package/src/models/CreateOfficeSiteAcceleratorRequest.ts +165 -0
  59. package/src/models/CreateOfficeSiteAcceleratorResponse.ts +40 -0
  60. package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +44 -0
  61. package/src/models/DeleteOfficeSiteAcceleratorRequest.ts +44 -0
  62. package/src/models/DeleteOfficeSiteAcceleratorResponse.ts +40 -0
  63. package/src/models/DeleteOfficeSiteAcceleratorResponseBody.ts +34 -0
  64. package/src/models/DescribeDesktopInfoRequest.ts +3 -0
  65. package/src/models/DescribeDesktopTypesRequest.ts +3 -0
  66. package/src/models/DescribeDesktopsRequest.ts +3 -0
  67. package/src/models/DescribeEcdReportTasksRequest.ts +3 -0
  68. package/src/models/DescribeZonesRequest.ts +3 -0
  69. package/src/models/ModifyOfficeSiteAcceleratorRequest.ts +107 -0
  70. package/src/models/ModifyOfficeSiteAcceleratorResponse.ts +40 -0
  71. package/src/models/ModifyOfficeSiteAcceleratorResponseBody.ts +34 -0
  72. package/src/models/ModifyOfficeSiteAttributeRequest.ts +6 -0
  73. package/src/models/model.ts +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecd20200930",
3
- "version": "4.21.2",
3
+ "version": "4.22.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -4011,6 +4011,10 @@ export default class Client extends OpenApi {
4011
4011
  async createEcdReportTaskWithOptions(request: $_model.CreateEcdReportTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateEcdReportTaskResponse> {
4012
4012
  request.validate();
4013
4013
  let query = { };
4014
+ if (!$dara.isNull(request.businessChannel)) {
4015
+ query["BusinessChannel"] = request.businessChannel;
4016
+ }
4017
+
4014
4018
  if (!$dara.isNull(request.filterList)) {
4015
4019
  query["FilterList"] = request.filterList;
4016
4020
  }
@@ -4429,6 +4433,70 @@ export default class Client extends OpenApi {
4429
4433
  return await this.createNetworkPackageWithOptions(request, runtime);
4430
4434
  }
4431
4435
 
4436
+ /**
4437
+ * Enables global acceleration for office networks.
4438
+ *
4439
+ * @remarks
4440
+ * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
4441
+ *
4442
+ * @param request - CreateOfficeSiteAcceleratorRequest
4443
+ * @param runtime - runtime options for this request RuntimeOptions
4444
+ * @returns CreateOfficeSiteAcceleratorResponse
4445
+ */
4446
+ async createOfficeSiteAcceleratorWithOptions(request: $_model.CreateOfficeSiteAcceleratorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateOfficeSiteAcceleratorResponse> {
4447
+ request.validate();
4448
+ let query = { };
4449
+ if (!$dara.isNull(request.accelerateRegion)) {
4450
+ query["AccelerateRegion"] = request.accelerateRegion;
4451
+ }
4452
+
4453
+ if (!$dara.isNull(request.name)) {
4454
+ query["Name"] = request.name;
4455
+ }
4456
+
4457
+ if (!$dara.isNull(request.officeSiteId)) {
4458
+ query["OfficeSiteId"] = request.officeSiteId;
4459
+ }
4460
+
4461
+ if (!$dara.isNull(request.regionId)) {
4462
+ query["RegionId"] = request.regionId;
4463
+ }
4464
+
4465
+ if (!$dara.isNull(request.resourceGroupId)) {
4466
+ query["ResourceGroupId"] = request.resourceGroupId;
4467
+ }
4468
+
4469
+ let req = new $OpenApiUtil.OpenApiRequest({
4470
+ query: OpenApiUtil.query(query),
4471
+ });
4472
+ let params = new $OpenApiUtil.Params({
4473
+ action: "CreateOfficeSiteAccelerator",
4474
+ version: "2020-09-30",
4475
+ protocol: "HTTPS",
4476
+ pathname: "/",
4477
+ method: "POST",
4478
+ authType: "AK",
4479
+ style: "RPC",
4480
+ reqBodyType: "formData",
4481
+ bodyType: "json",
4482
+ });
4483
+ return $dara.cast<$_model.CreateOfficeSiteAcceleratorResponse>(await this.callApi(params, req, runtime), new $_model.CreateOfficeSiteAcceleratorResponse({}));
4484
+ }
4485
+
4486
+ /**
4487
+ * Enables global acceleration for office networks.
4488
+ *
4489
+ * @remarks
4490
+ * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
4491
+ *
4492
+ * @param request - CreateOfficeSiteAcceleratorRequest
4493
+ * @returns CreateOfficeSiteAcceleratorResponse
4494
+ */
4495
+ async createOfficeSiteAccelerator(request: $_model.CreateOfficeSiteAcceleratorRequest): Promise<$_model.CreateOfficeSiteAcceleratorResponse> {
4496
+ let runtime = new $dara.RuntimeOptions({ });
4497
+ return await this.createOfficeSiteAcceleratorWithOptions(request, runtime);
4498
+ }
4499
+
4432
4500
  /**
4433
4501
  * Creates a cloud computer policy.
4434
4502
  *
@@ -6324,6 +6392,52 @@ export default class Client extends OpenApi {
6324
6392
  return await this.deleteNetworkPackagesWithOptions(request, runtime);
6325
6393
  }
6326
6394
 
6395
+ /**
6396
+ * Deletes Global Accelerator (GA) configuration.
6397
+ *
6398
+ * @param request - DeleteOfficeSiteAcceleratorRequest
6399
+ * @param runtime - runtime options for this request RuntimeOptions
6400
+ * @returns DeleteOfficeSiteAcceleratorResponse
6401
+ */
6402
+ async deleteOfficeSiteAcceleratorWithOptions(request: $_model.DeleteOfficeSiteAcceleratorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteOfficeSiteAcceleratorResponse> {
6403
+ request.validate();
6404
+ let query = { };
6405
+ if (!$dara.isNull(request.officeSiteId)) {
6406
+ query["OfficeSiteId"] = request.officeSiteId;
6407
+ }
6408
+
6409
+ if (!$dara.isNull(request.regionId)) {
6410
+ query["RegionId"] = request.regionId;
6411
+ }
6412
+
6413
+ let req = new $OpenApiUtil.OpenApiRequest({
6414
+ query: OpenApiUtil.query(query),
6415
+ });
6416
+ let params = new $OpenApiUtil.Params({
6417
+ action: "DeleteOfficeSiteAccelerator",
6418
+ version: "2020-09-30",
6419
+ protocol: "HTTPS",
6420
+ pathname: "/",
6421
+ method: "POST",
6422
+ authType: "AK",
6423
+ style: "RPC",
6424
+ reqBodyType: "formData",
6425
+ bodyType: "json",
6426
+ });
6427
+ return $dara.cast<$_model.DeleteOfficeSiteAcceleratorResponse>(await this.callApi(params, req, runtime), new $_model.DeleteOfficeSiteAcceleratorResponse({}));
6428
+ }
6429
+
6430
+ /**
6431
+ * Deletes Global Accelerator (GA) configuration.
6432
+ *
6433
+ * @param request - DeleteOfficeSiteAcceleratorRequest
6434
+ * @returns DeleteOfficeSiteAcceleratorResponse
6435
+ */
6436
+ async deleteOfficeSiteAccelerator(request: $_model.DeleteOfficeSiteAcceleratorRequest): Promise<$_model.DeleteOfficeSiteAcceleratorResponse> {
6437
+ let runtime = new $dara.RuntimeOptions({ });
6438
+ return await this.deleteOfficeSiteAcceleratorWithOptions(request, runtime);
6439
+ }
6440
+
6327
6441
  /**
6328
6442
  * Deletes office networks (formerly workspaces).
6329
6443
  *
@@ -8024,6 +8138,10 @@ export default class Client extends OpenApi {
8024
8138
  async describeDesktopInfoWithOptions(request: $_model.DescribeDesktopInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDesktopInfoResponse> {
8025
8139
  request.validate();
8026
8140
  let query = { };
8141
+ if (!$dara.isNull(request.businessChannel)) {
8142
+ query["BusinessChannel"] = request.businessChannel;
8143
+ }
8144
+
8027
8145
  if (!$dara.isNull(request.desktopId)) {
8028
8146
  query["DesktopId"] = request.desktopId;
8029
8147
  }
@@ -8449,6 +8567,10 @@ export default class Client extends OpenApi {
8449
8567
  query["AppliedScope"] = request.appliedScope;
8450
8568
  }
8451
8569
 
8570
+ if (!$dara.isNull(request.businessChannel)) {
8571
+ query["BusinessChannel"] = request.businessChannel;
8572
+ }
8573
+
8452
8574
  if (!$dara.isNull(request.cpuCount)) {
8453
8575
  query["CpuCount"] = request.cpuCount;
8454
8576
  }
@@ -8566,6 +8688,10 @@ export default class Client extends OpenApi {
8566
8688
  async describeDesktopsWithOptions(request: $_model.DescribeDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDesktopsResponse> {
8567
8689
  request.validate();
8568
8690
  let query = { };
8691
+ if (!$dara.isNull(request.businessChannel)) {
8692
+ query["BusinessChannel"] = request.businessChannel;
8693
+ }
8694
+
8569
8695
  if (!$dara.isNull(request.chargeType)) {
8570
8696
  query["ChargeType"] = request.chargeType;
8571
8697
  }
@@ -9024,6 +9150,10 @@ export default class Client extends OpenApi {
9024
9150
  async describeEcdReportTasksWithOptions(request: $_model.DescribeEcdReportTasksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEcdReportTasksResponse> {
9025
9151
  request.validate();
9026
9152
  let query = { };
9153
+ if (!$dara.isNull(request.businessChannel)) {
9154
+ query["BusinessChannel"] = request.businessChannel;
9155
+ }
9156
+
9027
9157
  if (!$dara.isNull(request.pageNum)) {
9028
9158
  query["PageNum"] = request.pageNum;
9029
9159
  }
@@ -12252,6 +12382,10 @@ export default class Client extends OpenApi {
12252
12382
  query["RegionId"] = request.regionId;
12253
12383
  }
12254
12384
 
12385
+ if (!$dara.isNull(request.vpcAccessZone)) {
12386
+ query["VpcAccessZone"] = request.vpcAccessZone;
12387
+ }
12388
+
12255
12389
  if (!$dara.isNull(request.zoneType)) {
12256
12390
  query["ZoneType"] = request.zoneType;
12257
12391
  }
@@ -16724,6 +16858,56 @@ export default class Client extends OpenApi {
16724
16858
  return await this.modifyNetworkPackageEnabledWithOptions(request, runtime);
16725
16859
  }
16726
16860
 
16861
+ /**
16862
+ * Modifies Global Accelerator (GA) configuration.
16863
+ *
16864
+ * @param request - ModifyOfficeSiteAcceleratorRequest
16865
+ * @param runtime - runtime options for this request RuntimeOptions
16866
+ * @returns ModifyOfficeSiteAcceleratorResponse
16867
+ */
16868
+ async modifyOfficeSiteAcceleratorWithOptions(request: $_model.ModifyOfficeSiteAcceleratorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyOfficeSiteAcceleratorResponse> {
16869
+ request.validate();
16870
+ let query = { };
16871
+ if (!$dara.isNull(request.accelerateRegion)) {
16872
+ query["AccelerateRegion"] = request.accelerateRegion;
16873
+ }
16874
+
16875
+ if (!$dara.isNull(request.officeSiteId)) {
16876
+ query["OfficeSiteId"] = request.officeSiteId;
16877
+ }
16878
+
16879
+ if (!$dara.isNull(request.regionId)) {
16880
+ query["RegionId"] = request.regionId;
16881
+ }
16882
+
16883
+ let req = new $OpenApiUtil.OpenApiRequest({
16884
+ query: OpenApiUtil.query(query),
16885
+ });
16886
+ let params = new $OpenApiUtil.Params({
16887
+ action: "ModifyOfficeSiteAccelerator",
16888
+ version: "2020-09-30",
16889
+ protocol: "HTTPS",
16890
+ pathname: "/",
16891
+ method: "POST",
16892
+ authType: "AK",
16893
+ style: "RPC",
16894
+ reqBodyType: "formData",
16895
+ bodyType: "json",
16896
+ });
16897
+ return $dara.cast<$_model.ModifyOfficeSiteAcceleratorResponse>(await this.callApi(params, req, runtime), new $_model.ModifyOfficeSiteAcceleratorResponse({}));
16898
+ }
16899
+
16900
+ /**
16901
+ * Modifies Global Accelerator (GA) configuration.
16902
+ *
16903
+ * @param request - ModifyOfficeSiteAcceleratorRequest
16904
+ * @returns ModifyOfficeSiteAcceleratorResponse
16905
+ */
16906
+ async modifyOfficeSiteAccelerator(request: $_model.ModifyOfficeSiteAcceleratorRequest): Promise<$_model.ModifyOfficeSiteAcceleratorResponse> {
16907
+ let runtime = new $dara.RuntimeOptions({ });
16908
+ return await this.modifyOfficeSiteAcceleratorWithOptions(request, runtime);
16909
+ }
16910
+
16727
16911
  /**
16728
16912
  * Modifies the basic properties of an office network, including the name and local administrator permission settings.
16729
16913
  *
@@ -16782,6 +16966,10 @@ export default class Client extends OpenApi {
16782
16966
  query["TenantId"] = request.tenantId;
16783
16967
  }
16784
16968
 
16969
+ if (!$dara.isNull(request.vSwitchId)) {
16970
+ query["VSwitchId"] = request.vSwitchId;
16971
+ }
16972
+
16785
16973
  let req = new $OpenApiUtil.OpenApiRequest({
16786
16974
  query: OpenApiUtil.query(query),
16787
16975
  });
@@ -18784,7 +18972,7 @@ export default class Client extends OpenApi {
18784
18972
  }
18785
18973
 
18786
18974
  /**
18787
- * Runs a PowerShell or batch (.bat) command on one or more Windows cloud computers.
18975
+ * Runs a PowerShell or batch (.bat) script on Windows cloud desktops.
18788
18976
  *
18789
18977
  * @remarks
18790
18978
  * You can use the RunCommand operation to run scripts only on Windows cloud desktops.
@@ -18846,7 +19034,7 @@ export default class Client extends OpenApi {
18846
19034
  }
18847
19035
 
18848
19036
  /**
18849
- * Runs a PowerShell or batch (.bat) command on one or more Windows cloud computers.
19037
+ * Runs a PowerShell or batch (.bat) script on Windows cloud desktops.
18850
19038
  *
18851
19039
  * @remarks
18852
19040
  * You can use the RunCommand operation to run scripts only on Windows cloud desktops.
@@ -70,6 +70,7 @@ export class CreateEcdReportTaskRequestFilterList extends $dara.Model {
70
70
  }
71
71
 
72
72
  export class CreateEcdReportTaskRequest extends $dara.Model {
73
+ businessChannel?: string;
73
74
  /**
74
75
  * @remarks
75
76
  * The filter conditions for filtering query results. The logical relationship between each filter condition is "and" (&). Each filter condition contains FilterKey and FilterValues, which indicate the key and value for the filter condition.
@@ -123,6 +124,7 @@ export class CreateEcdReportTaskRequest extends $dara.Model {
123
124
  taskType?: string;
124
125
  static names(): { [key: string]: string } {
125
126
  return {
127
+ businessChannel: 'BusinessChannel',
126
128
  filterList: 'FilterList',
127
129
  langType: 'LangType',
128
130
  reportFileName: 'ReportFileName',
@@ -133,6 +135,7 @@ export class CreateEcdReportTaskRequest extends $dara.Model {
133
135
 
134
136
  static types(): { [key: string]: any } {
135
137
  return {
138
+ businessChannel: 'string',
136
139
  filterList: { 'type': 'array', 'itemType': CreateEcdReportTaskRequestFilterList },
137
140
  langType: 'string',
138
141
  reportFileName: 'string',
@@ -0,0 +1,165 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateOfficeSiteAcceleratorRequestAccelerateRegion extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the region to include in global acceleration.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * ap-southeast-1
14
+ */
15
+ accelerateRegionId?: string;
16
+ /**
17
+ * @remarks
18
+ * The bandwidth that you want to allocate to the acceleration region. Unit: Mbit/s.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * 50
24
+ */
25
+ bandwidth?: number;
26
+ /**
27
+ * @remarks
28
+ * The IP version used to connect to the GA instance.
29
+ *
30
+ * > Only pay-as-you-go standard GA instances support `DUAL_STACK`.
31
+ *
32
+ * Valid values:
33
+ *
34
+ * * DUAL_STACK: IPv4 and IPv6.
35
+ * * IPv6: IPv6.
36
+ * * IPv4 (default): IPv4.
37
+ *
38
+ * @example
39
+ * IPv4
40
+ */
41
+ ipVersion?: string;
42
+ /**
43
+ * @remarks
44
+ * The line type of the elastic IP address (EIP) in the acceleration region.
45
+ *
46
+ * >
47
+ *
48
+ * * This parameter is required only if the bandwidth metering method of the GA instance is **pay-by-data transfer**.
49
+ *
50
+ * * Different acceleration regions support different line types of EIPs.
51
+ *
52
+ * Valid values:
53
+ *
54
+ * * BGP: BGP (Multi-ISP) lines.
55
+ * * BGP_PRO: BGP (Multi-ISP) Pro.
56
+ *
57
+ * This parameter is required.
58
+ *
59
+ * @example
60
+ * BGP
61
+ */
62
+ ispType?: string;
63
+ static names(): { [key: string]: string } {
64
+ return {
65
+ accelerateRegionId: 'AccelerateRegionId',
66
+ bandwidth: 'Bandwidth',
67
+ ipVersion: 'IpVersion',
68
+ ispType: 'IspType',
69
+ };
70
+ }
71
+
72
+ static types(): { [key: string]: any } {
73
+ return {
74
+ accelerateRegionId: 'string',
75
+ bandwidth: 'number',
76
+ ipVersion: 'string',
77
+ ispType: 'string',
78
+ };
79
+ }
80
+
81
+ validate() {
82
+ super.validate();
83
+ }
84
+
85
+ constructor(map?: { [key: string]: any }) {
86
+ super(map);
87
+ }
88
+ }
89
+
90
+ export class CreateOfficeSiteAcceleratorRequest extends $dara.Model {
91
+ /**
92
+ * @remarks
93
+ * The regions to include in global acceleration.
94
+ *
95
+ * This parameter is required.
96
+ */
97
+ accelerateRegion?: CreateOfficeSiteAcceleratorRequestAccelerateRegion[];
98
+ /**
99
+ * @remarks
100
+ * The name of the GA instance.
101
+ *
102
+ * @example
103
+ * testGA
104
+ */
105
+ name?: string;
106
+ /**
107
+ * @remarks
108
+ * The office network ID.
109
+ *
110
+ * This parameter is required.
111
+ *
112
+ * @example
113
+ * cn-shanghai+dir-259382****
114
+ */
115
+ officeSiteId?: string;
116
+ /**
117
+ * @remarks
118
+ * The region ID.
119
+ *
120
+ * This parameter is required.
121
+ *
122
+ * @example
123
+ * cn-shanghai
124
+ */
125
+ regionId?: string;
126
+ /**
127
+ * @remarks
128
+ * The resource group ID.
129
+ *
130
+ * @example
131
+ * rg-3mtuc28rx95lx****
132
+ */
133
+ resourceGroupId?: string;
134
+ static names(): { [key: string]: string } {
135
+ return {
136
+ accelerateRegion: 'AccelerateRegion',
137
+ name: 'Name',
138
+ officeSiteId: 'OfficeSiteId',
139
+ regionId: 'RegionId',
140
+ resourceGroupId: 'ResourceGroupId',
141
+ };
142
+ }
143
+
144
+ static types(): { [key: string]: any } {
145
+ return {
146
+ accelerateRegion: { 'type': 'array', 'itemType': CreateOfficeSiteAcceleratorRequestAccelerateRegion },
147
+ name: 'string',
148
+ officeSiteId: 'string',
149
+ regionId: 'string',
150
+ resourceGroupId: 'string',
151
+ };
152
+ }
153
+
154
+ validate() {
155
+ if(Array.isArray(this.accelerateRegion)) {
156
+ $dara.Model.validateArray(this.accelerateRegion);
157
+ }
158
+ super.validate();
159
+ }
160
+
161
+ constructor(map?: { [key: string]: any }) {
162
+ super(map);
163
+ }
164
+ }
165
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateOfficeSiteAcceleratorResponseBody } from "./CreateOfficeSiteAcceleratorResponseBody";
4
+
5
+
6
+ export class CreateOfficeSiteAcceleratorResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateOfficeSiteAcceleratorResponseBody;
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: CreateOfficeSiteAcceleratorResponseBody,
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,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateOfficeSiteAcceleratorResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the GA instance.
9
+ *
10
+ * @example
11
+ * ga-bp1qxuk10jceqw3zb***p
12
+ */
13
+ acceleratorId?: string;
14
+ /**
15
+ * @remarks
16
+ * The request ID.
17
+ *
18
+ * @example
19
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
20
+ */
21
+ requestId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ acceleratorId: 'AcceleratorId',
25
+ requestId: 'RequestId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ acceleratorId: 'string',
32
+ requestId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteOfficeSiteAcceleratorRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * cn-hangzhou+dir-885351****
12
+ */
13
+ officeSiteId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * cn-shanghai
20
+ */
21
+ regionId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ officeSiteId: 'OfficeSiteId',
25
+ regionId: 'RegionId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ officeSiteId: 'string',
32
+ regionId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteOfficeSiteAcceleratorResponseBody } from "./DeleteOfficeSiteAcceleratorResponseBody";
4
+
5
+
6
+ export class DeleteOfficeSiteAcceleratorResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteOfficeSiteAcceleratorResponseBody;
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: DeleteOfficeSiteAcceleratorResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteOfficeSiteAcceleratorResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * EE9472BC-0B5D-5458-85CD-C52BDD******
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeDesktopInfoRequest extends $dara.Model {
6
+ businessChannel?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The IDs of the cloud computers. You can specify 1 to 100 IDs.
@@ -21,6 +22,7 @@ export class DescribeDesktopInfoRequest extends $dara.Model {
21
22
  regionId?: string;
22
23
  static names(): { [key: string]: string } {
23
24
  return {
25
+ businessChannel: 'BusinessChannel',
24
26
  desktopId: 'DesktopId',
25
27
  needExtraInfo: 'NeedExtraInfo',
26
28
  regionId: 'RegionId',
@@ -29,6 +31,7 @@ export class DescribeDesktopInfoRequest extends $dara.Model {
29
31
 
30
32
  static types(): { [key: string]: any } {
31
33
  return {
34
+ businessChannel: 'string',
32
35
  desktopId: { 'type': 'array', 'itemType': 'string' },
33
36
  needExtraInfo: 'boolean',
34
37
  regionId: 'string',