@byteplus/pulumi-bytepluscc 0.0.8 → 0.0.11

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 (255) hide show
  1. package/alb/acl.d.ts +152 -0
  2. package/alb/acl.js +98 -0
  3. package/alb/acl.js.map +1 -0
  4. package/alb/getAcl.d.ts +81 -0
  5. package/alb/getAcl.js +28 -0
  6. package/alb/getAcl.js.map +1 -0
  7. package/alb/getAcls.d.ts +22 -0
  8. package/alb/getAcls.js +24 -0
  9. package/alb/getAcls.js.map +1 -0
  10. package/alb/getLoadBalancer.d.ts +153 -0
  11. package/alb/getLoadBalancer.js +28 -0
  12. package/alb/getLoadBalancer.js.map +1 -0
  13. package/alb/getLoadBalancers.d.ts +22 -0
  14. package/alb/getLoadBalancers.js +24 -0
  15. package/alb/getLoadBalancers.js.map +1 -0
  16. package/alb/getServerGroup.d.ts +109 -0
  17. package/alb/getServerGroup.js +28 -0
  18. package/alb/getServerGroup.js.map +1 -0
  19. package/alb/getServerGroups.d.ts +22 -0
  20. package/alb/getServerGroups.js +24 -0
  21. package/alb/getServerGroups.js.map +1 -0
  22. package/alb/index.d.ts +27 -0
  23. package/alb/index.js +34 -1
  24. package/alb/index.js.map +1 -1
  25. package/alb/loadBalancer.d.ts +341 -0
  26. package/alb/loadBalancer.js +120 -0
  27. package/alb/loadBalancer.js.map +1 -0
  28. package/alb/serverGroup.d.ts +219 -0
  29. package/alb/serverGroup.js +95 -0
  30. package/alb/serverGroup.js.map +1 -0
  31. package/autoscaling/getScalingConfiguration.d.ts +4 -1
  32. package/autoscaling/getScalingConfiguration.js.map +1 -1
  33. package/autoscaling/scalingConfiguration.d.ts +3 -3
  34. package/cdn/getShareConfig.d.ts +1 -1
  35. package/cdn/shareConfig.d.ts +3 -3
  36. package/cdn/shareConfig.js +2 -2
  37. package/cdn/shareConfig.js.map +1 -1
  38. package/clb/acl.d.ts +166 -0
  39. package/clb/acl.js +107 -0
  40. package/clb/acl.js.map +1 -0
  41. package/clb/certificate.d.ts +187 -0
  42. package/clb/certificate.js +109 -0
  43. package/clb/certificate.js.map +1 -0
  44. package/clb/getAcl.d.ts +85 -0
  45. package/clb/getAcl.js +28 -0
  46. package/clb/getAcl.js.map +1 -0
  47. package/clb/getAcls.d.ts +22 -0
  48. package/clb/getAcls.js +24 -0
  49. package/clb/getAcls.js.map +1 -0
  50. package/clb/getCertificate.d.ts +89 -0
  51. package/clb/getCertificate.js +28 -0
  52. package/clb/getCertificate.js.map +1 -0
  53. package/clb/getCertificates.d.ts +22 -0
  54. package/clb/getCertificates.js +24 -0
  55. package/clb/getCertificates.js.map +1 -0
  56. package/clb/getListener.d.ts +5 -1
  57. package/clb/getListener.js.map +1 -1
  58. package/clb/getNlb.d.ts +141 -0
  59. package/clb/getNlb.js +28 -0
  60. package/clb/getNlb.js.map +1 -0
  61. package/clb/getNlbs.d.ts +22 -0
  62. package/clb/getNlbs.js +24 -0
  63. package/clb/getNlbs.js.map +1 -0
  64. package/clb/index.d.ts +27 -0
  65. package/clb/index.js +34 -1
  66. package/clb/index.js.map +1 -1
  67. package/clb/listener.d.ts +11 -3
  68. package/clb/listener.js +2 -0
  69. package/clb/listener.js.map +1 -1
  70. package/clb/nlb.d.ts +297 -0
  71. package/clb/nlb.js +120 -0
  72. package/clb/nlb.js.map +1 -0
  73. package/cr/getNameSpace.d.ts +52 -0
  74. package/cr/getNameSpace.js +28 -0
  75. package/cr/getNameSpace.js.map +1 -0
  76. package/cr/getNameSpaces.d.ts +22 -0
  77. package/cr/getNameSpaces.js +24 -0
  78. package/cr/getNameSpaces.js.map +1 -0
  79. package/cr/getRegistries.d.ts +22 -0
  80. package/cr/getRegistries.js +24 -0
  81. package/cr/getRegistries.js.map +1 -0
  82. package/cr/getRegistry.d.ts +81 -0
  83. package/cr/getRegistry.js +28 -0
  84. package/cr/getRegistry.js.map +1 -0
  85. package/cr/index.d.ts +18 -0
  86. package/cr/index.js +23 -1
  87. package/cr/index.js.map +1 -1
  88. package/cr/nameSpace.d.ts +102 -0
  89. package/cr/nameSpace.js +83 -0
  90. package/cr/nameSpace.js.map +1 -0
  91. package/cr/registry.d.ts +159 -0
  92. package/cr/registry.js +98 -0
  93. package/cr/registry.js.map +1 -0
  94. package/ecs/command.d.ts +213 -0
  95. package/ecs/command.js +99 -0
  96. package/ecs/command.js.map +1 -0
  97. package/ecs/getCommand.d.ts +105 -0
  98. package/ecs/getCommand.js +28 -0
  99. package/ecs/getCommand.js.map +1 -0
  100. package/ecs/getCommands.d.ts +22 -0
  101. package/ecs/getCommands.js +24 -0
  102. package/ecs/getCommands.js.map +1 -0
  103. package/ecs/getInvocation.d.ts +149 -0
  104. package/ecs/getInvocation.js +28 -0
  105. package/ecs/getInvocation.js.map +1 -0
  106. package/ecs/getInvocations.d.ts +22 -0
  107. package/ecs/getInvocations.js +24 -0
  108. package/ecs/getInvocations.js.map +1 -0
  109. package/ecs/getKeypair.d.ts +77 -0
  110. package/ecs/getKeypair.js +28 -0
  111. package/ecs/getKeypair.js.map +1 -0
  112. package/ecs/getKeypairs.d.ts +22 -0
  113. package/ecs/getKeypairs.js +24 -0
  114. package/ecs/getKeypairs.js.map +1 -0
  115. package/ecs/index.d.ts +27 -0
  116. package/ecs/index.js +34 -1
  117. package/ecs/index.js.map +1 -1
  118. package/ecs/invocation.d.ts +338 -0
  119. package/ecs/invocation.js +149 -0
  120. package/ecs/invocation.js.map +1 -0
  121. package/ecs/keypair.d.ts +159 -0
  122. package/ecs/keypair.js +96 -0
  123. package/ecs/keypair.js.map +1 -0
  124. package/filenas/getSnapshot.d.ts +92 -0
  125. package/filenas/getSnapshot.js +28 -0
  126. package/filenas/getSnapshot.js.map +1 -0
  127. package/filenas/getSnapshots.d.ts +22 -0
  128. package/filenas/getSnapshots.js +24 -0
  129. package/filenas/getSnapshots.js.map +1 -0
  130. package/filenas/index.d.ts +9 -0
  131. package/filenas/index.js +12 -1
  132. package/filenas/index.js.map +1 -1
  133. package/filenas/snapshot.d.ts +182 -0
  134. package/filenas/snapshot.js +103 -0
  135. package/filenas/snapshot.js.map +1 -0
  136. package/iam/getGroup.d.ts +73 -0
  137. package/iam/getGroup.js +28 -0
  138. package/iam/getGroup.js.map +1 -0
  139. package/iam/getGroups.d.ts +22 -0
  140. package/iam/getGroups.js +24 -0
  141. package/iam/getGroups.js.map +1 -0
  142. package/iam/group.d.ts +121 -0
  143. package/iam/group.js +77 -0
  144. package/iam/group.js.map +1 -0
  145. package/iam/index.d.ts +9 -0
  146. package/iam/index.js +12 -1
  147. package/iam/index.js.map +1 -1
  148. package/iam/policy.d.ts +0 -4
  149. package/iam/policy.js +1 -1
  150. package/iam/policy.js.map +1 -1
  151. package/index.d.ts +4 -1
  152. package/index.js +7 -1
  153. package/index.js.map +1 -1
  154. package/package.json +1 -1
  155. package/rdsmysql/database.d.ts +106 -0
  156. package/rdsmysql/database.js +74 -0
  157. package/rdsmysql/database.js.map +1 -0
  158. package/rdsmysql/getDatabase.d.ts +61 -0
  159. package/rdsmysql/getDatabase.js +28 -0
  160. package/rdsmysql/getDatabase.js.map +1 -0
  161. package/rdsmysql/getDatabases.d.ts +22 -0
  162. package/rdsmysql/getDatabases.js +24 -0
  163. package/rdsmysql/getDatabases.js.map +1 -0
  164. package/rdsmysql/index.d.ts +9 -0
  165. package/rdsmysql/index.js +12 -1
  166. package/rdsmysql/index.js.map +1 -1
  167. package/transitrouter/getTransitRouter.d.ts +93 -0
  168. package/transitrouter/getTransitRouter.js +28 -0
  169. package/transitrouter/getTransitRouter.js.map +1 -0
  170. package/transitrouter/getTransitRouterRouteEntries.d.ts +22 -0
  171. package/transitrouter/getTransitRouterRouteEntries.js +24 -0
  172. package/transitrouter/getTransitRouterRouteEntries.js.map +1 -0
  173. package/transitrouter/getTransitRouterRouteEntry.d.ts +84 -0
  174. package/transitrouter/getTransitRouterRouteEntry.js +28 -0
  175. package/transitrouter/getTransitRouterRouteEntry.js.map +1 -0
  176. package/transitrouter/getTransitRouterRouteTable.d.ts +81 -0
  177. package/transitrouter/getTransitRouterRouteTable.js +28 -0
  178. package/transitrouter/getTransitRouterRouteTable.js.map +1 -0
  179. package/transitrouter/getTransitRouterRouteTables.d.ts +22 -0
  180. package/transitrouter/getTransitRouterRouteTables.js +24 -0
  181. package/transitrouter/getTransitRouterRouteTables.js.map +1 -0
  182. package/transitrouter/getTransitRouters.d.ts +22 -0
  183. package/transitrouter/getTransitRouters.js +24 -0
  184. package/transitrouter/getTransitRouters.js.map +1 -0
  185. package/transitrouter/index.d.ts +27 -0
  186. package/transitrouter/index.js +50 -0
  187. package/transitrouter/index.js.map +1 -0
  188. package/transitrouter/transitRouter.d.ts +182 -0
  189. package/transitrouter/transitRouter.js +102 -0
  190. package/transitrouter/transitRouter.js.map +1 -0
  191. package/transitrouter/transitRouterRouteEntry.d.ts +165 -0
  192. package/transitrouter/transitRouterRouteEntry.js +89 -0
  193. package/transitrouter/transitRouterRouteEntry.js.map +1 -0
  194. package/transitrouter/transitRouterRouteTable.d.ts +159 -0
  195. package/transitrouter/transitRouterRouteTable.js +98 -0
  196. package/transitrouter/transitRouterRouteTable.js.map +1 -0
  197. package/types/input.d.ts +978 -26
  198. package/types/output.d.ts +2407 -341
  199. package/vefaas/kafkaTrigger.d.ts +1 -1
  200. package/vefaas/kafkaTrigger.js +3 -0
  201. package/vefaas/kafkaTrigger.js.map +1 -1
  202. package/vmp/getWorkspace.d.ts +109 -0
  203. package/vmp/getWorkspace.js +28 -0
  204. package/vmp/getWorkspace.js.map +1 -0
  205. package/vmp/getWorkspaces.d.ts +22 -0
  206. package/vmp/getWorkspaces.js +24 -0
  207. package/vmp/getWorkspaces.js.map +1 -0
  208. package/vmp/index.d.ts +9 -0
  209. package/vmp/index.js +28 -0
  210. package/vmp/index.js.map +1 -0
  211. package/vmp/workspace.d.ts +235 -0
  212. package/vmp/workspace.js +119 -0
  213. package/vmp/workspace.js.map +1 -0
  214. package/vpc/bandwidthPackage.d.ts +257 -0
  215. package/vpc/bandwidthPackage.js +103 -0
  216. package/vpc/bandwidthPackage.js.map +1 -0
  217. package/vpc/getBandwidthPackage.d.ts +125 -0
  218. package/vpc/getBandwidthPackage.js +28 -0
  219. package/vpc/getBandwidthPackage.js.map +1 -0
  220. package/vpc/getBandwidthPackages.d.ts +22 -0
  221. package/vpc/getBandwidthPackages.js +24 -0
  222. package/vpc/getBandwidthPackages.js.map +1 -0
  223. package/vpc/getNetworkAcl.d.ts +93 -0
  224. package/vpc/getNetworkAcl.js +28 -0
  225. package/vpc/getNetworkAcl.js.map +1 -0
  226. package/vpc/getNetworkAcls.d.ts +22 -0
  227. package/vpc/getNetworkAcls.js +24 -0
  228. package/vpc/getNetworkAcls.js.map +1 -0
  229. package/vpc/getPrefixList.d.ts +93 -0
  230. package/vpc/getPrefixList.js +28 -0
  231. package/vpc/getPrefixList.js.map +1 -0
  232. package/vpc/getPrefixLists.d.ts +22 -0
  233. package/vpc/getPrefixLists.js +24 -0
  234. package/vpc/getPrefixLists.js.map +1 -0
  235. package/vpc/index.d.ts +27 -0
  236. package/vpc/index.js +34 -1
  237. package/vpc/index.js.map +1 -1
  238. package/vpc/networkAcl.d.ts +143 -0
  239. package/vpc/networkAcl.js +87 -0
  240. package/vpc/networkAcl.js.map +1 -0
  241. package/vpc/prefixList.d.ts +180 -0
  242. package/vpc/prefixList.js +110 -0
  243. package/vpc/prefixList.js.map +1 -0
  244. package/vpn/getVpnGateway.d.ts +165 -0
  245. package/vpn/getVpnGateway.js +28 -0
  246. package/vpn/getVpnGateway.js.map +1 -0
  247. package/vpn/getVpnGateways.d.ts +22 -0
  248. package/vpn/getVpnGateways.js +24 -0
  249. package/vpn/getVpnGateways.js.map +1 -0
  250. package/vpn/index.d.ts +9 -0
  251. package/vpn/index.js +28 -0
  252. package/vpn/index.js.map +1 -0
  253. package/vpn/vpnGateway.d.ts +389 -0
  254. package/vpn/vpnGateway.js +152 -0
  255. package/vpn/vpnGateway.js.map +1 -0
@@ -0,0 +1,165 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::VPN::VPNGateway
5
+ */
6
+ export declare function getVpnGateway(args: GetVpnGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetVpnGatewayResult>;
7
+ /**
8
+ * A collection of arguments for invoking getVpnGateway.
9
+ */
10
+ export interface GetVpnGatewayArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getVpnGateway.
18
+ */
19
+ export interface GetVpnGatewayResult {
20
+ /**
21
+ * VPN网关的ASN。
22
+ */
23
+ readonly asn: number;
24
+ /**
25
+ * VPN网关的带宽规格。
26
+ */
27
+ readonly bandwidth: number;
28
+ /**
29
+ * VPN网关的计费类型。1:包年包月。2:按量计费(按固定规格)
30
+ */
31
+ readonly billingType: number;
32
+ /**
33
+ * VPN网关的计费状态。Normal: 正常。FinancialLocked: 被锁定。
34
+ */
35
+ readonly businessStatus: string;
36
+ /**
37
+ * VPN网关关联IPsec连接的数量。
38
+ */
39
+ readonly connectionCount: number;
40
+ /**
41
+ * 创建VPN网关的时间。
42
+ */
43
+ readonly createTime: string;
44
+ /**
45
+ * 预期资源强制回收时间。
46
+ */
47
+ readonly deletedTime: string;
48
+ /**
49
+ * VPN网关的描述。
50
+ */
51
+ readonly description: string;
52
+ /**
53
+ * VPN网关是否开启双隧道模式。true:开启false:关闭
54
+ */
55
+ readonly dualTunnelEnabled: boolean;
56
+ /**
57
+ * VPN网关的到期时间。
58
+ */
59
+ readonly expiredTime: string;
60
+ /**
61
+ * Uniquely identifies the resource.
62
+ */
63
+ readonly id: string;
64
+ /**
65
+ * VPN网关的公网IP地址。
66
+ */
67
+ readonly ipAddress: string;
68
+ /**
69
+ * VPN 网关的协议类型。ipv4*only:IPv4协议类型。ipv6*only:IPv6协议类型。ipv4_ipv6:双栈协议类型。
70
+ */
71
+ readonly ipStackType: string;
72
+ /**
73
+ * VPN网关的IP地址类型。ipv4:IPv4地址类型。ipv6:IPv6地址类型。
74
+ */
75
+ readonly ipVersion: string;
76
+ /**
77
+ * 是否开启IPSec功能。true:开启false:关闭。
78
+ */
79
+ readonly ipsecEnabled: boolean;
80
+ /**
81
+ * 当前资源的状态是否被封禁。true:封禁false:未封禁。
82
+ */
83
+ readonly isBlocked: boolean;
84
+ /**
85
+ * VPN网关的锁定原因。financial:因欠费被锁定。security:因安全被锁定。unlock:未锁定。
86
+ */
87
+ readonly lockReason: string;
88
+ /**
89
+ * 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
90
+ */
91
+ readonly overdueTime: string;
92
+ /**
93
+ * 包年包月类型VPN网关购买的时长,默认“1”。当PeriodUnit传入值为Month,Period取值范围:1~9、12、24、36。当PeriodUnit传入值为Year,Period取值范围:1~3。
94
+ */
95
+ readonly period: number;
96
+ /**
97
+ * 包年包月类型VPN网关购买时长的单位,默认“Month”。Month:月Year:年
98
+ */
99
+ readonly periodUnit: string;
100
+ /**
101
+ * VPN网关所属的项目。不填默认为default,即创建的资源属于default项目。您可调用ListProjects查询当前账号下项目的信息。
102
+ */
103
+ readonly projectName: string;
104
+ /**
105
+ * VPN网关的路由条目数量。
106
+ */
107
+ readonly routeCount: number;
108
+ /**
109
+ * VPN网关的第二个公网IP地址。仅双隧道模式的VPN网关实例返回该参数,单隧道模式的VPN网关实例不返回该参数。
110
+ */
111
+ readonly secondaryIpAddress: string;
112
+ /**
113
+ * VPN网关实例关联的第二个子网的ID。仅双隧道模式的VPN网关实例返回该参数,单隧道模式的VPN网关实例不返回该参数。
114
+ */
115
+ readonly secondarySubnetId: string;
116
+ /**
117
+ * 是否开启SSL VPN功能。true:开启false:关闭
118
+ */
119
+ readonly sslEnabled: boolean;
120
+ /**
121
+ * VPN网关的最大SSL连接数。
122
+ */
123
+ readonly sslMaxConnections: number;
124
+ /**
125
+ * VPN网关的状态。Creating: 创建中Deleting: 删除中Pending:配置中Available:可用
126
+ */
127
+ readonly status: string;
128
+ /**
129
+ * VPN网关使用的端口所属子网的ID。
130
+ */
131
+ readonly subnetId: string;
132
+ /**
133
+ * VPN网关已添加的全部标签信息。
134
+ */
135
+ readonly tags: outputs.vpn.GetVpnGatewayTag[];
136
+ /**
137
+ * 更新VPN网关的时间。
138
+ */
139
+ readonly updateTime: string;
140
+ /**
141
+ * VPN网关所在VPC的ID。
142
+ */
143
+ readonly vpcId: string;
144
+ /**
145
+ * VPN网关的ID。
146
+ */
147
+ readonly vpnGatewayId: string;
148
+ /**
149
+ * VPN网关的名称。
150
+ */
151
+ readonly vpnGatewayName: string;
152
+ }
153
+ /**
154
+ * Data Source schema for Byteplus::VPN::VPNGateway
155
+ */
156
+ export declare function getVpnGatewayOutput(args: GetVpnGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpnGatewayResult>;
157
+ /**
158
+ * A collection of arguments for invoking getVpnGateway.
159
+ */
160
+ export interface GetVpnGatewayOutputArgs {
161
+ /**
162
+ * Uniquely identifies the resource.
163
+ */
164
+ id: pulumi.Input<string>;
165
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getVpnGatewayOutput = exports.getVpnGateway = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::VPN::VPNGateway
10
+ */
11
+ function getVpnGateway(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vpn/getVpnGateway:getVpnGateway", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getVpnGateway = getVpnGateway;
18
+ /**
19
+ * Data Source schema for Byteplus::VPN::VPNGateway
20
+ */
21
+ function getVpnGatewayOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:vpn/getVpnGateway:getVpnGateway", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getVpnGatewayOutput = getVpnGatewayOutput;
28
+ //# sourceMappingURL=getVpnGateway.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVpnGateway.js","sourceRoot":"","sources":["../../vpn/getVpnGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAqJD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::VPN::VPNGateway
4
+ */
5
+ export declare function getVpnGateways(opts?: pulumi.InvokeOptions): Promise<GetVpnGatewaysResult>;
6
+ /**
7
+ * A collection of values returned by getVpnGateways.
8
+ */
9
+ export interface GetVpnGatewaysResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Byteplus::VPN::VPNGateway
21
+ */
22
+ export declare function getVpnGatewaysOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpnGatewaysResult>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getVpnGatewaysOutput = exports.getVpnGateways = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::VPN::VPNGateway
10
+ */
11
+ function getVpnGateways(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vpn/getVpnGateways:getVpnGateways", {}, opts);
14
+ }
15
+ exports.getVpnGateways = getVpnGateways;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::VPN::VPNGateway
18
+ */
19
+ function getVpnGatewaysOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:vpn/getVpnGateways:getVpnGateways", {}, opts);
22
+ }
23
+ exports.getVpnGatewaysOutput = getVpnGatewaysOutput;
24
+ //# sourceMappingURL=getVpnGateways.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVpnGateways.js","sourceRoot":"","sources":["../../vpn/getVpnGateways.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
package/vpn/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ export { GetVpnGatewayArgs, GetVpnGatewayResult, GetVpnGatewayOutputArgs } from "./getVpnGateway";
2
+ export declare const getVpnGateway: typeof import("./getVpnGateway").getVpnGateway;
3
+ export declare const getVpnGatewayOutput: typeof import("./getVpnGateway").getVpnGatewayOutput;
4
+ export { GetVpnGatewaysResult } from "./getVpnGateways";
5
+ export declare const getVpnGateways: typeof import("./getVpnGateways").getVpnGateways;
6
+ export declare const getVpnGatewaysOutput: typeof import("./getVpnGateways").getVpnGatewaysOutput;
7
+ export { VpnGatewayArgs, VpnGatewayState } from "./vpnGateway";
8
+ export type VpnGateway = import("./vpnGateway").VpnGateway;
9
+ export declare const VpnGateway: typeof import("./vpnGateway").VpnGateway;
package/vpn/index.js ADDED
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.VpnGateway = exports.getVpnGatewaysOutput = exports.getVpnGateways = exports.getVpnGatewayOutput = exports.getVpnGateway = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.getVpnGateway = null;
9
+ exports.getVpnGatewayOutput = null;
10
+ utilities.lazyLoad(exports, ["getVpnGateway", "getVpnGatewayOutput"], () => require("./getVpnGateway"));
11
+ exports.getVpnGateways = null;
12
+ exports.getVpnGatewaysOutput = null;
13
+ utilities.lazyLoad(exports, ["getVpnGateways", "getVpnGatewaysOutput"], () => require("./getVpnGateways"));
14
+ exports.VpnGateway = null;
15
+ utilities.lazyLoad(exports, ["VpnGateway"], () => require("./vpnGateway"));
16
+ const _module = {
17
+ version: utilities.getVersion(),
18
+ construct: (name, type, urn) => {
19
+ switch (type) {
20
+ case "bytepluscc:vpn/vpnGateway:VpnGateway":
21
+ return new exports.VpnGateway(name, undefined, { urn });
22
+ default:
23
+ throw new Error(`unknown resource type ${type}`);
24
+ }
25
+ },
26
+ };
27
+ pulumi.runtime.registerResourceModule("bytepluscc", "vpn/vpnGateway", _module);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../vpn/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAG1F,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAI7F,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG3E,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,389 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * 当您需要通过VPN连接实现私有网络与本地数据中心或其他私有网络之间的通信,您需要先创建一个VPN网关。
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
12
+ *
13
+ * const vpnVpnGatewayDemo = new bytepluscc.vpn.VpnGateway("VpnVpnGatewayDemo", {
14
+ * bandwidth: 5,
15
+ * billingType: 2,
16
+ * description: "this is a test description",
17
+ * dualTunnelEnabled: false,
18
+ * ipStackType: "ipv4_only",
19
+ * ipVersion: "ipv4",
20
+ * vpnGatewayName: "VpnVpnGatewayDemo",
21
+ * ipsecEnabled: true,
22
+ * sslEnabled: true,
23
+ * sslMaxConnections: 5,
24
+ * projectName: "default",
25
+ * vpcId: "vpc-3nr6adxxxxu8931eb64y4z2",
26
+ * subnetId: "subnet-btepcsxxxxw5h0b2u6hppyd",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * ```sh
33
+ * $ pulumi import bytepluscc:vpn/vpnGateway:VpnGateway example "vpn_gateway_id"
34
+ * ```
35
+ */
36
+ export declare class VpnGateway extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing VpnGateway resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpnGatewayState, opts?: pulumi.CustomResourceOptions): VpnGateway;
47
+ /**
48
+ * Returns true if the given object is an instance of VpnGateway. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is VpnGateway;
52
+ /**
53
+ * VPN网关的ASN。
54
+ */
55
+ readonly asn: pulumi.Output<number>;
56
+ /**
57
+ * VPN网关的带宽规格。
58
+ */
59
+ readonly bandwidth: pulumi.Output<number>;
60
+ /**
61
+ * VPN网关的计费类型。1:包年包月。2:按量计费(按固定规格)
62
+ */
63
+ readonly billingType: pulumi.Output<number>;
64
+ /**
65
+ * VPN网关的计费状态。Normal: 正常。FinancialLocked: 被锁定。
66
+ */
67
+ readonly businessStatus: pulumi.Output<string>;
68
+ /**
69
+ * VPN网关关联IPsec连接的数量。
70
+ */
71
+ readonly connectionCount: pulumi.Output<number>;
72
+ /**
73
+ * 创建VPN网关的时间。
74
+ */
75
+ readonly createTime: pulumi.Output<string>;
76
+ /**
77
+ * 预期资源强制回收时间。
78
+ */
79
+ readonly deletedTime: pulumi.Output<string>;
80
+ /**
81
+ * VPN网关的描述。
82
+ */
83
+ readonly description: pulumi.Output<string>;
84
+ /**
85
+ * VPN网关是否开启双隧道模式。true:开启false:关闭
86
+ */
87
+ readonly dualTunnelEnabled: pulumi.Output<boolean>;
88
+ /**
89
+ * VPN网关的到期时间。
90
+ */
91
+ readonly expiredTime: pulumi.Output<string>;
92
+ /**
93
+ * VPN网关的公网IP地址。
94
+ */
95
+ readonly ipAddress: pulumi.Output<string>;
96
+ /**
97
+ * VPN 网关的协议类型。ipv4*only:IPv4协议类型。ipv6*only:IPv6协议类型。ipv4_ipv6:双栈协议类型。
98
+ */
99
+ readonly ipStackType: pulumi.Output<string>;
100
+ /**
101
+ * VPN网关的IP地址类型。ipv4:IPv4地址类型。ipv6:IPv6地址类型。
102
+ */
103
+ readonly ipVersion: pulumi.Output<string>;
104
+ /**
105
+ * 是否开启IPSec功能。true:开启false:关闭。
106
+ */
107
+ readonly ipsecEnabled: pulumi.Output<boolean>;
108
+ /**
109
+ * 当前资源的状态是否被封禁。true:封禁false:未封禁。
110
+ */
111
+ readonly isBlocked: pulumi.Output<boolean>;
112
+ /**
113
+ * VPN网关的锁定原因。financial:因欠费被锁定。security:因安全被锁定。unlock:未锁定。
114
+ */
115
+ readonly lockReason: pulumi.Output<string>;
116
+ /**
117
+ * 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
118
+ */
119
+ readonly overdueTime: pulumi.Output<string>;
120
+ /**
121
+ * 包年包月类型VPN网关购买的时长,默认“1”。当PeriodUnit传入值为Month,Period取值范围:1~9、12、24、36。当PeriodUnit传入值为Year,Period取值范围:1~3。
122
+ */
123
+ readonly period: pulumi.Output<number>;
124
+ /**
125
+ * 包年包月类型VPN网关购买时长的单位,默认“Month”。Month:月Year:年
126
+ */
127
+ readonly periodUnit: pulumi.Output<string>;
128
+ /**
129
+ * VPN网关所属的项目。不填默认为default,即创建的资源属于default项目。您可调用ListProjects查询当前账号下项目的信息。
130
+ */
131
+ readonly projectName: pulumi.Output<string>;
132
+ /**
133
+ * VPN网关的路由条目数量。
134
+ */
135
+ readonly routeCount: pulumi.Output<number>;
136
+ /**
137
+ * VPN网关的第二个公网IP地址。仅双隧道模式的VPN网关实例返回该参数,单隧道模式的VPN网关实例不返回该参数。
138
+ */
139
+ readonly secondaryIpAddress: pulumi.Output<string>;
140
+ /**
141
+ * VPN网关实例关联的第二个子网的ID。仅双隧道模式的VPN网关实例返回该参数,单隧道模式的VPN网关实例不返回该参数。
142
+ */
143
+ readonly secondarySubnetId: pulumi.Output<string>;
144
+ /**
145
+ * 是否开启SSL VPN功能。true:开启false:关闭
146
+ */
147
+ readonly sslEnabled: pulumi.Output<boolean>;
148
+ /**
149
+ * VPN网关的最大SSL连接数。
150
+ */
151
+ readonly sslMaxConnections: pulumi.Output<number>;
152
+ /**
153
+ * VPN网关的状态。Creating: 创建中Deleting: 删除中Pending:配置中Available:可用
154
+ */
155
+ readonly status: pulumi.Output<string>;
156
+ /**
157
+ * VPN网关使用的端口所属子网的ID。
158
+ */
159
+ readonly subnetId: pulumi.Output<string>;
160
+ readonly tags: pulumi.Output<outputs.vpn.VpnGatewayTag[]>;
161
+ /**
162
+ * 更新VPN网关的时间。
163
+ */
164
+ readonly updateTime: pulumi.Output<string>;
165
+ /**
166
+ * VPN网关所在VPC的ID。
167
+ */
168
+ readonly vpcId: pulumi.Output<string>;
169
+ /**
170
+ * VPN网关的ID。
171
+ */
172
+ readonly vpnGatewayId: pulumi.Output<string>;
173
+ /**
174
+ * VPN网关的名称。
175
+ */
176
+ readonly vpnGatewayName: pulumi.Output<string>;
177
+ /**
178
+ * Create a VpnGateway resource with the given unique name, arguments, and options.
179
+ *
180
+ * @param name The _unique_ name of the resource.
181
+ * @param args The arguments to use to populate this resource's properties.
182
+ * @param opts A bag of options that control this resource's behavior.
183
+ */
184
+ constructor(name: string, args: VpnGatewayArgs, opts?: pulumi.CustomResourceOptions);
185
+ }
186
+ /**
187
+ * Input properties used for looking up and filtering VpnGateway resources.
188
+ */
189
+ export interface VpnGatewayState {
190
+ /**
191
+ * VPN网关的ASN。
192
+ */
193
+ asn?: pulumi.Input<number>;
194
+ /**
195
+ * VPN网关的带宽规格。
196
+ */
197
+ bandwidth?: pulumi.Input<number>;
198
+ /**
199
+ * VPN网关的计费类型。1:包年包月。2:按量计费(按固定规格)
200
+ */
201
+ billingType?: pulumi.Input<number>;
202
+ /**
203
+ * VPN网关的计费状态。Normal: 正常。FinancialLocked: 被锁定。
204
+ */
205
+ businessStatus?: pulumi.Input<string>;
206
+ /**
207
+ * VPN网关关联IPsec连接的数量。
208
+ */
209
+ connectionCount?: pulumi.Input<number>;
210
+ /**
211
+ * 创建VPN网关的时间。
212
+ */
213
+ createTime?: pulumi.Input<string>;
214
+ /**
215
+ * 预期资源强制回收时间。
216
+ */
217
+ deletedTime?: pulumi.Input<string>;
218
+ /**
219
+ * VPN网关的描述。
220
+ */
221
+ description?: pulumi.Input<string>;
222
+ /**
223
+ * VPN网关是否开启双隧道模式。true:开启false:关闭
224
+ */
225
+ dualTunnelEnabled?: pulumi.Input<boolean>;
226
+ /**
227
+ * VPN网关的到期时间。
228
+ */
229
+ expiredTime?: pulumi.Input<string>;
230
+ /**
231
+ * VPN网关的公网IP地址。
232
+ */
233
+ ipAddress?: pulumi.Input<string>;
234
+ /**
235
+ * VPN 网关的协议类型。ipv4*only:IPv4协议类型。ipv6*only:IPv6协议类型。ipv4_ipv6:双栈协议类型。
236
+ */
237
+ ipStackType?: pulumi.Input<string>;
238
+ /**
239
+ * VPN网关的IP地址类型。ipv4:IPv4地址类型。ipv6:IPv6地址类型。
240
+ */
241
+ ipVersion?: pulumi.Input<string>;
242
+ /**
243
+ * 是否开启IPSec功能。true:开启false:关闭。
244
+ */
245
+ ipsecEnabled?: pulumi.Input<boolean>;
246
+ /**
247
+ * 当前资源的状态是否被封禁。true:封禁false:未封禁。
248
+ */
249
+ isBlocked?: pulumi.Input<boolean>;
250
+ /**
251
+ * VPN网关的锁定原因。financial:因欠费被锁定。security:因安全被锁定。unlock:未锁定。
252
+ */
253
+ lockReason?: pulumi.Input<string>;
254
+ /**
255
+ * 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
256
+ */
257
+ overdueTime?: pulumi.Input<string>;
258
+ /**
259
+ * 包年包月类型VPN网关购买的时长,默认“1”。当PeriodUnit传入值为Month,Period取值范围:1~9、12、24、36。当PeriodUnit传入值为Year,Period取值范围:1~3。
260
+ */
261
+ period?: pulumi.Input<number>;
262
+ /**
263
+ * 包年包月类型VPN网关购买时长的单位,默认“Month”。Month:月Year:年
264
+ */
265
+ periodUnit?: pulumi.Input<string>;
266
+ /**
267
+ * VPN网关所属的项目。不填默认为default,即创建的资源属于default项目。您可调用ListProjects查询当前账号下项目的信息。
268
+ */
269
+ projectName?: pulumi.Input<string>;
270
+ /**
271
+ * VPN网关的路由条目数量。
272
+ */
273
+ routeCount?: pulumi.Input<number>;
274
+ /**
275
+ * VPN网关的第二个公网IP地址。仅双隧道模式的VPN网关实例返回该参数,单隧道模式的VPN网关实例不返回该参数。
276
+ */
277
+ secondaryIpAddress?: pulumi.Input<string>;
278
+ /**
279
+ * VPN网关实例关联的第二个子网的ID。仅双隧道模式的VPN网关实例返回该参数,单隧道模式的VPN网关实例不返回该参数。
280
+ */
281
+ secondarySubnetId?: pulumi.Input<string>;
282
+ /**
283
+ * 是否开启SSL VPN功能。true:开启false:关闭
284
+ */
285
+ sslEnabled?: pulumi.Input<boolean>;
286
+ /**
287
+ * VPN网关的最大SSL连接数。
288
+ */
289
+ sslMaxConnections?: pulumi.Input<number>;
290
+ /**
291
+ * VPN网关的状态。Creating: 创建中Deleting: 删除中Pending:配置中Available:可用
292
+ */
293
+ status?: pulumi.Input<string>;
294
+ /**
295
+ * VPN网关使用的端口所属子网的ID。
296
+ */
297
+ subnetId?: pulumi.Input<string>;
298
+ tags?: pulumi.Input<pulumi.Input<inputs.vpn.VpnGatewayTag>[]>;
299
+ /**
300
+ * 更新VPN网关的时间。
301
+ */
302
+ updateTime?: pulumi.Input<string>;
303
+ /**
304
+ * VPN网关所在VPC的ID。
305
+ */
306
+ vpcId?: pulumi.Input<string>;
307
+ /**
308
+ * VPN网关的ID。
309
+ */
310
+ vpnGatewayId?: pulumi.Input<string>;
311
+ /**
312
+ * VPN网关的名称。
313
+ */
314
+ vpnGatewayName?: pulumi.Input<string>;
315
+ }
316
+ /**
317
+ * The set of arguments for constructing a VpnGateway resource.
318
+ */
319
+ export interface VpnGatewayArgs {
320
+ /**
321
+ * VPN网关的ASN。
322
+ */
323
+ asn?: pulumi.Input<number>;
324
+ /**
325
+ * VPN网关的带宽规格。
326
+ */
327
+ bandwidth: pulumi.Input<number>;
328
+ /**
329
+ * VPN网关的计费类型。1:包年包月。2:按量计费(按固定规格)
330
+ */
331
+ billingType?: pulumi.Input<number>;
332
+ /**
333
+ * VPN网关的描述。
334
+ */
335
+ description?: pulumi.Input<string>;
336
+ /**
337
+ * VPN网关是否开启双隧道模式。true:开启false:关闭
338
+ */
339
+ dualTunnelEnabled?: pulumi.Input<boolean>;
340
+ /**
341
+ * VPN 网关的协议类型。ipv4*only:IPv4协议类型。ipv6*only:IPv6协议类型。ipv4_ipv6:双栈协议类型。
342
+ */
343
+ ipStackType?: pulumi.Input<string>;
344
+ /**
345
+ * VPN网关的IP地址类型。ipv4:IPv4地址类型。ipv6:IPv6地址类型。
346
+ */
347
+ ipVersion?: pulumi.Input<string>;
348
+ /**
349
+ * 是否开启IPSec功能。true:开启false:关闭。
350
+ */
351
+ ipsecEnabled?: pulumi.Input<boolean>;
352
+ /**
353
+ * 包年包月类型VPN网关购买的时长,默认“1”。当PeriodUnit传入值为Month,Period取值范围:1~9、12、24、36。当PeriodUnit传入值为Year,Period取值范围:1~3。
354
+ */
355
+ period?: pulumi.Input<number>;
356
+ /**
357
+ * 包年包月类型VPN网关购买时长的单位,默认“Month”。Month:月Year:年
358
+ */
359
+ periodUnit?: pulumi.Input<string>;
360
+ /**
361
+ * VPN网关所属的项目。不填默认为default,即创建的资源属于default项目。您可调用ListProjects查询当前账号下项目的信息。
362
+ */
363
+ projectName?: pulumi.Input<string>;
364
+ /**
365
+ * VPN网关实例关联的第二个子网的ID。仅双隧道模式的VPN网关实例返回该参数,单隧道模式的VPN网关实例不返回该参数。
366
+ */
367
+ secondarySubnetId?: pulumi.Input<string>;
368
+ /**
369
+ * 是否开启SSL VPN功能。true:开启false:关闭
370
+ */
371
+ sslEnabled?: pulumi.Input<boolean>;
372
+ /**
373
+ * VPN网关的最大SSL连接数。
374
+ */
375
+ sslMaxConnections?: pulumi.Input<number>;
376
+ /**
377
+ * VPN网关使用的端口所属子网的ID。
378
+ */
379
+ subnetId: pulumi.Input<string>;
380
+ tags?: pulumi.Input<pulumi.Input<inputs.vpn.VpnGatewayTag>[]>;
381
+ /**
382
+ * VPN网关所在VPC的ID。
383
+ */
384
+ vpcId: pulumi.Input<string>;
385
+ /**
386
+ * VPN网关的名称。
387
+ */
388
+ vpnGatewayName?: pulumi.Input<string>;
389
+ }