@pulumiverse/scaleway 0.3.1-alpha.1660775142

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 (265) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +54 -0
  3. package/accountSshKey.d.ts +80 -0
  4. package/accountSshKey.js +58 -0
  5. package/accountSshKey.js.map +1 -0
  6. package/appleSliconValleyServer.d.ts +140 -0
  7. package/appleSliconValleyServer.js +72 -0
  8. package/appleSliconValleyServer.js.map +1 -0
  9. package/baremetalServer.d.ts +173 -0
  10. package/baremetalServer.js +84 -0
  11. package/baremetalServer.js.map +1 -0
  12. package/config/index.d.ts +1 -0
  13. package/config/index.js +21 -0
  14. package/config/index.js.map +1 -0
  15. package/config/vars.d.ts +28 -0
  16. package/config/vars.js +55 -0
  17. package/config/vars.js.map +1 -0
  18. package/container.d.ts +273 -0
  19. package/container.js +90 -0
  20. package/container.js.map +1 -0
  21. package/containerNamespace.d.ts +126 -0
  22. package/containerNamespace.js +63 -0
  23. package/containerNamespace.js.map +1 -0
  24. package/database.d.ts +84 -0
  25. package/database.js +60 -0
  26. package/database.js.map +1 -0
  27. package/databaseAcl.d.ts +73 -0
  28. package/databaseAcl.js +59 -0
  29. package/databaseAcl.js.map +1 -0
  30. package/databaseInstance.d.ts +299 -0
  31. package/databaseInstance.js +99 -0
  32. package/databaseInstance.js.map +1 -0
  33. package/databasePrivilege.d.ts +84 -0
  34. package/databasePrivilege.js +67 -0
  35. package/databasePrivilege.js.map +1 -0
  36. package/databaseUser.d.ts +96 -0
  37. package/databaseUser.js +63 -0
  38. package/databaseUser.js.map +1 -0
  39. package/domainRecord.d.ts +189 -0
  40. package/domainRecord.js +82 -0
  41. package/domainRecord.js.map +1 -0
  42. package/domainZone.d.ts +120 -0
  43. package/domainZone.js +71 -0
  44. package/domainZone.js.map +1 -0
  45. package/functionNamespace.d.ts +126 -0
  46. package/functionNamespace.js +63 -0
  47. package/functionNamespace.js.map +1 -0
  48. package/getAccountSshKey.d.ts +31 -0
  49. package/getAccountSshKey.js +24 -0
  50. package/getAccountSshKey.js.map +1 -0
  51. package/getBaremetalOffer.d.ts +41 -0
  52. package/getBaremetalOffer.js +26 -0
  53. package/getBaremetalOffer.js.map +1 -0
  54. package/getBaremetalOs.d.ts +34 -0
  55. package/getBaremetalOs.js +26 -0
  56. package/getBaremetalOs.js.map +1 -0
  57. package/getBaremetalServer.d.ts +44 -0
  58. package/getBaremetalServer.js +25 -0
  59. package/getBaremetalServer.js.map +1 -0
  60. package/getContainer.d.ts +53 -0
  61. package/getContainer.js +25 -0
  62. package/getContainer.js.map +1 -0
  63. package/getContainerNamespace.d.ts +39 -0
  64. package/getContainerNamespace.js +25 -0
  65. package/getContainerNamespace.js.map +1 -0
  66. package/getDatabase.d.ts +31 -0
  67. package/getDatabase.js +23 -0
  68. package/getDatabase.js.map +1 -0
  69. package/getDatabaseAcl.d.ts +28 -0
  70. package/getDatabaseAcl.js +22 -0
  71. package/getDatabaseAcl.js.map +1 -0
  72. package/getDatabaseInstance.d.ts +53 -0
  73. package/getDatabaseInstance.js +24 -0
  74. package/getDatabaseInstance.js.map +1 -0
  75. package/getDatabasePrivilege.d.ts +32 -0
  76. package/getDatabasePrivilege.js +24 -0
  77. package/getDatabasePrivilege.js.map +1 -0
  78. package/getDomainRecord.d.ts +47 -0
  79. package/getDomainRecord.js +27 -0
  80. package/getDomainRecord.js.map +1 -0
  81. package/getDomainZone.d.ts +35 -0
  82. package/getDomainZone.js +24 -0
  83. package/getDomainZone.js.map +1 -0
  84. package/getFunctionNamespace.d.ts +39 -0
  85. package/getFunctionNamespace.js +25 -0
  86. package/getFunctionNamespace.js.map +1 -0
  87. package/getInstanceImage.d.ts +49 -0
  88. package/getInstanceImage.js +28 -0
  89. package/getInstanceImage.js.map +1 -0
  90. package/getInstanceIp.d.ts +30 -0
  91. package/getInstanceIp.js +24 -0
  92. package/getInstanceIp.js.map +1 -0
  93. package/getInstanceSecurityGroup.d.ts +43 -0
  94. package/getInstanceSecurityGroup.js +25 -0
  95. package/getInstanceSecurityGroup.js.map +1 -0
  96. package/getInstanceServer.d.ts +58 -0
  97. package/getInstanceServer.js +25 -0
  98. package/getInstanceServer.js.map +1 -0
  99. package/getInstanceVolume.d.ts +39 -0
  100. package/getInstanceVolume.js +25 -0
  101. package/getInstanceVolume.js.map +1 -0
  102. package/getIotDevice.d.ts +45 -0
  103. package/getIotDevice.js +26 -0
  104. package/getIotDevice.js.map +1 -0
  105. package/getIotHub.d.ts +46 -0
  106. package/getIotHub.js +25 -0
  107. package/getIotHub.js.map +1 -0
  108. package/getKubernetesCluster.d.ts +52 -0
  109. package/getKubernetesCluster.js +25 -0
  110. package/getKubernetesCluster.js.map +1 -0
  111. package/getKubernetesNodePool.d.ts +58 -0
  112. package/getKubernetesNodePool.js +27 -0
  113. package/getKubernetesNodePool.js.map +1 -0
  114. package/getLoadbalancer.d.ts +43 -0
  115. package/getLoadbalancer.js +26 -0
  116. package/getLoadbalancer.js.map +1 -0
  117. package/getLoadbalancerCertificate.d.ts +40 -0
  118. package/getLoadbalancerCertificate.js +25 -0
  119. package/getLoadbalancerCertificate.js.map +1 -0
  120. package/getLoadbalancerIp.d.ts +34 -0
  121. package/getLoadbalancerIp.js +24 -0
  122. package/getLoadbalancerIp.js.map +1 -0
  123. package/getMarketplaceImage.d.ts +31 -0
  124. package/getMarketplaceImage.js +24 -0
  125. package/getMarketplaceImage.js.map +1 -0
  126. package/getObjectBucket.d.ts +38 -0
  127. package/getObjectBucket.js +24 -0
  128. package/getObjectBucket.js.map +1 -0
  129. package/getRedisCluster.d.ts +46 -0
  130. package/getRedisCluster.js +25 -0
  131. package/getRedisCluster.js.map +1 -0
  132. package/getRegistryImage.d.ts +43 -0
  133. package/getRegistryImage.js +28 -0
  134. package/getRegistryImage.js.map +1 -0
  135. package/getRegistryNamespace.d.ts +36 -0
  136. package/getRegistryNamespace.js +25 -0
  137. package/getRegistryNamespace.js.map +1 -0
  138. package/getVpcPrivateNetwork.d.ts +34 -0
  139. package/getVpcPrivateNetwork.js +24 -0
  140. package/getVpcPrivateNetwork.js.map +1 -0
  141. package/getVpcPublicGateway.d.ts +37 -0
  142. package/getVpcPublicGateway.js +24 -0
  143. package/getVpcPublicGateway.js.map +1 -0
  144. package/getVpcPublicGatewayDhcp.d.ts +43 -0
  145. package/getVpcPublicGatewayDhcp.js +22 -0
  146. package/getVpcPublicGatewayDhcp.js.map +1 -0
  147. package/getVpcPublicGatewayIp.d.ts +33 -0
  148. package/getVpcPublicGatewayIp.js +23 -0
  149. package/getVpcPublicGatewayIp.js.map +1 -0
  150. package/getVpcPublicPatRule.d.ts +36 -0
  151. package/getVpcPublicPatRule.js +23 -0
  152. package/getVpcPublicPatRule.js.map +1 -0
  153. package/index.d.ts +83 -0
  154. package/index.js +304 -0
  155. package/index.js.map +1 -0
  156. package/instanceIp.d.ts +104 -0
  157. package/instanceIp.js +61 -0
  158. package/instanceIp.js.map +1 -0
  159. package/instanceIpReverseDns.d.ts +72 -0
  160. package/instanceIpReverseDns.js +59 -0
  161. package/instanceIpReverseDns.js.map +1 -0
  162. package/instancePlacementGroup.d.ts +124 -0
  163. package/instancePlacementGroup.js +63 -0
  164. package/instancePlacementGroup.js.map +1 -0
  165. package/instancePrivateNic.d.ts +80 -0
  166. package/instancePrivateNic.js +61 -0
  167. package/instancePrivateNic.js.map +1 -0
  168. package/instanceSecurityGroup.d.ts +180 -0
  169. package/instanceSecurityGroup.js +73 -0
  170. package/instanceSecurityGroup.js.map +1 -0
  171. package/instanceSecurityGroupRules.d.ts +73 -0
  172. package/instanceSecurityGroupRules.js +56 -0
  173. package/instanceSecurityGroupRules.js.map +1 -0
  174. package/instanceServer.d.ts +327 -0
  175. package/instanceServer.js +105 -0
  176. package/instanceServer.js.map +1 -0
  177. package/instanceSnapshot.d.ts +128 -0
  178. package/instanceSnapshot.js +68 -0
  179. package/instanceSnapshot.js.map +1 -0
  180. package/instanceVolume.d.ts +148 -0
  181. package/instanceVolume.js +70 -0
  182. package/instanceVolume.js.map +1 -0
  183. package/iotDevice.d.ts +173 -0
  184. package/iotDevice.js +76 -0
  185. package/iotDevice.js.map +1 -0
  186. package/iotHub.d.ts +212 -0
  187. package/iotHub.js +84 -0
  188. package/iotHub.js.map +1 -0
  189. package/iotNetwork.d.ts +108 -0
  190. package/iotNetwork.js +67 -0
  191. package/iotNetwork.js.map +1 -0
  192. package/iotRoute.d.ts +129 -0
  193. package/iotRoute.js +69 -0
  194. package/iotRoute.js.map +1 -0
  195. package/kubernetesCluster.d.ts +281 -0
  196. package/kubernetesCluster.js +99 -0
  197. package/kubernetesCluster.js.map +1 -0
  198. package/kubernetesNodePool.d.ts +277 -0
  199. package/kubernetesNodePool.js +100 -0
  200. package/kubernetesNodePool.js.map +1 -0
  201. package/loadbalancer.d.ts +163 -0
  202. package/loadbalancer.js +75 -0
  203. package/loadbalancer.js.map +1 -0
  204. package/loadbalancerBackend.d.ts +268 -0
  205. package/loadbalancerBackend.js +98 -0
  206. package/loadbalancerBackend.js.map +1 -0
  207. package/loadbalancerCertificate.d.ts +133 -0
  208. package/loadbalancerCertificate.js +70 -0
  209. package/loadbalancerCertificate.js.map +1 -0
  210. package/loadbalancerFrontend.d.ts +133 -0
  211. package/loadbalancerFrontend.js +72 -0
  212. package/loadbalancerFrontend.js.map +1 -0
  213. package/loadbalancerIp.d.ts +104 -0
  214. package/loadbalancerIp.js +61 -0
  215. package/loadbalancerIp.js.map +1 -0
  216. package/loadbalancerRoute.d.ts +72 -0
  217. package/loadbalancerRoute.js +59 -0
  218. package/loadbalancerRoute.js.map +1 -0
  219. package/objectBucket.d.ts +138 -0
  220. package/objectBucket.js +65 -0
  221. package/objectBucket.js.map +1 -0
  222. package/package.json +30 -0
  223. package/package.json.bak +30 -0
  224. package/provider.d.ts +83 -0
  225. package/provider.js +52 -0
  226. package/provider.js.map +1 -0
  227. package/redisCluster.d.ts +203 -0
  228. package/redisCluster.js +87 -0
  229. package/redisCluster.js.map +1 -0
  230. package/registryNamespace.d.ts +112 -0
  231. package/registryNamespace.js +61 -0
  232. package/registryNamespace.js.map +1 -0
  233. package/types/index.d.ts +3 -0
  234. package/types/index.js +11 -0
  235. package/types/index.js.map +1 -0
  236. package/types/input.d.ts +255 -0
  237. package/types/input.js +5 -0
  238. package/types/input.js.map +1 -0
  239. package/types/output.d.ts +459 -0
  240. package/types/output.js +5 -0
  241. package/types/output.js.map +1 -0
  242. package/utilities.d.ts +4 -0
  243. package/utilities.js +57 -0
  244. package/utilities.js.map +1 -0
  245. package/vpcGatewayNetwork.d.ts +156 -0
  246. package/vpcGatewayNetwork.js +75 -0
  247. package/vpcGatewayNetwork.js.map +1 -0
  248. package/vpcPrivateNetwork.d.ts +108 -0
  249. package/vpcPrivateNetwork.js +61 -0
  250. package/vpcPrivateNetwork.js.map +1 -0
  251. package/vpcPublicGateway.d.ts +144 -0
  252. package/vpcPublicGateway.js +70 -0
  253. package/vpcPublicGateway.js.map +1 -0
  254. package/vpcPublicGatewayDhcp.d.ts +255 -0
  255. package/vpcPublicGatewayDhcp.js +86 -0
  256. package/vpcPublicGatewayDhcp.js.map +1 -0
  257. package/vpcPublicGatewayDhcpReservation.d.ts +118 -0
  258. package/vpcPublicGatewayDhcpReservation.js +72 -0
  259. package/vpcPublicGatewayDhcpReservation.js.map +1 -0
  260. package/vpcPublicGatewayIp.d.ts +116 -0
  261. package/vpcPublicGatewayIp.js +63 -0
  262. package/vpcPublicGatewayIp.js.map +1 -0
  263. package/vpcPublicGatewayPatRule.d.ts +132 -0
  264. package/vpcPublicGatewayPatRule.js +77 -0
  265. package/vpcPublicGatewayPatRule.js.map +1 -0
@@ -0,0 +1,268 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ export declare class LoadbalancerBackend extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing LoadbalancerBackend resource's state with the given name, ID, and optional extra
6
+ * properties used to qualify the lookup.
7
+ *
8
+ * @param name The _unique_ name of the resulting resource.
9
+ * @param id The _unique_ provider ID of the resource to lookup.
10
+ * @param state Any extra arguments used during the lookup.
11
+ * @param opts Optional settings to control the behavior of the CustomResource.
12
+ */
13
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadbalancerBackendState, opts?: pulumi.CustomResourceOptions): LoadbalancerBackend;
14
+ /**
15
+ * Returns true if the given object is an instance of LoadbalancerBackend. This is designed to work even
16
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
17
+ */
18
+ static isInstance(obj: any): obj is LoadbalancerBackend;
19
+ /**
20
+ * User sessions will be forwarded to this port of backend servers
21
+ */
22
+ readonly forwardPort: pulumi.Output<number>;
23
+ /**
24
+ * Load balancing algorithm
25
+ */
26
+ readonly forwardPortAlgorithm: pulumi.Output<string | undefined>;
27
+ /**
28
+ * Backend protocol
29
+ */
30
+ readonly forwardProtocol: pulumi.Output<string>;
31
+ /**
32
+ * Interval between two HC requests
33
+ */
34
+ readonly healthCheckDelay: pulumi.Output<string | undefined>;
35
+ readonly healthCheckHttp: pulumi.Output<outputs.LoadbalancerBackendHealthCheckHttp | undefined>;
36
+ readonly healthCheckHttps: pulumi.Output<outputs.LoadbalancerBackendHealthCheckHttps | undefined>;
37
+ /**
38
+ * Number of allowed failed HC requests before the backend server is marked down
39
+ */
40
+ readonly healthCheckMaxRetries: pulumi.Output<number | undefined>;
41
+ /**
42
+ * Port the HC requests will be send to. Default to `forward_port`
43
+ */
44
+ readonly healthCheckPort: pulumi.Output<number>;
45
+ readonly healthCheckTcp: pulumi.Output<outputs.LoadbalancerBackendHealthCheckTcp>;
46
+ /**
47
+ * Timeout before we consider a HC request failed
48
+ */
49
+ readonly healthCheckTimeout: pulumi.Output<string | undefined>;
50
+ /**
51
+ * The load-balancer ID
52
+ */
53
+ readonly lbId: pulumi.Output<string>;
54
+ /**
55
+ * The name of the backend
56
+ */
57
+ readonly name: pulumi.Output<string>;
58
+ /**
59
+ * Modify what occurs when a backend server is marked down
60
+ */
61
+ readonly onMarkedDownAction: pulumi.Output<string | undefined>;
62
+ /**
63
+ * Type of PROXY protocol to enable
64
+ */
65
+ readonly proxyProtocol: pulumi.Output<string | undefined>;
66
+ /**
67
+ * Enables PROXY protocol version 2
68
+ *
69
+ * @deprecated Please use proxy_protocol instead
70
+ */
71
+ readonly sendProxyV2: pulumi.Output<boolean | undefined>;
72
+ /**
73
+ * Backend server IP addresses list (IPv4 or IPv6)
74
+ */
75
+ readonly serverIps: pulumi.Output<string[] | undefined>;
76
+ /**
77
+ * Load balancing algorithm
78
+ */
79
+ readonly stickySessions: pulumi.Output<string | undefined>;
80
+ /**
81
+ * Cookie name for for sticky sessions
82
+ */
83
+ readonly stickySessionsCookieName: pulumi.Output<string | undefined>;
84
+ /**
85
+ * Maximum initial server connection establishment time
86
+ */
87
+ readonly timeoutConnect: pulumi.Output<string | undefined>;
88
+ /**
89
+ * Maximum server connection inactivity time
90
+ */
91
+ readonly timeoutServer: pulumi.Output<string | undefined>;
92
+ /**
93
+ * Maximum tunnel inactivity time
94
+ */
95
+ readonly timeoutTunnel: pulumi.Output<string | undefined>;
96
+ /**
97
+ * Create a LoadbalancerBackend resource with the given unique name, arguments, and options.
98
+ *
99
+ * @param name The _unique_ name of the resource.
100
+ * @param args The arguments to use to populate this resource's properties.
101
+ * @param opts A bag of options that control this resource's behavior.
102
+ */
103
+ constructor(name: string, args: LoadbalancerBackendArgs, opts?: pulumi.CustomResourceOptions);
104
+ }
105
+ /**
106
+ * Input properties used for looking up and filtering LoadbalancerBackend resources.
107
+ */
108
+ export interface LoadbalancerBackendState {
109
+ /**
110
+ * User sessions will be forwarded to this port of backend servers
111
+ */
112
+ forwardPort?: pulumi.Input<number>;
113
+ /**
114
+ * Load balancing algorithm
115
+ */
116
+ forwardPortAlgorithm?: pulumi.Input<string>;
117
+ /**
118
+ * Backend protocol
119
+ */
120
+ forwardProtocol?: pulumi.Input<string>;
121
+ /**
122
+ * Interval between two HC requests
123
+ */
124
+ healthCheckDelay?: pulumi.Input<string>;
125
+ healthCheckHttp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttp>;
126
+ healthCheckHttps?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttps>;
127
+ /**
128
+ * Number of allowed failed HC requests before the backend server is marked down
129
+ */
130
+ healthCheckMaxRetries?: pulumi.Input<number>;
131
+ /**
132
+ * Port the HC requests will be send to. Default to `forward_port`
133
+ */
134
+ healthCheckPort?: pulumi.Input<number>;
135
+ healthCheckTcp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckTcp>;
136
+ /**
137
+ * Timeout before we consider a HC request failed
138
+ */
139
+ healthCheckTimeout?: pulumi.Input<string>;
140
+ /**
141
+ * The load-balancer ID
142
+ */
143
+ lbId?: pulumi.Input<string>;
144
+ /**
145
+ * The name of the backend
146
+ */
147
+ name?: pulumi.Input<string>;
148
+ /**
149
+ * Modify what occurs when a backend server is marked down
150
+ */
151
+ onMarkedDownAction?: pulumi.Input<string>;
152
+ /**
153
+ * Type of PROXY protocol to enable
154
+ */
155
+ proxyProtocol?: pulumi.Input<string>;
156
+ /**
157
+ * Enables PROXY protocol version 2
158
+ *
159
+ * @deprecated Please use proxy_protocol instead
160
+ */
161
+ sendProxyV2?: pulumi.Input<boolean>;
162
+ /**
163
+ * Backend server IP addresses list (IPv4 or IPv6)
164
+ */
165
+ serverIps?: pulumi.Input<pulumi.Input<string>[]>;
166
+ /**
167
+ * Load balancing algorithm
168
+ */
169
+ stickySessions?: pulumi.Input<string>;
170
+ /**
171
+ * Cookie name for for sticky sessions
172
+ */
173
+ stickySessionsCookieName?: pulumi.Input<string>;
174
+ /**
175
+ * Maximum initial server connection establishment time
176
+ */
177
+ timeoutConnect?: pulumi.Input<string>;
178
+ /**
179
+ * Maximum server connection inactivity time
180
+ */
181
+ timeoutServer?: pulumi.Input<string>;
182
+ /**
183
+ * Maximum tunnel inactivity time
184
+ */
185
+ timeoutTunnel?: pulumi.Input<string>;
186
+ }
187
+ /**
188
+ * The set of arguments for constructing a LoadbalancerBackend resource.
189
+ */
190
+ export interface LoadbalancerBackendArgs {
191
+ /**
192
+ * User sessions will be forwarded to this port of backend servers
193
+ */
194
+ forwardPort: pulumi.Input<number>;
195
+ /**
196
+ * Load balancing algorithm
197
+ */
198
+ forwardPortAlgorithm?: pulumi.Input<string>;
199
+ /**
200
+ * Backend protocol
201
+ */
202
+ forwardProtocol: pulumi.Input<string>;
203
+ /**
204
+ * Interval between two HC requests
205
+ */
206
+ healthCheckDelay?: pulumi.Input<string>;
207
+ healthCheckHttp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttp>;
208
+ healthCheckHttps?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttps>;
209
+ /**
210
+ * Number of allowed failed HC requests before the backend server is marked down
211
+ */
212
+ healthCheckMaxRetries?: pulumi.Input<number>;
213
+ /**
214
+ * Port the HC requests will be send to. Default to `forward_port`
215
+ */
216
+ healthCheckPort?: pulumi.Input<number>;
217
+ healthCheckTcp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckTcp>;
218
+ /**
219
+ * Timeout before we consider a HC request failed
220
+ */
221
+ healthCheckTimeout?: pulumi.Input<string>;
222
+ /**
223
+ * The load-balancer ID
224
+ */
225
+ lbId: pulumi.Input<string>;
226
+ /**
227
+ * The name of the backend
228
+ */
229
+ name?: pulumi.Input<string>;
230
+ /**
231
+ * Modify what occurs when a backend server is marked down
232
+ */
233
+ onMarkedDownAction?: pulumi.Input<string>;
234
+ /**
235
+ * Type of PROXY protocol to enable
236
+ */
237
+ proxyProtocol?: pulumi.Input<string>;
238
+ /**
239
+ * Enables PROXY protocol version 2
240
+ *
241
+ * @deprecated Please use proxy_protocol instead
242
+ */
243
+ sendProxyV2?: pulumi.Input<boolean>;
244
+ /**
245
+ * Backend server IP addresses list (IPv4 or IPv6)
246
+ */
247
+ serverIps?: pulumi.Input<pulumi.Input<string>[]>;
248
+ /**
249
+ * Load balancing algorithm
250
+ */
251
+ stickySessions?: pulumi.Input<string>;
252
+ /**
253
+ * Cookie name for for sticky sessions
254
+ */
255
+ stickySessionsCookieName?: pulumi.Input<string>;
256
+ /**
257
+ * Maximum initial server connection establishment time
258
+ */
259
+ timeoutConnect?: pulumi.Input<string>;
260
+ /**
261
+ * Maximum server connection inactivity time
262
+ */
263
+ timeoutServer?: pulumi.Input<string>;
264
+ /**
265
+ * Maximum tunnel inactivity time
266
+ */
267
+ timeoutTunnel?: pulumi.Input<string>;
268
+ }
@@ -0,0 +1,98 @@
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.LoadbalancerBackend = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class LoadbalancerBackend extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["forwardPort"] = state ? state.forwardPort : undefined;
15
+ resourceInputs["forwardPortAlgorithm"] = state ? state.forwardPortAlgorithm : undefined;
16
+ resourceInputs["forwardProtocol"] = state ? state.forwardProtocol : undefined;
17
+ resourceInputs["healthCheckDelay"] = state ? state.healthCheckDelay : undefined;
18
+ resourceInputs["healthCheckHttp"] = state ? state.healthCheckHttp : undefined;
19
+ resourceInputs["healthCheckHttps"] = state ? state.healthCheckHttps : undefined;
20
+ resourceInputs["healthCheckMaxRetries"] = state ? state.healthCheckMaxRetries : undefined;
21
+ resourceInputs["healthCheckPort"] = state ? state.healthCheckPort : undefined;
22
+ resourceInputs["healthCheckTcp"] = state ? state.healthCheckTcp : undefined;
23
+ resourceInputs["healthCheckTimeout"] = state ? state.healthCheckTimeout : undefined;
24
+ resourceInputs["lbId"] = state ? state.lbId : undefined;
25
+ resourceInputs["name"] = state ? state.name : undefined;
26
+ resourceInputs["onMarkedDownAction"] = state ? state.onMarkedDownAction : undefined;
27
+ resourceInputs["proxyProtocol"] = state ? state.proxyProtocol : undefined;
28
+ resourceInputs["sendProxyV2"] = state ? state.sendProxyV2 : undefined;
29
+ resourceInputs["serverIps"] = state ? state.serverIps : undefined;
30
+ resourceInputs["stickySessions"] = state ? state.stickySessions : undefined;
31
+ resourceInputs["stickySessionsCookieName"] = state ? state.stickySessionsCookieName : undefined;
32
+ resourceInputs["timeoutConnect"] = state ? state.timeoutConnect : undefined;
33
+ resourceInputs["timeoutServer"] = state ? state.timeoutServer : undefined;
34
+ resourceInputs["timeoutTunnel"] = state ? state.timeoutTunnel : undefined;
35
+ }
36
+ else {
37
+ const args = argsOrState;
38
+ if ((!args || args.forwardPort === undefined) && !opts.urn) {
39
+ throw new Error("Missing required property 'forwardPort'");
40
+ }
41
+ if ((!args || args.forwardProtocol === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'forwardProtocol'");
43
+ }
44
+ if ((!args || args.lbId === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'lbId'");
46
+ }
47
+ resourceInputs["forwardPort"] = args ? args.forwardPort : undefined;
48
+ resourceInputs["forwardPortAlgorithm"] = args ? args.forwardPortAlgorithm : undefined;
49
+ resourceInputs["forwardProtocol"] = args ? args.forwardProtocol : undefined;
50
+ resourceInputs["healthCheckDelay"] = args ? args.healthCheckDelay : undefined;
51
+ resourceInputs["healthCheckHttp"] = args ? args.healthCheckHttp : undefined;
52
+ resourceInputs["healthCheckHttps"] = args ? args.healthCheckHttps : undefined;
53
+ resourceInputs["healthCheckMaxRetries"] = args ? args.healthCheckMaxRetries : undefined;
54
+ resourceInputs["healthCheckPort"] = args ? args.healthCheckPort : undefined;
55
+ resourceInputs["healthCheckTcp"] = args ? args.healthCheckTcp : undefined;
56
+ resourceInputs["healthCheckTimeout"] = args ? args.healthCheckTimeout : undefined;
57
+ resourceInputs["lbId"] = args ? args.lbId : undefined;
58
+ resourceInputs["name"] = args ? args.name : undefined;
59
+ resourceInputs["onMarkedDownAction"] = args ? args.onMarkedDownAction : undefined;
60
+ resourceInputs["proxyProtocol"] = args ? args.proxyProtocol : undefined;
61
+ resourceInputs["sendProxyV2"] = args ? args.sendProxyV2 : undefined;
62
+ resourceInputs["serverIps"] = args ? args.serverIps : undefined;
63
+ resourceInputs["stickySessions"] = args ? args.stickySessions : undefined;
64
+ resourceInputs["stickySessionsCookieName"] = args ? args.stickySessionsCookieName : undefined;
65
+ resourceInputs["timeoutConnect"] = args ? args.timeoutConnect : undefined;
66
+ resourceInputs["timeoutServer"] = args ? args.timeoutServer : undefined;
67
+ resourceInputs["timeoutTunnel"] = args ? args.timeoutTunnel : undefined;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ super(LoadbalancerBackend.__pulumiType, name, resourceInputs, opts);
71
+ }
72
+ /**
73
+ * Get an existing LoadbalancerBackend resource's state with the given name, ID, and optional extra
74
+ * properties used to qualify the lookup.
75
+ *
76
+ * @param name The _unique_ name of the resulting resource.
77
+ * @param id The _unique_ provider ID of the resource to lookup.
78
+ * @param state Any extra arguments used during the lookup.
79
+ * @param opts Optional settings to control the behavior of the CustomResource.
80
+ */
81
+ static get(name, id, state, opts) {
82
+ return new LoadbalancerBackend(name, state, Object.assign(Object.assign({}, opts), { id: id }));
83
+ }
84
+ /**
85
+ * Returns true if the given object is an instance of LoadbalancerBackend. This is designed to work even
86
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
87
+ */
88
+ static isInstance(obj) {
89
+ if (obj === undefined || obj === null) {
90
+ return false;
91
+ }
92
+ return obj['__pulumiType'] === LoadbalancerBackend.__pulumiType;
93
+ }
94
+ }
95
+ exports.LoadbalancerBackend = LoadbalancerBackend;
96
+ /** @internal */
97
+ LoadbalancerBackend.__pulumiType = 'scaleway:index/loadbalancerBackend:LoadbalancerBackend';
98
+ //# sourceMappingURL=loadbalancerBackend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"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AAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAgLC;AAlKG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
@@ -0,0 +1,133 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ export declare class LoadbalancerCertificate extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing LoadbalancerCertificate resource's state with the given name, ID, and optional extra
6
+ * properties used to qualify the lookup.
7
+ *
8
+ * @param name The _unique_ name of the resulting resource.
9
+ * @param id The _unique_ provider ID of the resource to lookup.
10
+ * @param state Any extra arguments used during the lookup.
11
+ * @param opts Optional settings to control the behavior of the CustomResource.
12
+ */
13
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadbalancerCertificateState, opts?: pulumi.CustomResourceOptions): LoadbalancerCertificate;
14
+ /**
15
+ * Returns true if the given object is an instance of LoadbalancerCertificate. This is designed to work even
16
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
17
+ */
18
+ static isInstance(obj: any): obj is LoadbalancerCertificate;
19
+ /**
20
+ * The main domain name of the certificate
21
+ */
22
+ readonly commonName: pulumi.Output<string>;
23
+ /**
24
+ * The custom type certificate type configuration
25
+ */
26
+ readonly customCertificate: pulumi.Output<outputs.LoadbalancerCertificateCustomCertificate | undefined>;
27
+ /**
28
+ * The identifier (SHA-1) of the certificate
29
+ */
30
+ readonly fingerprint: pulumi.Output<string>;
31
+ /**
32
+ * The load-balancer ID
33
+ */
34
+ readonly lbId: pulumi.Output<string>;
35
+ /**
36
+ * The Let's Encrypt type certificate configuration
37
+ */
38
+ readonly letsencrypt: pulumi.Output<outputs.LoadbalancerCertificateLetsencrypt | undefined>;
39
+ /**
40
+ * The name of the load-balancer certificate
41
+ */
42
+ readonly name: pulumi.Output<string>;
43
+ /**
44
+ * The not valid after validity bound timestamp
45
+ */
46
+ readonly notValidAfter: pulumi.Output<string>;
47
+ /**
48
+ * The not valid before validity bound timestamp
49
+ */
50
+ readonly notValidBefore: pulumi.Output<string>;
51
+ /**
52
+ * The status of certificate
53
+ */
54
+ readonly status: pulumi.Output<string>;
55
+ /**
56
+ * The alternative domain names of the certificate
57
+ */
58
+ readonly subjectAlternativeNames: pulumi.Output<string[]>;
59
+ /**
60
+ * Create a LoadbalancerCertificate resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args: LoadbalancerCertificateArgs, opts?: pulumi.CustomResourceOptions);
67
+ }
68
+ /**
69
+ * Input properties used for looking up and filtering LoadbalancerCertificate resources.
70
+ */
71
+ export interface LoadbalancerCertificateState {
72
+ /**
73
+ * The main domain name of the certificate
74
+ */
75
+ commonName?: pulumi.Input<string>;
76
+ /**
77
+ * The custom type certificate type configuration
78
+ */
79
+ customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>;
80
+ /**
81
+ * The identifier (SHA-1) of the certificate
82
+ */
83
+ fingerprint?: pulumi.Input<string>;
84
+ /**
85
+ * The load-balancer ID
86
+ */
87
+ lbId?: pulumi.Input<string>;
88
+ /**
89
+ * The Let's Encrypt type certificate configuration
90
+ */
91
+ letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>;
92
+ /**
93
+ * The name of the load-balancer certificate
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ /**
97
+ * The not valid after validity bound timestamp
98
+ */
99
+ notValidAfter?: pulumi.Input<string>;
100
+ /**
101
+ * The not valid before validity bound timestamp
102
+ */
103
+ notValidBefore?: pulumi.Input<string>;
104
+ /**
105
+ * The status of certificate
106
+ */
107
+ status?: pulumi.Input<string>;
108
+ /**
109
+ * The alternative domain names of the certificate
110
+ */
111
+ subjectAlternativeNames?: pulumi.Input<pulumi.Input<string>[]>;
112
+ }
113
+ /**
114
+ * The set of arguments for constructing a LoadbalancerCertificate resource.
115
+ */
116
+ export interface LoadbalancerCertificateArgs {
117
+ /**
118
+ * The custom type certificate type configuration
119
+ */
120
+ customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>;
121
+ /**
122
+ * The load-balancer ID
123
+ */
124
+ lbId: pulumi.Input<string>;
125
+ /**
126
+ * The Let's Encrypt type certificate configuration
127
+ */
128
+ letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>;
129
+ /**
130
+ * The name of the load-balancer certificate
131
+ */
132
+ name?: pulumi.Input<string>;
133
+ }
@@ -0,0 +1,70 @@
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.LoadbalancerCertificate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class LoadbalancerCertificate extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["commonName"] = state ? state.commonName : undefined;
15
+ resourceInputs["customCertificate"] = state ? state.customCertificate : undefined;
16
+ resourceInputs["fingerprint"] = state ? state.fingerprint : undefined;
17
+ resourceInputs["lbId"] = state ? state.lbId : undefined;
18
+ resourceInputs["letsencrypt"] = state ? state.letsencrypt : undefined;
19
+ resourceInputs["name"] = state ? state.name : undefined;
20
+ resourceInputs["notValidAfter"] = state ? state.notValidAfter : undefined;
21
+ resourceInputs["notValidBefore"] = state ? state.notValidBefore : undefined;
22
+ resourceInputs["status"] = state ? state.status : undefined;
23
+ resourceInputs["subjectAlternativeNames"] = state ? state.subjectAlternativeNames : undefined;
24
+ }
25
+ else {
26
+ const args = argsOrState;
27
+ if ((!args || args.lbId === undefined) && !opts.urn) {
28
+ throw new Error("Missing required property 'lbId'");
29
+ }
30
+ resourceInputs["customCertificate"] = args ? args.customCertificate : undefined;
31
+ resourceInputs["lbId"] = args ? args.lbId : undefined;
32
+ resourceInputs["letsencrypt"] = args ? args.letsencrypt : undefined;
33
+ resourceInputs["name"] = args ? args.name : undefined;
34
+ resourceInputs["commonName"] = undefined /*out*/;
35
+ resourceInputs["fingerprint"] = undefined /*out*/;
36
+ resourceInputs["notValidAfter"] = undefined /*out*/;
37
+ resourceInputs["notValidBefore"] = undefined /*out*/;
38
+ resourceInputs["status"] = undefined /*out*/;
39
+ resourceInputs["subjectAlternativeNames"] = undefined /*out*/;
40
+ }
41
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
42
+ super(LoadbalancerCertificate.__pulumiType, name, resourceInputs, opts);
43
+ }
44
+ /**
45
+ * Get an existing LoadbalancerCertificate resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name, id, state, opts) {
54
+ return new LoadbalancerCertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
55
+ }
56
+ /**
57
+ * Returns true if the given object is an instance of LoadbalancerCertificate. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === LoadbalancerCertificate.__pulumiType;
65
+ }
66
+ }
67
+ exports.LoadbalancerCertificate = LoadbalancerCertificate;
68
+ /** @internal */
69
+ LoadbalancerCertificate.__pulumiType = 'scaleway:index/loadbalancerCertificate:LoadbalancerCertificate';
70
+ //# sourceMappingURL=loadbalancerCertificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadbalancerCertificate.js","sourceRoot":"","sources":["../loadbalancerCertificate.ts"],"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