@alicloud/cloudfw20171207 6.0.0 → 6.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 (129) hide show
  1. package/dist/client.d.ts +118 -0
  2. package/dist/client.js +399 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePrivateDnsEndpointRequest.d.ts +92 -0
  5. package/dist/models/CreatePrivateDnsEndpointRequest.js +87 -0
  6. package/dist/models/CreatePrivateDnsEndpointRequest.js.map +1 -0
  7. package/dist/models/CreatePrivateDnsEndpointResponse.d.ts +19 -0
  8. package/dist/models/CreatePrivateDnsEndpointResponse.js +69 -0
  9. package/dist/models/CreatePrivateDnsEndpointResponse.js.map +1 -0
  10. package/dist/models/CreatePrivateDnsEndpointResponseBody.d.ts +31 -0
  11. package/dist/models/CreatePrivateDnsEndpointResponseBody.js +62 -0
  12. package/dist/models/CreatePrivateDnsEndpointResponseBody.js.map +1 -0
  13. package/dist/models/DescribeNetworkInstanceRelationListRequest.d.ts +2 -0
  14. package/dist/models/DescribeNetworkInstanceRelationListRequest.js +4 -0
  15. package/dist/models/DescribeNetworkInstanceRelationListRequest.js.map +1 -1
  16. package/dist/models/DescribeNetworkInstanceRelationListResponseBody.d.ts +36 -0
  17. package/dist/models/DescribeNetworkInstanceRelationListResponseBody.js +65 -1
  18. package/dist/models/DescribeNetworkInstanceRelationListResponseBody.js.map +1 -1
  19. package/dist/models/DescribePostpayUserVpcStatusRequest.d.ts +32 -0
  20. package/dist/models/DescribePostpayUserVpcStatusRequest.js +60 -0
  21. package/dist/models/DescribePostpayUserVpcStatusRequest.js.map +1 -0
  22. package/dist/models/DescribePostpayUserVpcStatusResponse.d.ts +19 -0
  23. package/dist/models/DescribePostpayUserVpcStatusResponse.js +69 -0
  24. package/dist/models/DescribePostpayUserVpcStatusResponse.js.map +1 -0
  25. package/dist/models/DescribePostpayUserVpcStatusResponseBody.d.ts +41 -0
  26. package/dist/models/DescribePostpayUserVpcStatusResponseBody.js +62 -0
  27. package/dist/models/DescribePostpayUserVpcStatusResponseBody.js.map +1 -0
  28. package/dist/models/DescribeSecurityProxyRequest.d.ts +63 -0
  29. package/dist/models/DescribeSecurityProxyRequest.js +76 -0
  30. package/dist/models/DescribeSecurityProxyRequest.js.map +1 -0
  31. package/dist/models/DescribeSecurityProxyResponse.d.ts +19 -0
  32. package/dist/models/DescribeSecurityProxyResponse.js +69 -0
  33. package/dist/models/DescribeSecurityProxyResponse.js.map +1 -0
  34. package/dist/models/DescribeSecurityProxyResponseBody.d.ts +102 -0
  35. package/dist/models/DescribeSecurityProxyResponseBody.js +113 -0
  36. package/dist/models/DescribeSecurityProxyResponseBody.js.map +1 -0
  37. package/dist/models/DescribeThreatIntelligenceSwitchResponse.d.ts +19 -0
  38. package/dist/models/DescribeThreatIntelligenceSwitchResponse.js +69 -0
  39. package/dist/models/DescribeThreatIntelligenceSwitchResponse.js.map +1 -0
  40. package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.d.ts +58 -0
  41. package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.js +94 -0
  42. package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.js.map +1 -0
  43. package/dist/models/DescribeUserIpswhitelistRequest.d.ts +8 -0
  44. package/dist/models/DescribeUserIpswhitelistRequest.js.map +1 -1
  45. package/dist/models/DescribeUserIpswhitelistResponseBody.d.ts +36 -0
  46. package/dist/models/DescribeUserIpswhitelistResponseBody.js.map +1 -1
  47. package/dist/models/DescribeVulnerabilityProtectedListRequest.d.ts +1 -0
  48. package/dist/models/DescribeVulnerabilityProtectedListRequest.js +2 -0
  49. package/dist/models/DescribeVulnerabilityProtectedListRequest.js.map +1 -1
  50. package/dist/models/DescribeVulnerabilityProtectedListResponseBody.d.ts +1 -0
  51. package/dist/models/DescribeVulnerabilityProtectedListResponseBody.js +2 -0
  52. package/dist/models/DescribeVulnerabilityProtectedListResponseBody.js.map +1 -1
  53. package/dist/models/GetTlsInspectCertificateDownloadUrlRequest.d.ts +21 -0
  54. package/dist/models/GetTlsInspectCertificateDownloadUrlRequest.js +58 -0
  55. package/dist/models/GetTlsInspectCertificateDownloadUrlRequest.js.map +1 -0
  56. package/dist/models/GetTlsInspectCertificateDownloadUrlResponse.d.ts +19 -0
  57. package/dist/models/GetTlsInspectCertificateDownloadUrlResponse.js +69 -0
  58. package/dist/models/GetTlsInspectCertificateDownloadUrlResponse.js.map +1 -0
  59. package/dist/models/GetTlsInspectCertificateDownloadUrlResponseBody.d.ts +24 -0
  60. package/dist/models/GetTlsInspectCertificateDownloadUrlResponseBody.js +62 -0
  61. package/dist/models/GetTlsInspectCertificateDownloadUrlResponseBody.js.map +1 -0
  62. package/dist/models/ListTlsInspectCacertificatesRequest.d.ts +28 -0
  63. package/dist/models/ListTlsInspectCacertificatesRequest.js +62 -0
  64. package/dist/models/ListTlsInspectCacertificatesRequest.js.map +1 -0
  65. package/dist/models/ListTlsInspectCacertificatesResponse.d.ts +19 -0
  66. package/dist/models/ListTlsInspectCacertificatesResponse.js +69 -0
  67. package/dist/models/ListTlsInspectCacertificatesResponse.js.map +1 -0
  68. package/dist/models/ListTlsInspectCacertificatesResponseBody.d.ts +81 -0
  69. package/dist/models/ListTlsInspectCacertificatesResponseBody.js +100 -0
  70. package/dist/models/ListTlsInspectCacertificatesResponseBody.js.map +1 -0
  71. package/dist/models/ModifyUserIpswhitelistRequest.d.ts +28 -0
  72. package/dist/models/ModifyUserIpswhitelistRequest.js.map +1 -1
  73. package/dist/models/ModifyUserIpswhitelistResponseBody.d.ts +4 -0
  74. package/dist/models/ModifyUserIpswhitelistResponseBody.js.map +1 -1
  75. package/dist/models/UpdatePostpayUserNatStatusRequest.d.ts +42 -0
  76. package/dist/models/UpdatePostpayUserNatStatusRequest.js +62 -0
  77. package/dist/models/UpdatePostpayUserNatStatusRequest.js.map +1 -0
  78. package/dist/models/UpdatePostpayUserNatStatusResponse.d.ts +19 -0
  79. package/dist/models/UpdatePostpayUserNatStatusResponse.js +69 -0
  80. package/dist/models/UpdatePostpayUserNatStatusResponse.js.map +1 -0
  81. package/dist/models/UpdatePostpayUserNatStatusResponseBody.d.ts +21 -0
  82. package/dist/models/UpdatePostpayUserNatStatusResponseBody.js +58 -0
  83. package/dist/models/UpdatePostpayUserNatStatusResponseBody.js.map +1 -0
  84. package/dist/models/UpdatePostpayUserVpcStatusRequest.d.ts +44 -0
  85. package/dist/models/UpdatePostpayUserVpcStatusRequest.js +62 -0
  86. package/dist/models/UpdatePostpayUserVpcStatusRequest.js.map +1 -0
  87. package/dist/models/UpdatePostpayUserVpcStatusResponse.d.ts +19 -0
  88. package/dist/models/UpdatePostpayUserVpcStatusResponse.js +69 -0
  89. package/dist/models/UpdatePostpayUserVpcStatusResponse.js.map +1 -0
  90. package/dist/models/UpdatePostpayUserVpcStatusResponseBody.d.ts +21 -0
  91. package/dist/models/UpdatePostpayUserVpcStatusResponseBody.js +58 -0
  92. package/dist/models/UpdatePostpayUserVpcStatusResponseBody.js.map +1 -0
  93. package/dist/models/model.d.ts +28 -0
  94. package/dist/models/model.js +75 -18
  95. package/dist/models/model.js.map +1 -1
  96. package/package.json +1 -1
  97. package/src/client.ts +454 -0
  98. package/src/models/CreatePrivateDnsEndpointRequest.ts +134 -0
  99. package/src/models/CreatePrivateDnsEndpointResponse.ts +40 -0
  100. package/src/models/CreatePrivateDnsEndpointResponseBody.ts +48 -0
  101. package/src/models/DescribeNetworkInstanceRelationListRequest.ts +6 -0
  102. package/src/models/DescribeNetworkInstanceRelationListResponseBody.ts +82 -0
  103. package/src/models/DescribePostpayUserVpcStatusRequest.ts +47 -0
  104. package/src/models/DescribePostpayUserVpcStatusResponse.ts +40 -0
  105. package/src/models/DescribePostpayUserVpcStatusResponseBody.ts +58 -0
  106. package/src/models/DescribeSecurityProxyRequest.ts +94 -0
  107. package/src/models/DescribeSecurityProxyResponse.ts +40 -0
  108. package/src/models/DescribeSecurityProxyResponseBody.ts +161 -0
  109. package/src/models/DescribeThreatIntelligenceSwitchResponse.ts +40 -0
  110. package/src/models/DescribeThreatIntelligenceSwitchResponseBody.ts +98 -0
  111. package/src/models/DescribeUserIpswhitelistRequest.ts +8 -0
  112. package/src/models/DescribeUserIpswhitelistResponseBody.ts +36 -0
  113. package/src/models/DescribeVulnerabilityProtectedListRequest.ts +3 -0
  114. package/src/models/DescribeVulnerabilityProtectedListResponseBody.ts +3 -0
  115. package/src/models/GetTlsInspectCertificateDownloadUrlRequest.ts +34 -0
  116. package/src/models/GetTlsInspectCertificateDownloadUrlResponse.ts +40 -0
  117. package/src/models/GetTlsInspectCertificateDownloadUrlResponseBody.ts +41 -0
  118. package/src/models/ListTlsInspectCacertificatesRequest.ts +45 -0
  119. package/src/models/ListTlsInspectCacertificatesResponse.ts +40 -0
  120. package/src/models/ListTlsInspectCacertificatesResponseBody.ts +127 -0
  121. package/src/models/ModifyUserIpswhitelistRequest.ts +28 -0
  122. package/src/models/ModifyUserIpswhitelistResponseBody.ts +4 -0
  123. package/src/models/UpdatePostpayUserNatStatusRequest.ts +59 -0
  124. package/src/models/UpdatePostpayUserNatStatusResponse.ts +40 -0
  125. package/src/models/UpdatePostpayUserNatStatusResponseBody.ts +34 -0
  126. package/src/models/UpdatePostpayUserVpcStatusRequest.ts +61 -0
  127. package/src/models/UpdatePostpayUserVpcStatusResponse.ts +40 -0
  128. package/src/models/UpdatePostpayUserVpcStatusResponseBody.ts +34 -0
  129. package/src/models/model.ts +28 -0
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreatePrivateDnsEndpointResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * pd-12345
9
+ */
10
+ accessInstanceId?: string;
11
+ /**
12
+ * @remarks
13
+ * Id of the request
14
+ *
15
+ * @example
16
+ * 850A84D6************00090125EEB1
17
+ */
18
+ requestId?: string;
19
+ /**
20
+ * @example
21
+ * 132
22
+ */
23
+ taskId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ accessInstanceId: 'AccessInstanceId',
27
+ requestId: 'RequestId',
28
+ taskId: 'TaskId',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ accessInstanceId: 'string',
35
+ requestId: 'string',
36
+ taskId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -18,11 +18,15 @@ export class DescribeNetworkInstanceRelationListRequest extends $dara.Model {
18
18
  * zh
19
19
  */
20
20
  lang?: string;
21
+ networkInstanceId?: string;
22
+ peerNetworkInstanceId?: string;
21
23
  static names(): { [key: string]: string } {
22
24
  return {
23
25
  connectType: 'ConnectType',
24
26
  firewallConfigureStatus: 'FirewallConfigureStatus',
25
27
  lang: 'Lang',
28
+ networkInstanceId: 'NetworkInstanceId',
29
+ peerNetworkInstanceId: 'PeerNetworkInstanceId',
26
30
  };
27
31
  }
28
32
 
@@ -31,6 +35,8 @@ export class DescribeNetworkInstanceRelationListRequest extends $dara.Model {
31
35
  connectType: 'string',
32
36
  firewallConfigureStatus: 'string',
33
37
  lang: 'string',
38
+ networkInstanceId: 'string',
39
+ peerNetworkInstanceId: 'string',
34
40
  };
35
41
  }
36
42
 
@@ -2,7 +2,78 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListAssociatedCen extends $dara.Model {
6
+ attachmentId?: string;
7
+ attachmentName?: string;
8
+ cenId?: string;
9
+ cenName?: string;
10
+ transitRouterType?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ attachmentId: 'AttachmentId',
14
+ attachmentName: 'AttachmentName',
15
+ cenId: 'CenId',
16
+ cenName: 'CenName',
17
+ transitRouterType: 'TransitRouterType',
18
+ };
19
+ }
20
+
21
+ static types(): { [key: string]: any } {
22
+ return {
23
+ attachmentId: 'string',
24
+ attachmentName: 'string',
25
+ cenId: 'string',
26
+ cenName: 'string',
27
+ transitRouterType: 'string',
28
+ };
29
+ }
30
+
31
+ validate() {
32
+ super.validate();
33
+ }
34
+
35
+ constructor(map?: { [key: string]: any }) {
36
+ super(map);
37
+ }
38
+ }
39
+
40
+ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListPeerNetworkInstanceListAssociatedCen extends $dara.Model {
41
+ attachmentId?: string;
42
+ attachmentName?: string;
43
+ cenId?: string;
44
+ cenName?: string;
45
+ transitRouterType?: string;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ attachmentId: 'AttachmentId',
49
+ attachmentName: 'AttachmentName',
50
+ cenId: 'CenId',
51
+ cenName: 'CenName',
52
+ transitRouterType: 'TransitRouterType',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ attachmentId: 'string',
59
+ attachmentName: 'string',
60
+ cenId: 'string',
61
+ cenName: 'string',
62
+ transitRouterType: 'string',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ super.validate();
68
+ }
69
+
70
+ constructor(map?: { [key: string]: any }) {
71
+ super(map);
72
+ }
73
+ }
74
+
5
75
  export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListPeerNetworkInstanceList extends $dara.Model {
76
+ associatedCen?: DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListPeerNetworkInstanceListAssociatedCen[];
6
77
  /**
7
78
  * @example
8
79
  * vpc-dsf232d****
@@ -25,6 +96,7 @@ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListP
25
96
  regionNo?: string;
26
97
  static names(): { [key: string]: string } {
27
98
  return {
99
+ associatedCen: 'AssociatedCen',
28
100
  networkInstanceId: 'NetworkInstanceId',
29
101
  networkInstanceName: 'NetworkInstanceName',
30
102
  networkInstanceType: 'NetworkInstanceType',
@@ -34,6 +106,7 @@ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListP
34
106
 
35
107
  static types(): { [key: string]: any } {
36
108
  return {
109
+ associatedCen: { 'type': 'array', 'itemType': DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListPeerNetworkInstanceListAssociatedCen },
37
110
  networkInstanceId: 'string',
38
111
  networkInstanceName: 'string',
39
112
  networkInstanceType: 'string',
@@ -42,6 +115,9 @@ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListP
42
115
  }
43
116
 
44
117
  validate() {
118
+ if(Array.isArray(this.associatedCen)) {
119
+ $dara.Model.validateArray(this.associatedCen);
120
+ }
45
121
  super.validate();
46
122
  }
47
123
 
@@ -51,6 +127,7 @@ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListP
51
127
  }
52
128
 
53
129
  export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceList extends $dara.Model {
130
+ associatedCen?: DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListAssociatedCen[];
54
131
  /**
55
132
  * @example
56
133
  * cen
@@ -79,6 +156,7 @@ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceList
79
156
  regionNo?: string;
80
157
  static names(): { [key: string]: string } {
81
158
  return {
159
+ associatedCen: 'AssociatedCen',
82
160
  connectType: 'ConnectType',
83
161
  networkInstanceId: 'NetworkInstanceId',
84
162
  networkInstanceName: 'NetworkInstanceName',
@@ -90,6 +168,7 @@ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceList
90
168
 
91
169
  static types(): { [key: string]: any } {
92
170
  return {
171
+ associatedCen: { 'type': 'array', 'itemType': DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceListAssociatedCen },
93
172
  connectType: 'string',
94
173
  networkInstanceId: 'string',
95
174
  networkInstanceName: 'string',
@@ -100,6 +179,9 @@ export class DescribeNetworkInstanceRelationListResponseBodyNetworkInstanceList
100
179
  }
101
180
 
102
181
  validate() {
182
+ if(Array.isArray(this.associatedCen)) {
183
+ $dara.Model.validateArray(this.associatedCen);
184
+ }
103
185
  if(Array.isArray(this.peerNetworkInstanceList)) {
104
186
  $dara.Model.validateArray(this.peerNetworkInstanceList);
105
187
  }
@@ -0,0 +1,47 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePostpayUserVpcStatusRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The instance ID of Cloud Firewall.
9
+ *
10
+ * @example
11
+ * cfw_elasticity_public_cn-************
12
+ */
13
+ instanceId?: string;
14
+ /**
15
+ * @remarks
16
+ * The language of the content within the response. Valid values:
17
+ *
18
+ * * **zh** (default)
19
+ * * **en**
20
+ *
21
+ * @example
22
+ * zh
23
+ */
24
+ lang?: string;
25
+ static names(): { [key: string]: string } {
26
+ return {
27
+ instanceId: 'InstanceId',
28
+ lang: 'Lang',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ instanceId: 'string',
35
+ lang: 'string',
36
+ };
37
+ }
38
+
39
+ validate() {
40
+ super.validate();
41
+ }
42
+
43
+ constructor(map?: { [key: string]: any }) {
44
+ super(map);
45
+ }
46
+ }
47
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribePostpayUserVpcStatusResponseBody } from "./DescribePostpayUserVpcStatusResponseBody";
4
+
5
+
6
+ export class DescribePostpayUserVpcStatusResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribePostpayUserVpcStatusResponseBody;
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: DescribePostpayUserVpcStatusResponseBody,
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,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePostpayUserVpcStatusResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 7447795A-39AB-52CB-8F92-128DF******
12
+ */
13
+ requestId?: string;
14
+ /**
15
+ * @remarks
16
+ * The status of the VPC Firewall feature. Valid values:
17
+ *
18
+ * * **open**: enabled
19
+ * * **init**: being enabled
20
+ * * **closed**: disabled
21
+ *
22
+ * @example
23
+ * open
24
+ */
25
+ status?: string;
26
+ /**
27
+ * @remarks
28
+ * The number of days during which no asset is added to the VPC Firewall feature for protection. This parameter is valid only when the value of Status is open.
29
+ *
30
+ * @example
31
+ * 20
32
+ */
33
+ unprotectedDate?: number;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ requestId: 'RequestId',
37
+ status: 'Status',
38
+ unprotectedDate: 'UnprotectedDate',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ requestId: 'string',
45
+ status: 'string',
46
+ unprotectedDate: 'number',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,94 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeSecurityProxyRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * zh
9
+ */
10
+ lang?: string;
11
+ /**
12
+ * @example
13
+ * 258039427902****
14
+ */
15
+ memberUid?: string;
16
+ /**
17
+ * @example
18
+ * ngw-zm0h3c1exm5bifuorg8c5
19
+ */
20
+ natGatewayId?: string;
21
+ /**
22
+ * @example
23
+ * 1
24
+ */
25
+ pageNo?: string;
26
+ /**
27
+ * @example
28
+ * 10
29
+ */
30
+ pageSize?: string;
31
+ /**
32
+ * @example
33
+ * proxy-nat80d763eb0dee4eacaec9
34
+ */
35
+ proxyId?: string;
36
+ /**
37
+ * @example
38
+ * nat-idmp-fir
39
+ */
40
+ proxyName?: string;
41
+ /**
42
+ * @example
43
+ * cn-hangzhou
44
+ */
45
+ regionNo?: string;
46
+ /**
47
+ * @example
48
+ * normal
49
+ */
50
+ status?: string;
51
+ /**
52
+ * @example
53
+ * vpc-8vbwbo90rq0anm6t****
54
+ */
55
+ vpcId?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ lang: 'Lang',
59
+ memberUid: 'MemberUid',
60
+ natGatewayId: 'NatGatewayId',
61
+ pageNo: 'PageNo',
62
+ pageSize: 'PageSize',
63
+ proxyId: 'ProxyId',
64
+ proxyName: 'ProxyName',
65
+ regionNo: 'RegionNo',
66
+ status: 'Status',
67
+ vpcId: 'VpcId',
68
+ };
69
+ }
70
+
71
+ static types(): { [key: string]: any } {
72
+ return {
73
+ lang: 'string',
74
+ memberUid: 'string',
75
+ natGatewayId: 'string',
76
+ pageNo: 'string',
77
+ pageSize: 'string',
78
+ proxyId: 'string',
79
+ proxyName: 'string',
80
+ regionNo: 'string',
81
+ status: 'string',
82
+ vpcId: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeSecurityProxyResponseBody } from "./DescribeSecurityProxyResponseBody";
4
+
5
+
6
+ export class DescribeSecurityProxyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeSecurityProxyResponseBody;
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: DescribeSecurityProxyResponseBody,
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,161 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeSecurityProxyResponseBodyProxyList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 192.168.0.0/16
9
+ */
10
+ cidrBlock?: string;
11
+ /**
12
+ * @example
13
+ * “”
14
+ */
15
+ detail?: string;
16
+ /**
17
+ * @example
18
+ * 1797733170015112
19
+ */
20
+ memberUid?: string;
21
+ /**
22
+ * @example
23
+ * ngw-2zex8sf4s5vus8rq3rjqo
24
+ */
25
+ natGatewayId?: string;
26
+ /**
27
+ * @example
28
+ * ecs-slb-eip-waf
29
+ */
30
+ natGatewayName?: string;
31
+ /**
32
+ * @example
33
+ * proxy-nat4921f192b6cf438d93f8
34
+ */
35
+ proxyId?: string;
36
+ /**
37
+ * @example
38
+ * nat-idmp-fir
39
+ */
40
+ proxyName?: string;
41
+ /**
42
+ * @example
43
+ * ap-southeast-1
44
+ */
45
+ regionNo?: string;
46
+ snatIpList?: string[];
47
+ /**
48
+ * @example
49
+ * normal
50
+ */
51
+ status?: string;
52
+ /**
53
+ * @example
54
+ * 0
55
+ */
56
+ strictMode?: number;
57
+ /**
58
+ * @example
59
+ * vsw-5gu2qqfmjmwl8ktzgfekl
60
+ */
61
+ vSwitchId?: string;
62
+ /**
63
+ * @example
64
+ * vpc-wz9xn35tq33hunzvpu0se
65
+ */
66
+ vpcId?: string;
67
+ /**
68
+ * @example
69
+ * vpc-bp1kw9igsq0yyzeanqamx
70
+ */
71
+ vpcName?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ cidrBlock: 'CidrBlock',
75
+ detail: 'Detail',
76
+ memberUid: 'MemberUid',
77
+ natGatewayId: 'NatGatewayId',
78
+ natGatewayName: 'NatGatewayName',
79
+ proxyId: 'ProxyId',
80
+ proxyName: 'ProxyName',
81
+ regionNo: 'RegionNo',
82
+ snatIpList: 'SnatIpList',
83
+ status: 'Status',
84
+ strictMode: 'StrictMode',
85
+ vSwitchId: 'VSwitchId',
86
+ vpcId: 'VpcId',
87
+ vpcName: 'VpcName',
88
+ };
89
+ }
90
+
91
+ static types(): { [key: string]: any } {
92
+ return {
93
+ cidrBlock: 'string',
94
+ detail: 'string',
95
+ memberUid: 'string',
96
+ natGatewayId: 'string',
97
+ natGatewayName: 'string',
98
+ proxyId: 'string',
99
+ proxyName: 'string',
100
+ regionNo: 'string',
101
+ snatIpList: { 'type': 'array', 'itemType': 'string' },
102
+ status: 'string',
103
+ strictMode: 'number',
104
+ vSwitchId: 'string',
105
+ vpcId: 'string',
106
+ vpcName: 'string',
107
+ };
108
+ }
109
+
110
+ validate() {
111
+ if(Array.isArray(this.snatIpList)) {
112
+ $dara.Model.validateArray(this.snatIpList);
113
+ }
114
+ super.validate();
115
+ }
116
+
117
+ constructor(map?: { [key: string]: any }) {
118
+ super(map);
119
+ }
120
+ }
121
+
122
+ export class DescribeSecurityProxyResponseBody extends $dara.Model {
123
+ proxyList?: DescribeSecurityProxyResponseBodyProxyList[];
124
+ /**
125
+ * @example
126
+ * F0F82705-CFC7-5F83-86C8-A063892F****
127
+ */
128
+ requestId?: string;
129
+ /**
130
+ * @example
131
+ * 5
132
+ */
133
+ totalCount?: number;
134
+ static names(): { [key: string]: string } {
135
+ return {
136
+ proxyList: 'ProxyList',
137
+ requestId: 'RequestId',
138
+ totalCount: 'TotalCount',
139
+ };
140
+ }
141
+
142
+ static types(): { [key: string]: any } {
143
+ return {
144
+ proxyList: { 'type': 'array', 'itemType': DescribeSecurityProxyResponseBodyProxyList },
145
+ requestId: 'string',
146
+ totalCount: 'number',
147
+ };
148
+ }
149
+
150
+ validate() {
151
+ if(Array.isArray(this.proxyList)) {
152
+ $dara.Model.validateArray(this.proxyList);
153
+ }
154
+ super.validate();
155
+ }
156
+
157
+ constructor(map?: { [key: string]: any }) {
158
+ super(map);
159
+ }
160
+ }
161
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeThreatIntelligenceSwitchResponseBody } from "./DescribeThreatIntelligenceSwitchResponseBody";
4
+
5
+
6
+ export class DescribeThreatIntelligenceSwitchResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeThreatIntelligenceSwitchResponseBody;
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: DescribeThreatIntelligenceSwitchResponseBody,
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
+