@volcengine/pulumi 0.0.18 → 0.0.21

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 (263) hide show
  1. package/autoscaling/scalingConfiguration.d.ts +18 -0
  2. package/autoscaling/scalingConfiguration.js +2 -0
  3. package/autoscaling/scalingConfiguration.js.map +1 -1
  4. package/autoscaling/scalingGroup.d.ts +62 -4
  5. package/autoscaling/scalingGroup.js +11 -1
  6. package/autoscaling/scalingGroup.js.map +1 -1
  7. package/autoscaling/scalingGroups.d.ts +12 -0
  8. package/autoscaling/scalingGroups.js +1 -0
  9. package/autoscaling/scalingGroups.js.map +1 -1
  10. package/autoscaling/scalingLifecycleHook.d.ts +31 -6
  11. package/autoscaling/scalingLifecycleHook.js +16 -3
  12. package/autoscaling/scalingLifecycleHook.js.map +1 -1
  13. package/bioos/cluster.d.ts +11 -11
  14. package/bioos/cluster.js +6 -6
  15. package/bioos/cluster.js.map +1 -1
  16. package/bioos/clusters.d.ts +3 -0
  17. package/bioos/clusters.js.map +1 -1
  18. package/bioos/workspace.d.ts +1 -1
  19. package/cen/grantInstance.d.ts +1 -1
  20. package/cen/grantInstance.js +1 -1
  21. package/clb/acl.d.ts +1 -1
  22. package/clb/certificate.d.ts +1 -1
  23. package/clb/clb.d.ts +68 -18
  24. package/clb/clb.js +38 -17
  25. package/clb/clb.js.map +1 -1
  26. package/clb/listener.d.ts +101 -0
  27. package/clb/listener.js +26 -0
  28. package/clb/listener.js.map +1 -1
  29. package/clb/serverGroup.d.ts +12 -0
  30. package/clb/serverGroup.js +2 -0
  31. package/clb/serverGroup.js.map +1 -1
  32. package/direct_connect/bgpPeer.d.ts +175 -0
  33. package/direct_connect/bgpPeer.js +100 -0
  34. package/direct_connect/bgpPeer.js.map +1 -0
  35. package/direct_connect/bgpPeers.d.ts +129 -0
  36. package/direct_connect/bgpPeers.js +52 -0
  37. package/direct_connect/bgpPeers.js.map +1 -0
  38. package/direct_connect/connection.d.ts +217 -0
  39. package/direct_connect/connection.js +133 -0
  40. package/direct_connect/connection.js.map +1 -0
  41. package/direct_connect/connections.d.ts +154 -0
  42. package/direct_connect/connections.js +54 -0
  43. package/direct_connect/connections.js.map +1 -0
  44. package/direct_connect/gateway.d.ts +100 -0
  45. package/direct_connect/gateway.js +79 -0
  46. package/direct_connect/gateway.js.map +1 -0
  47. package/direct_connect/gatewayRoute.d.ts +143 -0
  48. package/direct_connect/gatewayRoute.js +97 -0
  49. package/direct_connect/gatewayRoute.js.map +1 -0
  50. package/direct_connect/gatewayRoutes.d.ts +141 -0
  51. package/direct_connect/gatewayRoutes.js +58 -0
  52. package/direct_connect/gatewayRoutes.js.map +1 -0
  53. package/direct_connect/gateways.d.ts +118 -0
  54. package/direct_connect/gateways.js +51 -0
  55. package/direct_connect/gateways.js.map +1 -0
  56. package/direct_connect/index.d.ts +30 -0
  57. package/direct_connect/index.js +57 -0
  58. package/direct_connect/index.js.map +1 -0
  59. package/direct_connect/virtualInterface.d.ts +263 -0
  60. package/direct_connect/virtualInterface.js +127 -0
  61. package/direct_connect/virtualInterface.js.map +1 -0
  62. package/direct_connect/virtualInterfaces.d.ts +178 -0
  63. package/direct_connect/virtualInterfaces.js +56 -0
  64. package/direct_connect/virtualInterfaces.js.map +1 -0
  65. package/ebs/volume.d.ts +1 -1
  66. package/ecs/availableResources.d.ts +114 -0
  67. package/ecs/availableResources.js +50 -0
  68. package/ecs/availableResources.js.map +1 -0
  69. package/ecs/index.d.ts +3 -0
  70. package/ecs/index.js +4 -1
  71. package/ecs/index.js.map +1 -1
  72. package/ecs/instance.d.ts +24 -3
  73. package/ecs/instance.js +2 -0
  74. package/ecs/instance.js.map +1 -1
  75. package/eip/address.d.ts +1 -1
  76. package/iam/index.d.ts +15 -0
  77. package/iam/index.js +22 -1
  78. package/iam/index.js.map +1 -1
  79. package/iam/userGroup.d.ts +95 -0
  80. package/iam/userGroup.js +79 -0
  81. package/iam/userGroup.js.map +1 -0
  82. package/iam/userGroupAttachment.d.ts +92 -0
  83. package/iam/userGroupAttachment.js +89 -0
  84. package/iam/userGroupAttachment.js.map +1 -0
  85. package/iam/userGroupPolicyAttachment.d.ts +105 -0
  86. package/iam/userGroupPolicyAttachment.js +95 -0
  87. package/iam/userGroupPolicyAttachment.js.map +1 -0
  88. package/iam/userGroupPolicyAttachments.d.ts +107 -0
  89. package/iam/userGroupPolicyAttachments.js +78 -0
  90. package/iam/userGroupPolicyAttachments.js.map +1 -0
  91. package/iam/userGroups.d.ts +87 -0
  92. package/iam/userGroups.js +59 -0
  93. package/iam/userGroups.js.map +1 -0
  94. package/index.d.ts +4 -1
  95. package/index.js +7 -1
  96. package/index.js.map +1 -1
  97. package/mongodb/mongoAllowList.d.ts +0 -12
  98. package/mongodb/mongoAllowList.js +0 -2
  99. package/mongodb/mongoAllowList.js.map +1 -1
  100. package/nas/fileSystem.d.ts +241 -0
  101. package/nas/fileSystem.js +123 -0
  102. package/nas/fileSystem.js.map +1 -0
  103. package/nas/fileSystems.d.ts +231 -0
  104. package/nas/fileSystems.js +90 -0
  105. package/nas/fileSystems.js.map +1 -0
  106. package/nas/index.d.ts +30 -0
  107. package/nas/index.js +55 -0
  108. package/nas/index.js.map +1 -0
  109. package/nas/mountPoint.d.ts +103 -0
  110. package/nas/mountPoint.js +80 -0
  111. package/nas/mountPoint.js.map +1 -0
  112. package/nas/mountPoints.d.ts +91 -0
  113. package/nas/mountPoints.js +29 -0
  114. package/nas/mountPoints.js.map +1 -0
  115. package/nas/permissionGroup.d.ts +116 -0
  116. package/nas/permissionGroup.js +92 -0
  117. package/nas/permissionGroup.js.map +1 -0
  118. package/nas/permissionGroups.d.ts +116 -0
  119. package/nas/permissionGroups.js +87 -0
  120. package/nas/permissionGroups.js.map +1 -0
  121. package/nas/regions.d.ts +62 -0
  122. package/nas/regions.js +42 -0
  123. package/nas/regions.js.map +1 -0
  124. package/nas/snapshot.d.ts +167 -0
  125. package/nas/snapshot.js +100 -0
  126. package/nas/snapshot.js.map +1 -0
  127. package/nas/snapshots.d.ts +131 -0
  128. package/nas/snapshots.js +59 -0
  129. package/nas/snapshots.js.map +1 -0
  130. package/nas/zones.d.ts +62 -0
  131. package/nas/zones.js +42 -0
  132. package/nas/zones.js.map +1 -0
  133. package/nat/gateway.d.ts +1 -1
  134. package/package.json +2 -2
  135. package/redis/instance.d.ts +7 -4
  136. package/redis/instance.js +1 -1
  137. package/redis/instance.js.map +1 -1
  138. package/tls/alarmNotifyGroup.d.ts +1 -1
  139. package/transit_router/bandwidthPackage.d.ts +211 -0
  140. package/transit_router/bandwidthPackage.js +102 -0
  141. package/transit_router/bandwidthPackage.js.map +1 -0
  142. package/transit_router/bandwidthPackages.d.ts +115 -0
  143. package/transit_router/bandwidthPackages.js +65 -0
  144. package/transit_router/bandwidthPackages.js.map +1 -0
  145. package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
  146. package/transit_router/directConnectGatewayAttachment.js +87 -0
  147. package/transit_router/directConnectGatewayAttachment.js.map +1 -0
  148. package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
  149. package/transit_router/directConnectGatewayAttachments.js +48 -0
  150. package/transit_router/directConnectGatewayAttachments.js.map +1 -0
  151. package/transit_router/grantRule.d.ts +95 -0
  152. package/transit_router/grantRule.js +82 -0
  153. package/transit_router/grantRule.js.map +1 -0
  154. package/transit_router/grantRules.d.ts +90 -0
  155. package/transit_router/grantRules.js +47 -0
  156. package/transit_router/grantRules.js.map +1 -0
  157. package/transit_router/index.d.ts +69 -0
  158. package/transit_router/index.js +110 -0
  159. package/transit_router/index.js.map +1 -0
  160. package/transit_router/peerAttachment.d.ts +179 -0
  161. package/transit_router/peerAttachment.js +105 -0
  162. package/transit_router/peerAttachment.js.map +1 -0
  163. package/transit_router/peerAttachments.d.ts +132 -0
  164. package/transit_router/peerAttachments.js +52 -0
  165. package/transit_router/peerAttachments.js.map +1 -0
  166. package/transit_router/routeEntries.d.ts +122 -0
  167. package/transit_router/routeEntries.js +52 -0
  168. package/transit_router/routeEntries.js.map +1 -0
  169. package/transit_router/routeEntry.d.ts +173 -0
  170. package/transit_router/routeEntry.js +103 -0
  171. package/transit_router/routeEntry.js.map +1 -0
  172. package/transit_router/routeTable.d.ts +135 -0
  173. package/transit_router/routeTable.js +89 -0
  174. package/transit_router/routeTable.js.map +1 -0
  175. package/transit_router/routeTableAssociation.d.ts +82 -0
  176. package/transit_router/routeTableAssociation.js +79 -0
  177. package/transit_router/routeTableAssociation.js.map +1 -0
  178. package/transit_router/routeTableAssociations.d.ts +92 -0
  179. package/transit_router/routeTableAssociations.js +49 -0
  180. package/transit_router/routeTableAssociations.js.map +1 -0
  181. package/transit_router/routeTablePropagation.d.ts +82 -0
  182. package/transit_router/routeTablePropagation.js +79 -0
  183. package/transit_router/routeTablePropagation.js.map +1 -0
  184. package/transit_router/routeTablePropagations.d.ts +92 -0
  185. package/transit_router/routeTablePropagations.js +49 -0
  186. package/transit_router/routeTablePropagations.js.map +1 -0
  187. package/transit_router/routeTables.d.ts +98 -0
  188. package/transit_router/routeTables.js +50 -0
  189. package/transit_router/routeTables.js.map +1 -0
  190. package/transit_router/sharedTransitRouterState.d.ts +82 -0
  191. package/transit_router/sharedTransitRouterState.js +79 -0
  192. package/transit_router/sharedTransitRouterState.js.map +1 -0
  193. package/transit_router/transitRouter.d.ts +148 -0
  194. package/transit_router/transitRouter.js +89 -0
  195. package/transit_router/transitRouter.js.map +1 -0
  196. package/transit_router/transitRouters.d.ts +89 -0
  197. package/transit_router/transitRouters.js +50 -0
  198. package/transit_router/transitRouters.js.map +1 -0
  199. package/transit_router/vpcAttachment.d.ts +164 -0
  200. package/transit_router/vpcAttachment.js +108 -0
  201. package/transit_router/vpcAttachment.js.map +1 -0
  202. package/transit_router/vpcAttachments.d.ts +101 -0
  203. package/transit_router/vpcAttachments.js +50 -0
  204. package/transit_router/vpcAttachments.js.map +1 -0
  205. package/transit_router/vpnAttachment.d.ts +153 -0
  206. package/transit_router/vpnAttachment.js +99 -0
  207. package/transit_router/vpnAttachment.js.map +1 -0
  208. package/transit_router/vpnAttachments.d.ts +101 -0
  209. package/transit_router/vpnAttachments.js +50 -0
  210. package/transit_router/vpnAttachments.js.map +1 -0
  211. package/types/input.d.ts +299 -4
  212. package/types/output.d.ts +5396 -3373
  213. package/vke/index.d.ts +3 -0
  214. package/vke/index.js +4 -1
  215. package/vke/index.js.map +1 -1
  216. package/vke/nodePool.d.ts +3 -3
  217. package/vke/nodePool.js +3 -3
  218. package/vke/supportResourceTypes.d.ts +80 -0
  219. package/vke/supportResourceTypes.js +44 -0
  220. package/vke/supportResourceTypes.js.map +1 -0
  221. package/vpc/haVip.d.ts +206 -0
  222. package/vpc/haVip.js +120 -0
  223. package/vpc/haVip.js.map +1 -0
  224. package/vpc/haVipAssociate.d.ts +131 -0
  225. package/vpc/haVipAssociate.js +118 -0
  226. package/vpc/haVipAssociate.js.map +1 -0
  227. package/vpc/haVips.d.ts +192 -0
  228. package/vpc/haVips.js +90 -0
  229. package/vpc/haVips.js.map +1 -0
  230. package/vpc/index.d.ts +15 -0
  231. package/vpc/index.js +22 -1
  232. package/vpc/index.js.map +1 -1
  233. package/vpc/networkAcl.d.ts +1 -1
  234. package/vpc/networkInterface.d.ts +31 -1
  235. package/vpc/networkInterface.js +4 -0
  236. package/vpc/networkInterface.js.map +1 -1
  237. package/vpc/prefixList.d.ts +166 -0
  238. package/vpc/prefixList.js +106 -0
  239. package/vpc/prefixList.js.map +1 -0
  240. package/vpc/prefixLists.d.ts +151 -0
  241. package/vpc/prefixLists.js +92 -0
  242. package/vpc/prefixLists.js.map +1 -0
  243. package/vpc/routeTable.d.ts +1 -1
  244. package/vpn/connection.d.ts +1 -1
  245. package/vpn/customerGateway.d.ts +1 -1
  246. package/vpn/gateway.d.ts +37 -1
  247. package/vpn/gateway.js +6 -0
  248. package/vpn/gateway.js.map +1 -1
  249. package/vpn/index.d.ts +12 -0
  250. package/vpn/index.js +17 -1
  251. package/vpn/index.js.map +1 -1
  252. package/vpn/sslVpnClientCert.d.ts +201 -0
  253. package/vpn/sslVpnClientCert.js +131 -0
  254. package/vpn/sslVpnClientCert.js.map +1 -0
  255. package/vpn/sslVpnClientCerts.d.ts +192 -0
  256. package/vpn/sslVpnClientCerts.js +134 -0
  257. package/vpn/sslVpnClientCerts.js.map +1 -0
  258. package/vpn/sslVpnServer.d.ts +231 -0
  259. package/vpn/sslVpnServer.js +128 -0
  260. package/vpn/sslVpnServer.js.map +1 -0
  261. package/vpn/sslVpnServers.d.ts +167 -0
  262. package/vpn/sslVpnServers.js +117 -0
  263. package/vpn/sslVpnServers.js.map +1 -0
@@ -0,0 +1,192 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of ssl vpn client certs
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooZones = volcengine.ecs.Zones({});
13
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
14
+ * vpcName: "acc-test-vpc",
15
+ * cidrBlock: "172.16.0.0/16",
16
+ * });
17
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
18
+ * subnetName: "acc-test-subnet",
19
+ * cidrBlock: "172.16.0.0/24",
20
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
21
+ * vpcId: fooVpc.id,
22
+ * });
23
+ * const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
24
+ * vpcId: fooVpc.id,
25
+ * subnetId: fooSubnet.id,
26
+ * bandwidth: 5,
27
+ * vpnGatewayName: "acc-test1",
28
+ * description: "acc-test1",
29
+ * period: 7,
30
+ * projectName: "default",
31
+ * sslEnabled: true,
32
+ * sslMaxConnections: 5,
33
+ * });
34
+ * const fooSslVpnServer = new volcengine.vpn.SslVpnServer("fooSslVpnServer", {
35
+ * vpnGatewayId: fooGateway.id,
36
+ * localSubnets: [fooSubnet.cidrBlock],
37
+ * clientIpPool: "172.16.2.0/24",
38
+ * sslVpnServerName: "acc-test-ssl",
39
+ * description: "acc-test",
40
+ * protocol: "UDP",
41
+ * cipher: "AES-128-CBC",
42
+ * auth: "SHA1",
43
+ * compress: true,
44
+ * });
45
+ * const fooSslVpnClientCert: volcengine.vpn.SslVpnClientCert[] = [];
46
+ * for (const range = {value: 0}; range.value < 5; range.value++) {
47
+ * fooSslVpnClientCert.push(new volcengine.vpn.SslVpnClientCert(`fooSslVpnClientCert-${range.value}`, {
48
+ * sslVpnServerId: fooSslVpnServer.id,
49
+ * sslVpnClientCertName: `acc-test-client-cert-${range.value}`,
50
+ * description: "acc-test",
51
+ * }));
52
+ * }
53
+ * const fooSslVpnClientCerts = volcengine.vpn.SslVpnClientCertsOutput({
54
+ * ids: fooSslVpnClientCert.map(__item => __item.id),
55
+ * });
56
+ * ```
57
+ */
58
+ export declare function sslVpnClientCerts(args?: SslVpnClientCertsArgs, opts?: pulumi.InvokeOptions): Promise<SslVpnClientCertsResult>;
59
+ /**
60
+ * A collection of arguments for invoking SslVpnClientCerts.
61
+ */
62
+ export interface SslVpnClientCertsArgs {
63
+ /**
64
+ * The ids list of ssl vpn client cert.
65
+ */
66
+ ids?: string[];
67
+ /**
68
+ * A Name Regex of ssl vpn client cert.
69
+ */
70
+ nameRegex?: string;
71
+ /**
72
+ * File name where to save data source results.
73
+ */
74
+ outputFile?: string;
75
+ /**
76
+ * The name of the ssl vpn client cert.
77
+ */
78
+ sslVpnClientCertName?: string;
79
+ /**
80
+ * The id of the ssl vpn server.
81
+ */
82
+ sslVpnServerId?: string;
83
+ }
84
+ /**
85
+ * A collection of values returned by SslVpnClientCerts.
86
+ */
87
+ export interface SslVpnClientCertsResult {
88
+ /**
89
+ * The provider-assigned unique ID for this managed resource.
90
+ */
91
+ readonly id: string;
92
+ readonly ids?: string[];
93
+ readonly nameRegex?: string;
94
+ readonly outputFile?: string;
95
+ /**
96
+ * The name of the ssl vpn client cert.
97
+ */
98
+ readonly sslVpnClientCertName?: string;
99
+ /**
100
+ * The collection of of ssl vpn client certs.
101
+ */
102
+ readonly sslVpnClientCerts: outputs.vpn.SslVpnClientCertsSslVpnClientCert[];
103
+ /**
104
+ * The id of the ssl vpn server.
105
+ */
106
+ readonly sslVpnServerId?: string;
107
+ /**
108
+ * The total count of ssl vpn client cert query.
109
+ */
110
+ readonly totalCount: number;
111
+ }
112
+ /**
113
+ * Use this data source to query detailed information of ssl vpn client certs
114
+ * ## Example Usage
115
+ *
116
+ * ```typescript
117
+ * import * as pulumi from "@pulumi/pulumi";
118
+ * import * as volcengine from "@pulumi/volcengine";
119
+ * import * as volcengine from "@volcengine/pulumi";
120
+ *
121
+ * const fooZones = volcengine.ecs.Zones({});
122
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
123
+ * vpcName: "acc-test-vpc",
124
+ * cidrBlock: "172.16.0.0/16",
125
+ * });
126
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
127
+ * subnetName: "acc-test-subnet",
128
+ * cidrBlock: "172.16.0.0/24",
129
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
130
+ * vpcId: fooVpc.id,
131
+ * });
132
+ * const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
133
+ * vpcId: fooVpc.id,
134
+ * subnetId: fooSubnet.id,
135
+ * bandwidth: 5,
136
+ * vpnGatewayName: "acc-test1",
137
+ * description: "acc-test1",
138
+ * period: 7,
139
+ * projectName: "default",
140
+ * sslEnabled: true,
141
+ * sslMaxConnections: 5,
142
+ * });
143
+ * const fooSslVpnServer = new volcengine.vpn.SslVpnServer("fooSslVpnServer", {
144
+ * vpnGatewayId: fooGateway.id,
145
+ * localSubnets: [fooSubnet.cidrBlock],
146
+ * clientIpPool: "172.16.2.0/24",
147
+ * sslVpnServerName: "acc-test-ssl",
148
+ * description: "acc-test",
149
+ * protocol: "UDP",
150
+ * cipher: "AES-128-CBC",
151
+ * auth: "SHA1",
152
+ * compress: true,
153
+ * });
154
+ * const fooSslVpnClientCert: volcengine.vpn.SslVpnClientCert[] = [];
155
+ * for (const range = {value: 0}; range.value < 5; range.value++) {
156
+ * fooSslVpnClientCert.push(new volcengine.vpn.SslVpnClientCert(`fooSslVpnClientCert-${range.value}`, {
157
+ * sslVpnServerId: fooSslVpnServer.id,
158
+ * sslVpnClientCertName: `acc-test-client-cert-${range.value}`,
159
+ * description: "acc-test",
160
+ * }));
161
+ * }
162
+ * const fooSslVpnClientCerts = volcengine.vpn.SslVpnClientCertsOutput({
163
+ * ids: fooSslVpnClientCert.map(__item => __item.id),
164
+ * });
165
+ * ```
166
+ */
167
+ export declare function sslVpnClientCertsOutput(args?: SslVpnClientCertsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SslVpnClientCertsResult>;
168
+ /**
169
+ * A collection of arguments for invoking SslVpnClientCerts.
170
+ */
171
+ export interface SslVpnClientCertsOutputArgs {
172
+ /**
173
+ * The ids list of ssl vpn client cert.
174
+ */
175
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
176
+ /**
177
+ * A Name Regex of ssl vpn client cert.
178
+ */
179
+ nameRegex?: pulumi.Input<string>;
180
+ /**
181
+ * File name where to save data source results.
182
+ */
183
+ outputFile?: pulumi.Input<string>;
184
+ /**
185
+ * The name of the ssl vpn client cert.
186
+ */
187
+ sslVpnClientCertName?: pulumi.Input<string>;
188
+ /**
189
+ * The id of the ssl vpn server.
190
+ */
191
+ sslVpnServerId?: pulumi.Input<string>;
192
+ }
@@ -0,0 +1,134 @@
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.sslVpnClientCertsOutput = exports.sslVpnClientCerts = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of ssl vpn client certs
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.Zones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
29
+ * vpcId: fooVpc.id,
30
+ * subnetId: fooSubnet.id,
31
+ * bandwidth: 5,
32
+ * vpnGatewayName: "acc-test1",
33
+ * description: "acc-test1",
34
+ * period: 7,
35
+ * projectName: "default",
36
+ * sslEnabled: true,
37
+ * sslMaxConnections: 5,
38
+ * });
39
+ * const fooSslVpnServer = new volcengine.vpn.SslVpnServer("fooSslVpnServer", {
40
+ * vpnGatewayId: fooGateway.id,
41
+ * localSubnets: [fooSubnet.cidrBlock],
42
+ * clientIpPool: "172.16.2.0/24",
43
+ * sslVpnServerName: "acc-test-ssl",
44
+ * description: "acc-test",
45
+ * protocol: "UDP",
46
+ * cipher: "AES-128-CBC",
47
+ * auth: "SHA1",
48
+ * compress: true,
49
+ * });
50
+ * const fooSslVpnClientCert: volcengine.vpn.SslVpnClientCert[] = [];
51
+ * for (const range = {value: 0}; range.value < 5; range.value++) {
52
+ * fooSslVpnClientCert.push(new volcengine.vpn.SslVpnClientCert(`fooSslVpnClientCert-${range.value}`, {
53
+ * sslVpnServerId: fooSslVpnServer.id,
54
+ * sslVpnClientCertName: `acc-test-client-cert-${range.value}`,
55
+ * description: "acc-test",
56
+ * }));
57
+ * }
58
+ * const fooSslVpnClientCerts = volcengine.vpn.SslVpnClientCertsOutput({
59
+ * ids: fooSslVpnClientCert.map(__item => __item.id),
60
+ * });
61
+ * ```
62
+ */
63
+ function sslVpnClientCerts(args, opts) {
64
+ args = args || {};
65
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
66
+ return pulumi.runtime.invoke("volcengine:vpn/sslVpnClientCerts:SslVpnClientCerts", {
67
+ "ids": args.ids,
68
+ "nameRegex": args.nameRegex,
69
+ "outputFile": args.outputFile,
70
+ "sslVpnClientCertName": args.sslVpnClientCertName,
71
+ "sslVpnServerId": args.sslVpnServerId,
72
+ }, opts);
73
+ }
74
+ exports.sslVpnClientCerts = sslVpnClientCerts;
75
+ /**
76
+ * Use this data source to query detailed information of ssl vpn client certs
77
+ * ## Example Usage
78
+ *
79
+ * ```typescript
80
+ * import * as pulumi from "@pulumi/pulumi";
81
+ * import * as volcengine from "@pulumi/volcengine";
82
+ * import * as volcengine from "@volcengine/pulumi";
83
+ *
84
+ * const fooZones = volcengine.ecs.Zones({});
85
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
86
+ * vpcName: "acc-test-vpc",
87
+ * cidrBlock: "172.16.0.0/16",
88
+ * });
89
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
90
+ * subnetName: "acc-test-subnet",
91
+ * cidrBlock: "172.16.0.0/24",
92
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
93
+ * vpcId: fooVpc.id,
94
+ * });
95
+ * const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
96
+ * vpcId: fooVpc.id,
97
+ * subnetId: fooSubnet.id,
98
+ * bandwidth: 5,
99
+ * vpnGatewayName: "acc-test1",
100
+ * description: "acc-test1",
101
+ * period: 7,
102
+ * projectName: "default",
103
+ * sslEnabled: true,
104
+ * sslMaxConnections: 5,
105
+ * });
106
+ * const fooSslVpnServer = new volcengine.vpn.SslVpnServer("fooSslVpnServer", {
107
+ * vpnGatewayId: fooGateway.id,
108
+ * localSubnets: [fooSubnet.cidrBlock],
109
+ * clientIpPool: "172.16.2.0/24",
110
+ * sslVpnServerName: "acc-test-ssl",
111
+ * description: "acc-test",
112
+ * protocol: "UDP",
113
+ * cipher: "AES-128-CBC",
114
+ * auth: "SHA1",
115
+ * compress: true,
116
+ * });
117
+ * const fooSslVpnClientCert: volcengine.vpn.SslVpnClientCert[] = [];
118
+ * for (const range = {value: 0}; range.value < 5; range.value++) {
119
+ * fooSslVpnClientCert.push(new volcengine.vpn.SslVpnClientCert(`fooSslVpnClientCert-${range.value}`, {
120
+ * sslVpnServerId: fooSslVpnServer.id,
121
+ * sslVpnClientCertName: `acc-test-client-cert-${range.value}`,
122
+ * description: "acc-test",
123
+ * }));
124
+ * }
125
+ * const fooSslVpnClientCerts = volcengine.vpn.SslVpnClientCertsOutput({
126
+ * ids: fooSslVpnClientCert.map(__item => __item.id),
127
+ * });
128
+ * ```
129
+ */
130
+ function sslVpnClientCertsOutput(args, opts) {
131
+ return pulumi.output(args).apply((a) => sslVpnClientCerts(a, opts));
132
+ }
133
+ exports.sslVpnClientCertsOutput = sslVpnClientCertsOutput;
134
+ //# sourceMappingURL=sslVpnClientCerts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sslVpnClientCerts.js","sourceRoot":"","sources":["../../vpn/sslVpnClientCerts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AAwDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
@@ -0,0 +1,231 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage ssl vpn server
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@pulumi/volcengine";
9
+ * import * as volcengine from "@volcengine/pulumi";
10
+ *
11
+ * const fooZones = volcengine.ecs.Zones({});
12
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
13
+ * vpcName: "acc-test-vpc",
14
+ * cidrBlock: "172.16.0.0/16",
15
+ * });
16
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
17
+ * subnetName: "acc-test-subnet",
18
+ * cidrBlock: "172.16.0.0/24",
19
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
20
+ * vpcId: fooVpc.id,
21
+ * });
22
+ * const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
23
+ * vpcId: fooVpc.id,
24
+ * subnetId: fooSubnet.id,
25
+ * bandwidth: 5,
26
+ * vpnGatewayName: "acc-test1",
27
+ * description: "acc-test1",
28
+ * period: 7,
29
+ * projectName: "default",
30
+ * sslEnabled: true,
31
+ * sslMaxConnections: 5,
32
+ * });
33
+ * const fooSslVpnServer = new volcengine.vpn.SslVpnServer("fooSslVpnServer", {
34
+ * vpnGatewayId: fooGateway.id,
35
+ * localSubnets: [fooSubnet.cidrBlock],
36
+ * clientIpPool: "172.16.2.0/24",
37
+ * sslVpnServerName: "acc-test-ssl",
38
+ * description: "acc-test",
39
+ * protocol: "UDP",
40
+ * cipher: "AES-128-CBC",
41
+ * auth: "SHA1",
42
+ * compress: true,
43
+ * });
44
+ * ```
45
+ *
46
+ * ## Import
47
+ *
48
+ * SSL VPN server can be imported using the id, e.g.
49
+ *
50
+ * ```sh
51
+ * $ pulumi import volcengine:vpn/sslVpnServer:SslVpnServer default vss-zm55pqtvk17oq32zd****
52
+ * ```
53
+ */
54
+ export declare class SslVpnServer extends pulumi.CustomResource {
55
+ /**
56
+ * Get an existing SslVpnServer resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SslVpnServerState, opts?: pulumi.CustomResourceOptions): SslVpnServer;
65
+ /**
66
+ * Returns true if the given object is an instance of SslVpnServer. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj: any): obj is SslVpnServer;
70
+ /**
71
+ * The authentication algorithm of the SSL server.
72
+ * Values:
73
+ * `SHA1` (default)
74
+ * `MD5`
75
+ * `None` (do not use encryption).
76
+ */
77
+ readonly auth: pulumi.Output<string | undefined>;
78
+ /**
79
+ * The encryption algorithm of the SSL server.
80
+ * Values:
81
+ * `AES-128-CBC` (default)
82
+ * `AES-192-CBC`
83
+ * `AES-256-CBC`
84
+ * `None` (do not use encryption).
85
+ */
86
+ readonly cipher: pulumi.Output<string | undefined>;
87
+ /**
88
+ * SSL client network segment.
89
+ */
90
+ readonly clientIpPool: pulumi.Output<string>;
91
+ /**
92
+ * Whether to compress the transmitted data. The default value is false.
93
+ */
94
+ readonly compress: pulumi.Output<boolean | undefined>;
95
+ /**
96
+ * The description of the ssl server.
97
+ */
98
+ readonly description: pulumi.Output<string>;
99
+ /**
100
+ * The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
101
+ */
102
+ readonly localSubnets: pulumi.Output<string[]>;
103
+ /**
104
+ * The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
105
+ */
106
+ readonly protocol: pulumi.Output<string | undefined>;
107
+ /**
108
+ * The id of the ssl vpn server.
109
+ */
110
+ readonly sslVpnServerId: pulumi.Output<string>;
111
+ /**
112
+ * The name of the SSL server.
113
+ */
114
+ readonly sslVpnServerName: pulumi.Output<string>;
115
+ /**
116
+ * The vpn gateway id.
117
+ */
118
+ readonly vpnGatewayId: pulumi.Output<string>;
119
+ /**
120
+ * Create a SslVpnServer resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: SslVpnServerArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering SslVpnServer resources.
130
+ */
131
+ export interface SslVpnServerState {
132
+ /**
133
+ * The authentication algorithm of the SSL server.
134
+ * Values:
135
+ * `SHA1` (default)
136
+ * `MD5`
137
+ * `None` (do not use encryption).
138
+ */
139
+ auth?: pulumi.Input<string>;
140
+ /**
141
+ * The encryption algorithm of the SSL server.
142
+ * Values:
143
+ * `AES-128-CBC` (default)
144
+ * `AES-192-CBC`
145
+ * `AES-256-CBC`
146
+ * `None` (do not use encryption).
147
+ */
148
+ cipher?: pulumi.Input<string>;
149
+ /**
150
+ * SSL client network segment.
151
+ */
152
+ clientIpPool?: pulumi.Input<string>;
153
+ /**
154
+ * Whether to compress the transmitted data. The default value is false.
155
+ */
156
+ compress?: pulumi.Input<boolean>;
157
+ /**
158
+ * The description of the ssl server.
159
+ */
160
+ description?: pulumi.Input<string>;
161
+ /**
162
+ * The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
163
+ */
164
+ localSubnets?: pulumi.Input<pulumi.Input<string>[]>;
165
+ /**
166
+ * The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
167
+ */
168
+ protocol?: pulumi.Input<string>;
169
+ /**
170
+ * The id of the ssl vpn server.
171
+ */
172
+ sslVpnServerId?: pulumi.Input<string>;
173
+ /**
174
+ * The name of the SSL server.
175
+ */
176
+ sslVpnServerName?: pulumi.Input<string>;
177
+ /**
178
+ * The vpn gateway id.
179
+ */
180
+ vpnGatewayId?: pulumi.Input<string>;
181
+ }
182
+ /**
183
+ * The set of arguments for constructing a SslVpnServer resource.
184
+ */
185
+ export interface SslVpnServerArgs {
186
+ /**
187
+ * The authentication algorithm of the SSL server.
188
+ * Values:
189
+ * `SHA1` (default)
190
+ * `MD5`
191
+ * `None` (do not use encryption).
192
+ */
193
+ auth?: pulumi.Input<string>;
194
+ /**
195
+ * The encryption algorithm of the SSL server.
196
+ * Values:
197
+ * `AES-128-CBC` (default)
198
+ * `AES-192-CBC`
199
+ * `AES-256-CBC`
200
+ * `None` (do not use encryption).
201
+ */
202
+ cipher?: pulumi.Input<string>;
203
+ /**
204
+ * SSL client network segment.
205
+ */
206
+ clientIpPool: pulumi.Input<string>;
207
+ /**
208
+ * Whether to compress the transmitted data. The default value is false.
209
+ */
210
+ compress?: pulumi.Input<boolean>;
211
+ /**
212
+ * The description of the ssl server.
213
+ */
214
+ description?: pulumi.Input<string>;
215
+ /**
216
+ * The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
217
+ */
218
+ localSubnets: pulumi.Input<pulumi.Input<string>[]>;
219
+ /**
220
+ * The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
221
+ */
222
+ protocol?: pulumi.Input<string>;
223
+ /**
224
+ * The name of the SSL server.
225
+ */
226
+ sslVpnServerName?: pulumi.Input<string>;
227
+ /**
228
+ * The vpn gateway id.
229
+ */
230
+ vpnGatewayId: pulumi.Input<string>;
231
+ }
@@ -0,0 +1,128 @@
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.SslVpnServer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage ssl vpn server
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.Zones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
29
+ * vpcId: fooVpc.id,
30
+ * subnetId: fooSubnet.id,
31
+ * bandwidth: 5,
32
+ * vpnGatewayName: "acc-test1",
33
+ * description: "acc-test1",
34
+ * period: 7,
35
+ * projectName: "default",
36
+ * sslEnabled: true,
37
+ * sslMaxConnections: 5,
38
+ * });
39
+ * const fooSslVpnServer = new volcengine.vpn.SslVpnServer("fooSslVpnServer", {
40
+ * vpnGatewayId: fooGateway.id,
41
+ * localSubnets: [fooSubnet.cidrBlock],
42
+ * clientIpPool: "172.16.2.0/24",
43
+ * sslVpnServerName: "acc-test-ssl",
44
+ * description: "acc-test",
45
+ * protocol: "UDP",
46
+ * cipher: "AES-128-CBC",
47
+ * auth: "SHA1",
48
+ * compress: true,
49
+ * });
50
+ * ```
51
+ *
52
+ * ## Import
53
+ *
54
+ * SSL VPN server can be imported using the id, e.g.
55
+ *
56
+ * ```sh
57
+ * $ pulumi import volcengine:vpn/sslVpnServer:SslVpnServer default vss-zm55pqtvk17oq32zd****
58
+ * ```
59
+ */
60
+ class SslVpnServer extends pulumi.CustomResource {
61
+ /**
62
+ * Get an existing SslVpnServer resource's state with the given name, ID, and optional extra
63
+ * properties used to qualify the lookup.
64
+ *
65
+ * @param name The _unique_ name of the resulting resource.
66
+ * @param id The _unique_ provider ID of the resource to lookup.
67
+ * @param state Any extra arguments used during the lookup.
68
+ * @param opts Optional settings to control the behavior of the CustomResource.
69
+ */
70
+ static get(name, id, state, opts) {
71
+ return new SslVpnServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
72
+ }
73
+ /**
74
+ * Returns true if the given object is an instance of SslVpnServer. This is designed to work even
75
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
76
+ */
77
+ static isInstance(obj) {
78
+ if (obj === undefined || obj === null) {
79
+ return false;
80
+ }
81
+ return obj['__pulumiType'] === SslVpnServer.__pulumiType;
82
+ }
83
+ constructor(name, argsOrState, opts) {
84
+ let resourceInputs = {};
85
+ opts = opts || {};
86
+ if (opts.id) {
87
+ const state = argsOrState;
88
+ resourceInputs["auth"] = state ? state.auth : undefined;
89
+ resourceInputs["cipher"] = state ? state.cipher : undefined;
90
+ resourceInputs["clientIpPool"] = state ? state.clientIpPool : undefined;
91
+ resourceInputs["compress"] = state ? state.compress : undefined;
92
+ resourceInputs["description"] = state ? state.description : undefined;
93
+ resourceInputs["localSubnets"] = state ? state.localSubnets : undefined;
94
+ resourceInputs["protocol"] = state ? state.protocol : undefined;
95
+ resourceInputs["sslVpnServerId"] = state ? state.sslVpnServerId : undefined;
96
+ resourceInputs["sslVpnServerName"] = state ? state.sslVpnServerName : undefined;
97
+ resourceInputs["vpnGatewayId"] = state ? state.vpnGatewayId : undefined;
98
+ }
99
+ else {
100
+ const args = argsOrState;
101
+ if ((!args || args.clientIpPool === undefined) && !opts.urn) {
102
+ throw new Error("Missing required property 'clientIpPool'");
103
+ }
104
+ if ((!args || args.localSubnets === undefined) && !opts.urn) {
105
+ throw new Error("Missing required property 'localSubnets'");
106
+ }
107
+ if ((!args || args.vpnGatewayId === undefined) && !opts.urn) {
108
+ throw new Error("Missing required property 'vpnGatewayId'");
109
+ }
110
+ resourceInputs["auth"] = args ? args.auth : undefined;
111
+ resourceInputs["cipher"] = args ? args.cipher : undefined;
112
+ resourceInputs["clientIpPool"] = args ? args.clientIpPool : undefined;
113
+ resourceInputs["compress"] = args ? args.compress : undefined;
114
+ resourceInputs["description"] = args ? args.description : undefined;
115
+ resourceInputs["localSubnets"] = args ? args.localSubnets : undefined;
116
+ resourceInputs["protocol"] = args ? args.protocol : undefined;
117
+ resourceInputs["sslVpnServerName"] = args ? args.sslVpnServerName : undefined;
118
+ resourceInputs["vpnGatewayId"] = args ? args.vpnGatewayId : undefined;
119
+ resourceInputs["sslVpnServerId"] = undefined /*out*/;
120
+ }
121
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
122
+ super(SslVpnServer.__pulumiType, name, resourceInputs, opts);
123
+ }
124
+ }
125
+ exports.SslVpnServer = SslVpnServer;
126
+ /** @internal */
127
+ SslVpnServer.__pulumiType = 'volcengine:vpn/sslVpnServer:SslVpnServer';
128
+ //# sourceMappingURL=sslVpnServer.js.map