@alicloud/ecd20200930 4.21.2 → 4.22.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 +51 -0
- package/dist/client.js +150 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +125 -0
- package/dist/models/CreateOfficeSiteAcceleratorRequest.js +94 -0
- package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -0
- package/dist/models/CreateOfficeSiteAcceleratorResponse.d.ts +19 -0
- package/dist/models/CreateOfficeSiteAcceleratorResponse.js +69 -0
- package/dist/models/CreateOfficeSiteAcceleratorResponse.js.map +1 -0
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +29 -0
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.js +60 -0
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.js.map +1 -0
- package/dist/models/DeleteOfficeSiteAcceleratorRequest.d.ts +29 -0
- package/dist/models/DeleteOfficeSiteAcceleratorRequest.js +60 -0
- package/dist/models/DeleteOfficeSiteAcceleratorRequest.js.map +1 -0
- package/dist/models/DeleteOfficeSiteAcceleratorResponse.d.ts +19 -0
- package/dist/models/DeleteOfficeSiteAcceleratorResponse.js +69 -0
- package/dist/models/DeleteOfficeSiteAcceleratorResponse.js.map +1 -0
- package/dist/models/DeleteOfficeSiteAcceleratorResponseBody.d.ts +21 -0
- package/dist/models/DeleteOfficeSiteAcceleratorResponseBody.js +58 -0
- package/dist/models/DeleteOfficeSiteAcceleratorResponseBody.js.map +1 -0
- package/dist/models/DescribeZonesRequest.d.ts +1 -0
- package/dist/models/DescribeZonesRequest.js +2 -0
- package/dist/models/DescribeZonesRequest.js.map +1 -1
- package/dist/models/ModifyOfficeSiteAcceleratorRequest.d.ts +71 -0
- package/dist/models/ModifyOfficeSiteAcceleratorRequest.js +90 -0
- package/dist/models/ModifyOfficeSiteAcceleratorRequest.js.map +1 -0
- package/dist/models/ModifyOfficeSiteAcceleratorResponse.d.ts +19 -0
- package/dist/models/ModifyOfficeSiteAcceleratorResponse.js +69 -0
- package/dist/models/ModifyOfficeSiteAcceleratorResponse.js.map +1 -0
- package/dist/models/ModifyOfficeSiteAcceleratorResponseBody.d.ts +21 -0
- package/dist/models/ModifyOfficeSiteAcceleratorResponseBody.js +58 -0
- package/dist/models/ModifyOfficeSiteAcceleratorResponseBody.js.map +1 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +1 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js +5 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +45 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +168 -0
- package/src/models/CreateOfficeSiteAcceleratorRequest.ts +165 -0
- package/src/models/CreateOfficeSiteAcceleratorResponse.ts +40 -0
- package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +44 -0
- package/src/models/DeleteOfficeSiteAcceleratorRequest.ts +44 -0
- package/src/models/DeleteOfficeSiteAcceleratorResponse.ts +40 -0
- package/src/models/DeleteOfficeSiteAcceleratorResponseBody.ts +34 -0
- package/src/models/DescribeZonesRequest.ts +3 -0
- package/src/models/ModifyOfficeSiteAcceleratorRequest.ts +107 -0
- package/src/models/ModifyOfficeSiteAcceleratorResponse.ts +40 -0
- package/src/models/ModifyOfficeSiteAcceleratorResponseBody.ts +34 -0
- package/src/models/ModifyOfficeSiteAttributeRequest.ts +6 -0
- package/src/models/model.ts +11 -0
package/src/client.ts
CHANGED
|
@@ -4429,6 +4429,70 @@ export default class Client extends OpenApi {
|
|
|
4429
4429
|
return await this.createNetworkPackageWithOptions(request, runtime);
|
|
4430
4430
|
}
|
|
4431
4431
|
|
|
4432
|
+
/**
|
|
4433
|
+
* Enables global acceleration for office networks.
|
|
4434
|
+
*
|
|
4435
|
+
* @remarks
|
|
4436
|
+
* 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).
|
|
4437
|
+
*
|
|
4438
|
+
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4439
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4440
|
+
* @returns CreateOfficeSiteAcceleratorResponse
|
|
4441
|
+
*/
|
|
4442
|
+
async createOfficeSiteAcceleratorWithOptions(request: $_model.CreateOfficeSiteAcceleratorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateOfficeSiteAcceleratorResponse> {
|
|
4443
|
+
request.validate();
|
|
4444
|
+
let query = { };
|
|
4445
|
+
if (!$dara.isNull(request.accelerateRegion)) {
|
|
4446
|
+
query["AccelerateRegion"] = request.accelerateRegion;
|
|
4447
|
+
}
|
|
4448
|
+
|
|
4449
|
+
if (!$dara.isNull(request.name)) {
|
|
4450
|
+
query["Name"] = request.name;
|
|
4451
|
+
}
|
|
4452
|
+
|
|
4453
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
4454
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
4455
|
+
}
|
|
4456
|
+
|
|
4457
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4458
|
+
query["RegionId"] = request.regionId;
|
|
4459
|
+
}
|
|
4460
|
+
|
|
4461
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
4462
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4466
|
+
query: OpenApiUtil.query(query),
|
|
4467
|
+
});
|
|
4468
|
+
let params = new $OpenApiUtil.Params({
|
|
4469
|
+
action: "CreateOfficeSiteAccelerator",
|
|
4470
|
+
version: "2020-09-30",
|
|
4471
|
+
protocol: "HTTPS",
|
|
4472
|
+
pathname: "/",
|
|
4473
|
+
method: "POST",
|
|
4474
|
+
authType: "AK",
|
|
4475
|
+
style: "RPC",
|
|
4476
|
+
reqBodyType: "formData",
|
|
4477
|
+
bodyType: "json",
|
|
4478
|
+
});
|
|
4479
|
+
return $dara.cast<$_model.CreateOfficeSiteAcceleratorResponse>(await this.callApi(params, req, runtime), new $_model.CreateOfficeSiteAcceleratorResponse({}));
|
|
4480
|
+
}
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* Enables global acceleration for office networks.
|
|
4484
|
+
*
|
|
4485
|
+
* @remarks
|
|
4486
|
+
* 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).
|
|
4487
|
+
*
|
|
4488
|
+
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4489
|
+
* @returns CreateOfficeSiteAcceleratorResponse
|
|
4490
|
+
*/
|
|
4491
|
+
async createOfficeSiteAccelerator(request: $_model.CreateOfficeSiteAcceleratorRequest): Promise<$_model.CreateOfficeSiteAcceleratorResponse> {
|
|
4492
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4493
|
+
return await this.createOfficeSiteAcceleratorWithOptions(request, runtime);
|
|
4494
|
+
}
|
|
4495
|
+
|
|
4432
4496
|
/**
|
|
4433
4497
|
* Creates a cloud computer policy.
|
|
4434
4498
|
*
|
|
@@ -6324,6 +6388,52 @@ export default class Client extends OpenApi {
|
|
|
6324
6388
|
return await this.deleteNetworkPackagesWithOptions(request, runtime);
|
|
6325
6389
|
}
|
|
6326
6390
|
|
|
6391
|
+
/**
|
|
6392
|
+
* Deletes Global Accelerator (GA) configuration.
|
|
6393
|
+
*
|
|
6394
|
+
* @param request - DeleteOfficeSiteAcceleratorRequest
|
|
6395
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6396
|
+
* @returns DeleteOfficeSiteAcceleratorResponse
|
|
6397
|
+
*/
|
|
6398
|
+
async deleteOfficeSiteAcceleratorWithOptions(request: $_model.DeleteOfficeSiteAcceleratorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteOfficeSiteAcceleratorResponse> {
|
|
6399
|
+
request.validate();
|
|
6400
|
+
let query = { };
|
|
6401
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
6402
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
6403
|
+
}
|
|
6404
|
+
|
|
6405
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6406
|
+
query["RegionId"] = request.regionId;
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6409
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6410
|
+
query: OpenApiUtil.query(query),
|
|
6411
|
+
});
|
|
6412
|
+
let params = new $OpenApiUtil.Params({
|
|
6413
|
+
action: "DeleteOfficeSiteAccelerator",
|
|
6414
|
+
version: "2020-09-30",
|
|
6415
|
+
protocol: "HTTPS",
|
|
6416
|
+
pathname: "/",
|
|
6417
|
+
method: "POST",
|
|
6418
|
+
authType: "AK",
|
|
6419
|
+
style: "RPC",
|
|
6420
|
+
reqBodyType: "formData",
|
|
6421
|
+
bodyType: "json",
|
|
6422
|
+
});
|
|
6423
|
+
return $dara.cast<$_model.DeleteOfficeSiteAcceleratorResponse>(await this.callApi(params, req, runtime), new $_model.DeleteOfficeSiteAcceleratorResponse({}));
|
|
6424
|
+
}
|
|
6425
|
+
|
|
6426
|
+
/**
|
|
6427
|
+
* Deletes Global Accelerator (GA) configuration.
|
|
6428
|
+
*
|
|
6429
|
+
* @param request - DeleteOfficeSiteAcceleratorRequest
|
|
6430
|
+
* @returns DeleteOfficeSiteAcceleratorResponse
|
|
6431
|
+
*/
|
|
6432
|
+
async deleteOfficeSiteAccelerator(request: $_model.DeleteOfficeSiteAcceleratorRequest): Promise<$_model.DeleteOfficeSiteAcceleratorResponse> {
|
|
6433
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6434
|
+
return await this.deleteOfficeSiteAcceleratorWithOptions(request, runtime);
|
|
6435
|
+
}
|
|
6436
|
+
|
|
6327
6437
|
/**
|
|
6328
6438
|
* Deletes office networks (formerly workspaces).
|
|
6329
6439
|
*
|
|
@@ -12252,6 +12362,10 @@ export default class Client extends OpenApi {
|
|
|
12252
12362
|
query["RegionId"] = request.regionId;
|
|
12253
12363
|
}
|
|
12254
12364
|
|
|
12365
|
+
if (!$dara.isNull(request.vpcAccessZone)) {
|
|
12366
|
+
query["VpcAccessZone"] = request.vpcAccessZone;
|
|
12367
|
+
}
|
|
12368
|
+
|
|
12255
12369
|
if (!$dara.isNull(request.zoneType)) {
|
|
12256
12370
|
query["ZoneType"] = request.zoneType;
|
|
12257
12371
|
}
|
|
@@ -16724,6 +16838,56 @@ export default class Client extends OpenApi {
|
|
|
16724
16838
|
return await this.modifyNetworkPackageEnabledWithOptions(request, runtime);
|
|
16725
16839
|
}
|
|
16726
16840
|
|
|
16841
|
+
/**
|
|
16842
|
+
* 修改全球加速配置
|
|
16843
|
+
*
|
|
16844
|
+
* @param request - ModifyOfficeSiteAcceleratorRequest
|
|
16845
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16846
|
+
* @returns ModifyOfficeSiteAcceleratorResponse
|
|
16847
|
+
*/
|
|
16848
|
+
async modifyOfficeSiteAcceleratorWithOptions(request: $_model.ModifyOfficeSiteAcceleratorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyOfficeSiteAcceleratorResponse> {
|
|
16849
|
+
request.validate();
|
|
16850
|
+
let query = { };
|
|
16851
|
+
if (!$dara.isNull(request.accelerateRegion)) {
|
|
16852
|
+
query["AccelerateRegion"] = request.accelerateRegion;
|
|
16853
|
+
}
|
|
16854
|
+
|
|
16855
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
16856
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
16857
|
+
}
|
|
16858
|
+
|
|
16859
|
+
if (!$dara.isNull(request.regionId)) {
|
|
16860
|
+
query["RegionId"] = request.regionId;
|
|
16861
|
+
}
|
|
16862
|
+
|
|
16863
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16864
|
+
query: OpenApiUtil.query(query),
|
|
16865
|
+
});
|
|
16866
|
+
let params = new $OpenApiUtil.Params({
|
|
16867
|
+
action: "ModifyOfficeSiteAccelerator",
|
|
16868
|
+
version: "2020-09-30",
|
|
16869
|
+
protocol: "HTTPS",
|
|
16870
|
+
pathname: "/",
|
|
16871
|
+
method: "POST",
|
|
16872
|
+
authType: "AK",
|
|
16873
|
+
style: "RPC",
|
|
16874
|
+
reqBodyType: "formData",
|
|
16875
|
+
bodyType: "json",
|
|
16876
|
+
});
|
|
16877
|
+
return $dara.cast<$_model.ModifyOfficeSiteAcceleratorResponse>(await this.callApi(params, req, runtime), new $_model.ModifyOfficeSiteAcceleratorResponse({}));
|
|
16878
|
+
}
|
|
16879
|
+
|
|
16880
|
+
/**
|
|
16881
|
+
* 修改全球加速配置
|
|
16882
|
+
*
|
|
16883
|
+
* @param request - ModifyOfficeSiteAcceleratorRequest
|
|
16884
|
+
* @returns ModifyOfficeSiteAcceleratorResponse
|
|
16885
|
+
*/
|
|
16886
|
+
async modifyOfficeSiteAccelerator(request: $_model.ModifyOfficeSiteAcceleratorRequest): Promise<$_model.ModifyOfficeSiteAcceleratorResponse> {
|
|
16887
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16888
|
+
return await this.modifyOfficeSiteAcceleratorWithOptions(request, runtime);
|
|
16889
|
+
}
|
|
16890
|
+
|
|
16727
16891
|
/**
|
|
16728
16892
|
* Modifies the basic properties of an office network, including the name and local administrator permission settings.
|
|
16729
16893
|
*
|
|
@@ -16782,6 +16946,10 @@ export default class Client extends OpenApi {
|
|
|
16782
16946
|
query["TenantId"] = request.tenantId;
|
|
16783
16947
|
}
|
|
16784
16948
|
|
|
16949
|
+
if (!$dara.isNull(request.vSwitchId)) {
|
|
16950
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
16951
|
+
}
|
|
16952
|
+
|
|
16785
16953
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16786
16954
|
query: OpenApiUtil.query(query),
|
|
16787
16955
|
});
|
|
@@ -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
|
+
|
|
@@ -13,6 +13,7 @@ export class DescribeZonesRequest extends $dara.Model {
|
|
|
13
13
|
* cn-hangzhou
|
|
14
14
|
*/
|
|
15
15
|
regionId?: string;
|
|
16
|
+
vpcAccessZone?: boolean;
|
|
16
17
|
/**
|
|
17
18
|
* @remarks
|
|
18
19
|
* The type of the zone. Default value: `AvailabilityZone`. This value indicates Alibaba Cloud zones.
|
|
@@ -24,6 +25,7 @@ export class DescribeZonesRequest extends $dara.Model {
|
|
|
24
25
|
static names(): { [key: string]: string } {
|
|
25
26
|
return {
|
|
26
27
|
regionId: 'RegionId',
|
|
28
|
+
vpcAccessZone: 'VpcAccessZone',
|
|
27
29
|
zoneType: 'ZoneType',
|
|
28
30
|
};
|
|
29
31
|
}
|
|
@@ -31,6 +33,7 @@ export class DescribeZonesRequest extends $dara.Model {
|
|
|
31
33
|
static types(): { [key: string]: any } {
|
|
32
34
|
return {
|
|
33
35
|
regionId: 'string',
|
|
36
|
+
vpcAccessZone: 'boolean',
|
|
34
37
|
zoneType: 'string',
|
|
35
38
|
};
|
|
36
39
|
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyOfficeSiteAcceleratorRequestAccelerateRegion extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cn-shanghai
|
|
12
|
+
*/
|
|
13
|
+
accelerateRegionId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 50
|
|
20
|
+
*/
|
|
21
|
+
bandwidth?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* IPv4
|
|
25
|
+
*/
|
|
26
|
+
ipVersion?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* BGP
|
|
33
|
+
*/
|
|
34
|
+
ispType?: string;
|
|
35
|
+
static names(): { [key: string]: string } {
|
|
36
|
+
return {
|
|
37
|
+
accelerateRegionId: 'AccelerateRegionId',
|
|
38
|
+
bandwidth: 'Bandwidth',
|
|
39
|
+
ipVersion: 'IpVersion',
|
|
40
|
+
ispType: 'IspType',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
accelerateRegionId: 'string',
|
|
47
|
+
bandwidth: 'number',
|
|
48
|
+
ipVersion: 'string',
|
|
49
|
+
ispType: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
super.validate();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
constructor(map?: { [key: string]: any }) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export class ModifyOfficeSiteAcceleratorRequest extends $dara.Model {
|
|
63
|
+
accelerateRegion?: ModifyOfficeSiteAcceleratorRequestAccelerateRegion[];
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* This parameter is required.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* cn-hangzhou+dir-363353****
|
|
70
|
+
*/
|
|
71
|
+
officeSiteId?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* This parameter is required.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* cn-hangzhou
|
|
78
|
+
*/
|
|
79
|
+
regionId?: string;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
accelerateRegion: 'AccelerateRegion',
|
|
83
|
+
officeSiteId: 'OfficeSiteId',
|
|
84
|
+
regionId: 'RegionId',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static types(): { [key: string]: any } {
|
|
89
|
+
return {
|
|
90
|
+
accelerateRegion: { 'type': 'array', 'itemType': ModifyOfficeSiteAcceleratorRequestAccelerateRegion },
|
|
91
|
+
officeSiteId: 'string',
|
|
92
|
+
regionId: 'string',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
validate() {
|
|
97
|
+
if(Array.isArray(this.accelerateRegion)) {
|
|
98
|
+
$dara.Model.validateArray(this.accelerateRegion);
|
|
99
|
+
}
|
|
100
|
+
super.validate();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
constructor(map?: { [key: string]: any }) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|