@alicloud/vpc20160428 7.0.1 → 7.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.
Files changed (85) hide show
  1. package/dist/client.d.ts +79 -24
  2. package/dist/client.js +235 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssociateVpcCidrBlockRequest.d.ts +2 -2
  5. package/dist/models/CreateDefaultVswitchRequest.d.ts +2 -2
  6. package/dist/models/CreateEnhancedVpnGatewayRequest.d.ts +76 -0
  7. package/dist/models/CreateEnhancedVpnGatewayRequest.js +84 -0
  8. package/dist/models/CreateEnhancedVpnGatewayRequest.js.map +1 -0
  9. package/dist/models/CreateEnhancedVpnGatewayResponse.d.ts +19 -0
  10. package/dist/models/CreateEnhancedVpnGatewayResponse.js +69 -0
  11. package/dist/models/CreateEnhancedVpnGatewayResponse.js.map +1 -0
  12. package/dist/models/CreateEnhancedVpnGatewayResponseBody.d.ts +28 -0
  13. package/dist/models/CreateEnhancedVpnGatewayResponseBody.js +62 -0
  14. package/dist/models/CreateEnhancedVpnGatewayResponseBody.js.map +1 -0
  15. package/dist/models/CreateVpcRequest.d.ts +2 -2
  16. package/dist/models/DeleteEnhancedVpnGatewayRequest.d.ts +38 -0
  17. package/dist/models/DeleteEnhancedVpnGatewayRequest.js +70 -0
  18. package/dist/models/DeleteEnhancedVpnGatewayRequest.js.map +1 -0
  19. package/dist/models/DeleteEnhancedVpnGatewayResponse.d.ts +19 -0
  20. package/dist/models/DeleteEnhancedVpnGatewayResponse.js +69 -0
  21. package/dist/models/DeleteEnhancedVpnGatewayResponse.js.map +1 -0
  22. package/dist/models/DeleteEnhancedVpnGatewayResponseBody.d.ts +18 -0
  23. package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js +58 -0
  24. package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js.map +1 -0
  25. package/dist/models/DeleteVpcRequest.d.ts +1 -1
  26. package/dist/models/DeleteVswitchCidrReservationRequest.d.ts +1 -1
  27. package/dist/models/DeleteVswitchRequest.d.ts +1 -1
  28. package/dist/models/DescribeGrantRulesToCenRequest.d.ts +2 -2
  29. package/dist/models/DescribeVpcAttributeRequest.d.ts +1 -1
  30. package/dist/models/DescribeVpcsRequest.d.ts +2 -2
  31. package/dist/models/DescribeVswitchAttributesRequest.d.ts +1 -1
  32. package/dist/models/DescribeVswitchAttributesResponseBody.d.ts +5 -3
  33. package/dist/models/DescribeVswitchAttributesResponseBody.js.map +1 -1
  34. package/dist/models/DescribeVswitchesRequest.d.ts +1 -1
  35. package/dist/models/GrantInstanceToCenRequest.d.ts +1 -1
  36. package/dist/models/ModifyRouteEntryRequest.d.ts +3 -1
  37. package/dist/models/ModifyRouteEntryRequest.js.map +1 -1
  38. package/dist/models/ModifyVpcAttributeRequest.d.ts +1 -1
  39. package/dist/models/RevokeInstanceFromCenRequest.d.ts +1 -1
  40. package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +6 -4
  41. package/dist/models/UnassociateVpcCidrBlockRequest.js.map +1 -1
  42. package/dist/models/UpdateEnhancedVpnGatewayRequest.d.ts +53 -0
  43. package/dist/models/UpdateEnhancedVpnGatewayRequest.js +76 -0
  44. package/dist/models/UpdateEnhancedVpnGatewayRequest.js.map +1 -0
  45. package/dist/models/UpdateEnhancedVpnGatewayResponse.d.ts +19 -0
  46. package/dist/models/UpdateEnhancedVpnGatewayResponse.js +69 -0
  47. package/dist/models/UpdateEnhancedVpnGatewayResponse.js.map +1 -0
  48. package/dist/models/UpdateEnhancedVpnGatewayResponseBody.d.ts +135 -0
  49. package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js +163 -0
  50. package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js.map +1 -0
  51. package/dist/models/UpdateNetworkAclEntriesRequest.d.ts +26 -22
  52. package/dist/models/UpdateNetworkAclEntriesRequest.js.map +1 -1
  53. package/dist/models/model.d.ts +12 -0
  54. package/dist/models/model.js +49 -25
  55. package/dist/models/model.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/client.ts +272 -24
  58. package/src/models/AssociateVpcCidrBlockRequest.ts +2 -2
  59. package/src/models/CreateDefaultVswitchRequest.ts +2 -2
  60. package/src/models/CreateEnhancedVpnGatewayRequest.ts +115 -0
  61. package/src/models/CreateEnhancedVpnGatewayResponse.ts +40 -0
  62. package/src/models/CreateEnhancedVpnGatewayResponseBody.ts +45 -0
  63. package/src/models/CreateVpcRequest.ts +2 -2
  64. package/src/models/DeleteEnhancedVpnGatewayRequest.ts +63 -0
  65. package/src/models/DeleteEnhancedVpnGatewayResponse.ts +40 -0
  66. package/src/models/DeleteEnhancedVpnGatewayResponseBody.ts +31 -0
  67. package/src/models/DeleteVpcRequest.ts +1 -1
  68. package/src/models/DeleteVswitchCidrReservationRequest.ts +1 -1
  69. package/src/models/DeleteVswitchRequest.ts +1 -1
  70. package/src/models/DescribeGrantRulesToCenRequest.ts +2 -2
  71. package/src/models/DescribeVpcAttributeRequest.ts +1 -1
  72. package/src/models/DescribeVpcsRequest.ts +2 -2
  73. package/src/models/DescribeVswitchAttributesRequest.ts +1 -1
  74. package/src/models/DescribeVswitchAttributesResponseBody.ts +5 -3
  75. package/src/models/DescribeVswitchesRequest.ts +1 -1
  76. package/src/models/GrantInstanceToCenRequest.ts +1 -1
  77. package/src/models/ModifyRouteEntryRequest.ts +3 -1
  78. package/src/models/ModifyVpcAttributeRequest.ts +1 -1
  79. package/src/models/RevokeInstanceFromCenRequest.ts +1 -1
  80. package/src/models/UnassociateVpcCidrBlockRequest.ts +6 -4
  81. package/src/models/UpdateEnhancedVpnGatewayRequest.ts +84 -0
  82. package/src/models/UpdateEnhancedVpnGatewayResponse.ts +40 -0
  83. package/src/models/UpdateEnhancedVpnGatewayResponseBody.ts +226 -0
  84. package/src/models/UpdateNetworkAclEntriesRequest.ts +26 -22
  85. package/src/models/model.ts +12 -0
@@ -63,7 +63,7 @@ export declare class AssociateVpcCidrBlockRequest extends $dara.Model {
63
63
  * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
64
64
  *
65
65
  * @example
66
- * ch-hangzhou
66
+ * cn-hangzhou
67
67
  */
68
68
  regionId?: string;
69
69
  resourceOwnerAccount?: string;
@@ -80,7 +80,7 @@ export declare class AssociateVpcCidrBlockRequest extends $dara.Model {
80
80
  * * The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
81
81
  * * The CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block of the VPC.
82
82
  *
83
- * > You must and can specify only one of **SecondaryCidrBlock** and **Ipv6CidrBlock**.
83
+ * > You must and can specify only one of **SecondaryCidrBlock** and **IPv6CidrBlock**.
84
84
  *
85
85
  * @example
86
86
  * 192.168.0.0/16
@@ -31,7 +31,7 @@ export declare class CreateDefaultVSwitchRequest extends $dara.Model {
31
31
  * This parameter is required.
32
32
  *
33
33
  * @example
34
- * cn-hangzhou
34
+ * ap-southeast-1
35
35
  */
36
36
  regionId?: string;
37
37
  resourceOwnerAccount?: string;
@@ -45,7 +45,7 @@ export declare class CreateDefaultVSwitchRequest extends $dara.Model {
45
45
  * This parameter is required.
46
46
  *
47
47
  * @example
48
- * cn-hangzhou-b
48
+ * ap-southeast-1a
49
49
  */
50
50
  zoneId?: string;
51
51
  static names(): {
@@ -0,0 +1,76 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateEnhancedVpnGatewayRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 02fb3da4****
6
+ */
7
+ clientToken?: string;
8
+ /**
9
+ * @example
10
+ * vsw-p0wiz7obm0tbimu4r****
11
+ */
12
+ disasterRecoveryVSwitchId?: string;
13
+ /**
14
+ * @remarks
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * Enhanced.SiteToSite
19
+ */
20
+ gatewayType?: string;
21
+ /**
22
+ * @example
23
+ * MYVPN
24
+ */
25
+ name?: string;
26
+ /**
27
+ * @example
28
+ * public
29
+ */
30
+ networkType?: string;
31
+ ownerAccount?: string;
32
+ ownerId?: number;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * cn-hangzhou
39
+ */
40
+ regionId?: string;
41
+ /**
42
+ * @example
43
+ * rg-acfmzs372yg****
44
+ */
45
+ resourceGroupId?: string;
46
+ resourceOwnerAccount?: string;
47
+ resourceOwnerId?: number;
48
+ /**
49
+ * @example
50
+ * vsw-bp1j5miw2bae9s2vt****
51
+ */
52
+ vSwitchId?: string;
53
+ /**
54
+ * @remarks
55
+ * This parameter is required.
56
+ *
57
+ * @example
58
+ * vpc-bp1ub1yt9cvakoelj****
59
+ */
60
+ vpcId?: string;
61
+ /**
62
+ * @example
63
+ * Normal
64
+ */
65
+ vpnType?: string;
66
+ static names(): {
67
+ [key: string]: string;
68
+ };
69
+ static types(): {
70
+ [key: string]: any;
71
+ };
72
+ validate(): void;
73
+ constructor(map?: {
74
+ [key: string]: any;
75
+ });
76
+ }
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateEnhancedVpnGatewayRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateEnhancedVpnGatewayRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clientToken: 'ClientToken',
43
+ disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
44
+ gatewayType: 'GatewayType',
45
+ name: 'Name',
46
+ networkType: 'NetworkType',
47
+ ownerAccount: 'OwnerAccount',
48
+ ownerId: 'OwnerId',
49
+ regionId: 'RegionId',
50
+ resourceGroupId: 'ResourceGroupId',
51
+ resourceOwnerAccount: 'ResourceOwnerAccount',
52
+ resourceOwnerId: 'ResourceOwnerId',
53
+ vSwitchId: 'VSwitchId',
54
+ vpcId: 'VpcId',
55
+ vpnType: 'VpnType',
56
+ };
57
+ }
58
+ static types() {
59
+ return {
60
+ clientToken: 'string',
61
+ disasterRecoveryVSwitchId: 'string',
62
+ gatewayType: 'string',
63
+ name: 'string',
64
+ networkType: 'string',
65
+ ownerAccount: 'string',
66
+ ownerId: 'number',
67
+ regionId: 'string',
68
+ resourceGroupId: 'string',
69
+ resourceOwnerAccount: 'string',
70
+ resourceOwnerId: 'number',
71
+ vSwitchId: 'string',
72
+ vpcId: 'string',
73
+ vpnType: 'string',
74
+ };
75
+ }
76
+ validate() {
77
+ super.validate();
78
+ }
79
+ constructor(map) {
80
+ super(map);
81
+ }
82
+ }
83
+ exports.CreateEnhancedVpnGatewayRequest = CreateEnhancedVpnGatewayRequest;
84
+ //# sourceMappingURL=CreateEnhancedVpnGatewayRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateEnhancedVpnGatewayRequest.js","sourceRoot":"","sources":["../../src/models/CreateEnhancedVpnGatewayRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAgE9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,yBAAyB,EAAE,2BAA2B;YACtD,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,yBAAyB,EAAE,QAAQ;YACnC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7GD,0EA6GC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateEnhancedVpnGatewayResponseBody } from "./CreateEnhancedVpnGatewayResponseBody";
3
+ export declare class CreateEnhancedVpnGatewayResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateEnhancedVpnGatewayResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateEnhancedVpnGatewayResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateEnhancedVpnGatewayResponseBody_1 = require("./CreateEnhancedVpnGatewayResponseBody");
40
+ class CreateEnhancedVpnGatewayResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: CreateEnhancedVpnGatewayResponseBody_1.CreateEnhancedVpnGatewayResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.CreateEnhancedVpnGatewayResponse = CreateEnhancedVpnGatewayResponse;
69
+ //# sourceMappingURL=CreateEnhancedVpnGatewayResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateEnhancedVpnGatewayResponse.js","sourceRoot":"","sources":["../../src/models/CreateEnhancedVpnGatewayResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2EAAoC;SAC3C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4EAiCC"}
@@ -0,0 +1,28 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateEnhancedVpnGatewayResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * MYVPN
6
+ */
7
+ name?: string;
8
+ /**
9
+ * @example
10
+ * EB2C156A-41F8-49CC-A756-D55AFC8BFD69
11
+ */
12
+ requestId?: string;
13
+ /**
14
+ * @example
15
+ * vpn-uf68lxhgr7ftbqr3p****
16
+ */
17
+ vpnGatewayId?: string;
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateEnhancedVpnGatewayResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateEnhancedVpnGatewayResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ name: 'Name',
43
+ requestId: 'RequestId',
44
+ vpnGatewayId: 'VpnGatewayId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ name: 'string',
50
+ requestId: 'string',
51
+ vpnGatewayId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.CreateEnhancedVpnGatewayResponseBody = CreateEnhancedVpnGatewayResponseBody;
62
+ //# sourceMappingURL=CreateEnhancedVpnGatewayResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateEnhancedVpnGatewayResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateEnhancedVpnGatewayResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAgBnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvCD,oFAuCC"}
@@ -34,7 +34,7 @@ export declare class CreateVpcRequestTag extends $dara.Model {
34
34
  export declare class CreateVpcRequest extends $dara.Model {
35
35
  /**
36
36
  * @remarks
37
- * The CIDR block of the VPC.
37
+ * VPC CIDR.
38
38
  *
39
39
  * * We recommend using the private IPv4 address specified in RFC 1918 as the primary IPv4 CIDR block of the VPC with a recommended mask length of 16 to 28 bits. For example, 10.0.0.0/16, 172.16.0.0/16, and 192.168.0.0/16.
40
40
  * * You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, or their subnets as the primary IPv4 CIDR block.
@@ -191,7 +191,7 @@ export declare class CreateVpcRequest extends $dara.Model {
191
191
  * For more information about user CIDR blocks, see the `What is a user CIDR block?` section in [VPC FAQ](https://help.aliyun.com/document_detail/185311.html).
192
192
  *
193
193
  * @example
194
- * 192.168.0.0/12
194
+ * 192.168.0.0/16
195
195
  */
196
196
  userCidr?: string;
197
197
  /**
@@ -0,0 +1,38 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteEnhancedVpnGatewayRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 02fb3da4-130e-11e9-8e44-0016e04115b
6
+ */
7
+ clientToken?: string;
8
+ ownerAccount?: string;
9
+ ownerId?: number;
10
+ /**
11
+ * @remarks
12
+ * This parameter is required.
13
+ *
14
+ * @example
15
+ * cn-hangzhou
16
+ */
17
+ regionId?: string;
18
+ resourceOwnerAccount?: string;
19
+ resourceOwnerId?: number;
20
+ /**
21
+ * @remarks
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * vpn-bp1q8bgx4xnkm2ogj****
26
+ */
27
+ vpnGatewayId?: string;
28
+ static names(): {
29
+ [key: string]: string;
30
+ };
31
+ static types(): {
32
+ [key: string]: any;
33
+ };
34
+ validate(): void;
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteEnhancedVpnGatewayRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteEnhancedVpnGatewayRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clientToken: 'ClientToken',
43
+ ownerAccount: 'OwnerAccount',
44
+ ownerId: 'OwnerId',
45
+ regionId: 'RegionId',
46
+ resourceOwnerAccount: 'ResourceOwnerAccount',
47
+ resourceOwnerId: 'ResourceOwnerId',
48
+ vpnGatewayId: 'VpnGatewayId',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ clientToken: 'string',
54
+ ownerAccount: 'string',
55
+ ownerId: 'number',
56
+ regionId: 'string',
57
+ resourceOwnerAccount: 'string',
58
+ resourceOwnerId: 'number',
59
+ vpnGatewayId: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.DeleteEnhancedVpnGatewayRequest = DeleteEnhancedVpnGatewayRequest;
70
+ //# sourceMappingURL=DeleteEnhancedVpnGatewayRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteEnhancedVpnGatewayRequest.js","sourceRoot":"","sources":["../../src/models/DeleteEnhancedVpnGatewayRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA0B9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzDD,0EAyDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteEnhancedVpnGatewayResponseBody } from "./DeleteEnhancedVpnGatewayResponseBody";
3
+ export declare class DeleteEnhancedVpnGatewayResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteEnhancedVpnGatewayResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteEnhancedVpnGatewayResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteEnhancedVpnGatewayResponseBody_1 = require("./DeleteEnhancedVpnGatewayResponseBody");
40
+ class DeleteEnhancedVpnGatewayResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DeleteEnhancedVpnGatewayResponseBody_1.DeleteEnhancedVpnGatewayResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DeleteEnhancedVpnGatewayResponse = DeleteEnhancedVpnGatewayResponse;
69
+ //# sourceMappingURL=DeleteEnhancedVpnGatewayResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteEnhancedVpnGatewayResponse.js","sourceRoot":"","sources":["../../src/models/DeleteEnhancedVpnGatewayResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2EAAoC;SAC3C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4EAiCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteEnhancedVpnGatewayResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * E9A8AABE-A84B-4AF2-A68A-8E2EA190E7AE
6
+ */
7
+ requestId?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }