@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,133 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ export declare class LoadbalancerFrontend extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing LoadbalancerFrontend 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?: LoadbalancerFrontendState, opts?: pulumi.CustomResourceOptions): LoadbalancerFrontend;
14
+ /**
15
+ * Returns true if the given object is an instance of LoadbalancerFrontend. 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 LoadbalancerFrontend;
19
+ /**
20
+ * ACL rules
21
+ */
22
+ readonly acls: pulumi.Output<outputs.LoadbalancerFrontendAcl[] | undefined>;
23
+ /**
24
+ * The load-balancer backend ID
25
+ */
26
+ readonly backendId: pulumi.Output<string>;
27
+ /**
28
+ * Certificate ID
29
+ *
30
+ * @deprecated Please use certificate_ids
31
+ */
32
+ readonly certificateId: pulumi.Output<string>;
33
+ /**
34
+ * Collection of Certificate IDs related to the load balancer and domain
35
+ */
36
+ readonly certificateIds: pulumi.Output<string[] | undefined>;
37
+ /**
38
+ * TCP port to listen on the front side
39
+ */
40
+ readonly inboundPort: pulumi.Output<number>;
41
+ /**
42
+ * The load-balancer ID
43
+ */
44
+ readonly lbId: pulumi.Output<string>;
45
+ /**
46
+ * The name of the frontend
47
+ */
48
+ readonly name: pulumi.Output<string>;
49
+ /**
50
+ * Set the maximum inactivity time on the client side
51
+ */
52
+ readonly timeoutClient: pulumi.Output<string | undefined>;
53
+ /**
54
+ * Create a LoadbalancerFrontend resource with the given unique name, arguments, and options.
55
+ *
56
+ * @param name The _unique_ name of the resource.
57
+ * @param args The arguments to use to populate this resource's properties.
58
+ * @param opts A bag of options that control this resource's behavior.
59
+ */
60
+ constructor(name: string, args: LoadbalancerFrontendArgs, opts?: pulumi.CustomResourceOptions);
61
+ }
62
+ /**
63
+ * Input properties used for looking up and filtering LoadbalancerFrontend resources.
64
+ */
65
+ export interface LoadbalancerFrontendState {
66
+ /**
67
+ * ACL rules
68
+ */
69
+ acls?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendAcl>[]>;
70
+ /**
71
+ * The load-balancer backend ID
72
+ */
73
+ backendId?: pulumi.Input<string>;
74
+ /**
75
+ * Certificate ID
76
+ *
77
+ * @deprecated Please use certificate_ids
78
+ */
79
+ certificateId?: pulumi.Input<string>;
80
+ /**
81
+ * Collection of Certificate IDs related to the load balancer and domain
82
+ */
83
+ certificateIds?: pulumi.Input<pulumi.Input<string>[]>;
84
+ /**
85
+ * TCP port to listen on the front side
86
+ */
87
+ inboundPort?: pulumi.Input<number>;
88
+ /**
89
+ * The load-balancer ID
90
+ */
91
+ lbId?: pulumi.Input<string>;
92
+ /**
93
+ * The name of the frontend
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ /**
97
+ * Set the maximum inactivity time on the client side
98
+ */
99
+ timeoutClient?: pulumi.Input<string>;
100
+ }
101
+ /**
102
+ * The set of arguments for constructing a LoadbalancerFrontend resource.
103
+ */
104
+ export interface LoadbalancerFrontendArgs {
105
+ /**
106
+ * ACL rules
107
+ */
108
+ acls?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendAcl>[]>;
109
+ /**
110
+ * The load-balancer backend ID
111
+ */
112
+ backendId: pulumi.Input<string>;
113
+ /**
114
+ * Collection of Certificate IDs related to the load balancer and domain
115
+ */
116
+ certificateIds?: pulumi.Input<pulumi.Input<string>[]>;
117
+ /**
118
+ * TCP port to listen on the front side
119
+ */
120
+ inboundPort: pulumi.Input<number>;
121
+ /**
122
+ * The load-balancer ID
123
+ */
124
+ lbId: pulumi.Input<string>;
125
+ /**
126
+ * The name of the frontend
127
+ */
128
+ name?: pulumi.Input<string>;
129
+ /**
130
+ * Set the maximum inactivity time on the client side
131
+ */
132
+ timeoutClient?: pulumi.Input<string>;
133
+ }
@@ -0,0 +1,72 @@
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.LoadbalancerFrontend = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class LoadbalancerFrontend extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["acls"] = state ? state.acls : undefined;
15
+ resourceInputs["backendId"] = state ? state.backendId : undefined;
16
+ resourceInputs["certificateId"] = state ? state.certificateId : undefined;
17
+ resourceInputs["certificateIds"] = state ? state.certificateIds : undefined;
18
+ resourceInputs["inboundPort"] = state ? state.inboundPort : undefined;
19
+ resourceInputs["lbId"] = state ? state.lbId : undefined;
20
+ resourceInputs["name"] = state ? state.name : undefined;
21
+ resourceInputs["timeoutClient"] = state ? state.timeoutClient : undefined;
22
+ }
23
+ else {
24
+ const args = argsOrState;
25
+ if ((!args || args.backendId === undefined) && !opts.urn) {
26
+ throw new Error("Missing required property 'backendId'");
27
+ }
28
+ if ((!args || args.inboundPort === undefined) && !opts.urn) {
29
+ throw new Error("Missing required property 'inboundPort'");
30
+ }
31
+ if ((!args || args.lbId === undefined) && !opts.urn) {
32
+ throw new Error("Missing required property 'lbId'");
33
+ }
34
+ resourceInputs["acls"] = args ? args.acls : undefined;
35
+ resourceInputs["backendId"] = args ? args.backendId : undefined;
36
+ resourceInputs["certificateIds"] = args ? args.certificateIds : undefined;
37
+ resourceInputs["inboundPort"] = args ? args.inboundPort : undefined;
38
+ resourceInputs["lbId"] = args ? args.lbId : undefined;
39
+ resourceInputs["name"] = args ? args.name : undefined;
40
+ resourceInputs["timeoutClient"] = args ? args.timeoutClient : undefined;
41
+ resourceInputs["certificateId"] = undefined /*out*/;
42
+ }
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
44
+ super(LoadbalancerFrontend.__pulumiType, name, resourceInputs, opts);
45
+ }
46
+ /**
47
+ * Get an existing LoadbalancerFrontend resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name, id, state, opts) {
56
+ return new LoadbalancerFrontend(name, state, Object.assign(Object.assign({}, opts), { id: id }));
57
+ }
58
+ /**
59
+ * Returns true if the given object is an instance of LoadbalancerFrontend. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj) {
63
+ if (obj === undefined || obj === null) {
64
+ return false;
65
+ }
66
+ return obj['__pulumiType'] === LoadbalancerFrontend.__pulumiType;
67
+ }
68
+ }
69
+ exports.LoadbalancerFrontend = LoadbalancerFrontend;
70
+ /** @internal */
71
+ LoadbalancerFrontend.__pulumiType = 'scaleway:index/loadbalancerFrontend:LoadbalancerFrontend';
72
+ //# sourceMappingURL=loadbalancerFrontend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadbalancerFrontend.js","sourceRoot":"","sources":["../loadbalancerFrontend.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAuE3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,C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AAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDA2GC;AA7FG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
@@ -0,0 +1,104 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class LoadbalancerIp extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing LoadbalancerIp resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadbalancerIpState, opts?: pulumi.CustomResourceOptions): LoadbalancerIp;
13
+ /**
14
+ * Returns true if the given object is an instance of LoadbalancerIp. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is LoadbalancerIp;
18
+ /**
19
+ * The load-balancer public IP address
20
+ */
21
+ readonly ipAddress: pulumi.Output<string>;
22
+ /**
23
+ * The ID of the load balancer attached to this IP, if any
24
+ */
25
+ readonly lbId: pulumi.Output<string>;
26
+ /**
27
+ * The organization_id you want to attach the resource to
28
+ */
29
+ readonly organizationId: pulumi.Output<string>;
30
+ /**
31
+ * The project_id you want to attach the resource to
32
+ */
33
+ readonly projectId: pulumi.Output<string>;
34
+ /**
35
+ * The region of the resource
36
+ */
37
+ readonly region: pulumi.Output<string>;
38
+ /**
39
+ * The reverse domain name for this IP
40
+ */
41
+ readonly reverse: pulumi.Output<string>;
42
+ /**
43
+ * The zone you want to attach the resource to
44
+ */
45
+ readonly zone: pulumi.Output<string>;
46
+ /**
47
+ * Create a LoadbalancerIp resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args?: LoadbalancerIpArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * Input properties used for looking up and filtering LoadbalancerIp resources.
57
+ */
58
+ export interface LoadbalancerIpState {
59
+ /**
60
+ * The load-balancer public IP address
61
+ */
62
+ ipAddress?: pulumi.Input<string>;
63
+ /**
64
+ * The ID of the load balancer attached to this IP, if any
65
+ */
66
+ lbId?: pulumi.Input<string>;
67
+ /**
68
+ * The organization_id you want to attach the resource to
69
+ */
70
+ organizationId?: pulumi.Input<string>;
71
+ /**
72
+ * The project_id you want to attach the resource to
73
+ */
74
+ projectId?: pulumi.Input<string>;
75
+ /**
76
+ * The region of the resource
77
+ */
78
+ region?: pulumi.Input<string>;
79
+ /**
80
+ * The reverse domain name for this IP
81
+ */
82
+ reverse?: pulumi.Input<string>;
83
+ /**
84
+ * The zone you want to attach the resource to
85
+ */
86
+ zone?: pulumi.Input<string>;
87
+ }
88
+ /**
89
+ * The set of arguments for constructing a LoadbalancerIp resource.
90
+ */
91
+ export interface LoadbalancerIpArgs {
92
+ /**
93
+ * The project_id you want to attach the resource to
94
+ */
95
+ projectId?: pulumi.Input<string>;
96
+ /**
97
+ * The reverse domain name for this IP
98
+ */
99
+ reverse?: pulumi.Input<string>;
100
+ /**
101
+ * The zone you want to attach the resource to
102
+ */
103
+ zone?: pulumi.Input<string>;
104
+ }
@@ -0,0 +1,61 @@
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.LoadbalancerIp = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class LoadbalancerIp extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
15
+ resourceInputs["lbId"] = state ? state.lbId : undefined;
16
+ resourceInputs["organizationId"] = state ? state.organizationId : undefined;
17
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
18
+ resourceInputs["region"] = state ? state.region : undefined;
19
+ resourceInputs["reverse"] = state ? state.reverse : undefined;
20
+ resourceInputs["zone"] = state ? state.zone : undefined;
21
+ }
22
+ else {
23
+ const args = argsOrState;
24
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
25
+ resourceInputs["reverse"] = args ? args.reverse : undefined;
26
+ resourceInputs["zone"] = args ? args.zone : undefined;
27
+ resourceInputs["ipAddress"] = undefined /*out*/;
28
+ resourceInputs["lbId"] = undefined /*out*/;
29
+ resourceInputs["organizationId"] = undefined /*out*/;
30
+ resourceInputs["region"] = undefined /*out*/;
31
+ }
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
33
+ super(LoadbalancerIp.__pulumiType, name, resourceInputs, opts);
34
+ }
35
+ /**
36
+ * Get an existing LoadbalancerIp resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new LoadbalancerIp(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of LoadbalancerIp. 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) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === LoadbalancerIp.__pulumiType;
56
+ }
57
+ }
58
+ exports.LoadbalancerIp = LoadbalancerIp;
59
+ /** @internal */
60
+ LoadbalancerIp.__pulumiType = 'scaleway:index/loadbalancerIp:LoadbalancerIp';
61
+ //# sourceMappingURL=loadbalancerIp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadbalancerIp.js","sourceRoot":"","sources":["../loadbalancerIp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAiErD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,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GG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCA0FC;AA5EG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class LoadbalancerRoute extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing LoadbalancerRoute resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadbalancerRouteState, opts?: pulumi.CustomResourceOptions): LoadbalancerRoute;
13
+ /**
14
+ * Returns true if the given object is an instance of LoadbalancerRoute. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is LoadbalancerRoute;
18
+ /**
19
+ * The backend ID destination of redirection
20
+ */
21
+ readonly backendId: pulumi.Output<string>;
22
+ /**
23
+ * The frontend ID origin of redirection
24
+ */
25
+ readonly frontendId: pulumi.Output<string>;
26
+ /**
27
+ * The domain to match against
28
+ */
29
+ readonly matchSni: pulumi.Output<string | undefined>;
30
+ /**
31
+ * Create a LoadbalancerRoute resource with the given unique name, arguments, and options.
32
+ *
33
+ * @param name The _unique_ name of the resource.
34
+ * @param args The arguments to use to populate this resource's properties.
35
+ * @param opts A bag of options that control this resource's behavior.
36
+ */
37
+ constructor(name: string, args: LoadbalancerRouteArgs, opts?: pulumi.CustomResourceOptions);
38
+ }
39
+ /**
40
+ * Input properties used for looking up and filtering LoadbalancerRoute resources.
41
+ */
42
+ export interface LoadbalancerRouteState {
43
+ /**
44
+ * The backend ID destination of redirection
45
+ */
46
+ backendId?: pulumi.Input<string>;
47
+ /**
48
+ * The frontend ID origin of redirection
49
+ */
50
+ frontendId?: pulumi.Input<string>;
51
+ /**
52
+ * The domain to match against
53
+ */
54
+ matchSni?: pulumi.Input<string>;
55
+ }
56
+ /**
57
+ * The set of arguments for constructing a LoadbalancerRoute resource.
58
+ */
59
+ export interface LoadbalancerRouteArgs {
60
+ /**
61
+ * The backend ID destination of redirection
62
+ */
63
+ backendId: pulumi.Input<string>;
64
+ /**
65
+ * The frontend ID origin of redirection
66
+ */
67
+ frontendId: pulumi.Input<string>;
68
+ /**
69
+ * The domain to match against
70
+ */
71
+ matchSni?: pulumi.Input<string>;
72
+ }
@@ -0,0 +1,59 @@
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.LoadbalancerRoute = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class LoadbalancerRoute extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["backendId"] = state ? state.backendId : undefined;
15
+ resourceInputs["frontendId"] = state ? state.frontendId : undefined;
16
+ resourceInputs["matchSni"] = state ? state.matchSni : undefined;
17
+ }
18
+ else {
19
+ const args = argsOrState;
20
+ if ((!args || args.backendId === undefined) && !opts.urn) {
21
+ throw new Error("Missing required property 'backendId'");
22
+ }
23
+ if ((!args || args.frontendId === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'frontendId'");
25
+ }
26
+ resourceInputs["backendId"] = args ? args.backendId : undefined;
27
+ resourceInputs["frontendId"] = args ? args.frontendId : undefined;
28
+ resourceInputs["matchSni"] = args ? args.matchSni : undefined;
29
+ }
30
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
31
+ super(LoadbalancerRoute.__pulumiType, name, resourceInputs, opts);
32
+ }
33
+ /**
34
+ * Get an existing LoadbalancerRoute resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, state, opts) {
43
+ return new LoadbalancerRoute(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of LoadbalancerRoute. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === LoadbalancerRoute.__pulumiType;
54
+ }
55
+ }
56
+ exports.LoadbalancerRoute = LoadbalancerRoute;
57
+ /** @internal */
58
+ LoadbalancerRoute.__pulumiType = 'scaleway:index/loadbalancerRoute:LoadbalancerRoute';
59
+ //# sourceMappingURL=loadbalancerRoute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadbalancerRoute.js","sourceRoot":"","sources":["../loadbalancerRoute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAiDxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cA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;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAwEC;AA1DG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,138 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ export declare class ObjectBucket extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing ObjectBucket 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?: ObjectBucketState, opts?: pulumi.CustomResourceOptions): ObjectBucket;
14
+ /**
15
+ * Returns true if the given object is an instance of ObjectBucket. 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 ObjectBucket;
19
+ /**
20
+ * ACL of the bucket: either 'public-read' or 'private'.
21
+ */
22
+ readonly acl: pulumi.Output<string | undefined>;
23
+ readonly corsRules: pulumi.Output<outputs.ObjectBucketCorsRule[] | undefined>;
24
+ /**
25
+ * Endpoint of the bucket
26
+ */
27
+ readonly endpoint: pulumi.Output<string>;
28
+ /**
29
+ * Delete objects in bucket
30
+ */
31
+ readonly forceDestroy: pulumi.Output<boolean | undefined>;
32
+ /**
33
+ * Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects
34
+ */
35
+ readonly lifecycleRules: pulumi.Output<outputs.ObjectBucketLifecycleRule[] | undefined>;
36
+ /**
37
+ * The name of the bucket
38
+ */
39
+ readonly name: pulumi.Output<string>;
40
+ /**
41
+ * The region you want to attach the resource to
42
+ */
43
+ readonly region: pulumi.Output<string>;
44
+ /**
45
+ * The tags associated with this bucket
46
+ */
47
+ readonly tags: pulumi.Output<{
48
+ [key: string]: string;
49
+ } | undefined>;
50
+ /**
51
+ * Allow multiple versions of an object in the same bucket
52
+ */
53
+ readonly versioning: pulumi.Output<outputs.ObjectBucketVersioning>;
54
+ /**
55
+ * Create a ObjectBucket resource with the given unique name, arguments, and options.
56
+ *
57
+ * @param name The _unique_ name of the resource.
58
+ * @param args The arguments to use to populate this resource's properties.
59
+ * @param opts A bag of options that control this resource's behavior.
60
+ */
61
+ constructor(name: string, args?: ObjectBucketArgs, opts?: pulumi.CustomResourceOptions);
62
+ }
63
+ /**
64
+ * Input properties used for looking up and filtering ObjectBucket resources.
65
+ */
66
+ export interface ObjectBucketState {
67
+ /**
68
+ * ACL of the bucket: either 'public-read' or 'private'.
69
+ */
70
+ acl?: pulumi.Input<string>;
71
+ corsRules?: pulumi.Input<pulumi.Input<inputs.ObjectBucketCorsRule>[]>;
72
+ /**
73
+ * Endpoint of the bucket
74
+ */
75
+ endpoint?: pulumi.Input<string>;
76
+ /**
77
+ * Delete objects in bucket
78
+ */
79
+ forceDestroy?: pulumi.Input<boolean>;
80
+ /**
81
+ * Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects
82
+ */
83
+ lifecycleRules?: pulumi.Input<pulumi.Input<inputs.ObjectBucketLifecycleRule>[]>;
84
+ /**
85
+ * The name of the bucket
86
+ */
87
+ name?: pulumi.Input<string>;
88
+ /**
89
+ * The region you want to attach the resource to
90
+ */
91
+ region?: pulumi.Input<string>;
92
+ /**
93
+ * The tags associated with this bucket
94
+ */
95
+ tags?: pulumi.Input<{
96
+ [key: string]: pulumi.Input<string>;
97
+ }>;
98
+ /**
99
+ * Allow multiple versions of an object in the same bucket
100
+ */
101
+ versioning?: pulumi.Input<inputs.ObjectBucketVersioning>;
102
+ }
103
+ /**
104
+ * The set of arguments for constructing a ObjectBucket resource.
105
+ */
106
+ export interface ObjectBucketArgs {
107
+ /**
108
+ * ACL of the bucket: either 'public-read' or 'private'.
109
+ */
110
+ acl?: pulumi.Input<string>;
111
+ corsRules?: pulumi.Input<pulumi.Input<inputs.ObjectBucketCorsRule>[]>;
112
+ /**
113
+ * Delete objects in bucket
114
+ */
115
+ forceDestroy?: pulumi.Input<boolean>;
116
+ /**
117
+ * Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects
118
+ */
119
+ lifecycleRules?: pulumi.Input<pulumi.Input<inputs.ObjectBucketLifecycleRule>[]>;
120
+ /**
121
+ * The name of the bucket
122
+ */
123
+ name?: pulumi.Input<string>;
124
+ /**
125
+ * The region you want to attach the resource to
126
+ */
127
+ region?: pulumi.Input<string>;
128
+ /**
129
+ * The tags associated with this bucket
130
+ */
131
+ tags?: pulumi.Input<{
132
+ [key: string]: pulumi.Input<string>;
133
+ }>;
134
+ /**
135
+ * Allow multiple versions of an object in the same bucket
136
+ */
137
+ versioning?: pulumi.Input<inputs.ObjectBucketVersioning>;
138
+ }