@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,173 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ export declare class BaremetalServer extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing BaremetalServer 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?: BaremetalServerState, opts?: pulumi.CustomResourceOptions): BaremetalServer;
14
+ /**
15
+ * Returns true if the given object is an instance of BaremetalServer. 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 BaremetalServer;
19
+ /**
20
+ * Some description to associate to the server, max 255 characters
21
+ */
22
+ readonly description: pulumi.Output<string | undefined>;
23
+ readonly domain: pulumi.Output<string>;
24
+ /**
25
+ * Hostname of the server
26
+ */
27
+ readonly hostname: pulumi.Output<string | undefined>;
28
+ readonly ips: pulumi.Output<outputs.BaremetalServerIp[]>;
29
+ /**
30
+ * Name of the server
31
+ */
32
+ readonly name: pulumi.Output<string>;
33
+ /**
34
+ * ID or name of the server offer
35
+ */
36
+ readonly offer: pulumi.Output<string>;
37
+ /**
38
+ * ID of the server offer
39
+ */
40
+ readonly offerId: pulumi.Output<string>;
41
+ /**
42
+ * The organization_id you want to attach the resource to
43
+ */
44
+ readonly organizationId: pulumi.Output<string>;
45
+ /**
46
+ * The base image of the server
47
+ */
48
+ readonly os: pulumi.Output<string>;
49
+ /**
50
+ * The base image ID of the server
51
+ */
52
+ readonly osId: pulumi.Output<string>;
53
+ /**
54
+ * The project_id you want to attach the resource to
55
+ */
56
+ readonly projectId: pulumi.Output<string>;
57
+ /**
58
+ * Array of SSH key IDs allowed to SSH to the server
59
+ */
60
+ readonly sshKeyIds: pulumi.Output<string[]>;
61
+ /**
62
+ * Array of tags to associate with the server
63
+ */
64
+ readonly tags: pulumi.Output<string[] | undefined>;
65
+ /**
66
+ * The zone you want to attach the resource to
67
+ */
68
+ readonly zone: pulumi.Output<string>;
69
+ /**
70
+ * Create a BaremetalServer resource with the given unique name, arguments, and options.
71
+ *
72
+ * @param name The _unique_ name of the resource.
73
+ * @param args The arguments to use to populate this resource's properties.
74
+ * @param opts A bag of options that control this resource's behavior.
75
+ */
76
+ constructor(name: string, args: BaremetalServerArgs, opts?: pulumi.CustomResourceOptions);
77
+ }
78
+ /**
79
+ * Input properties used for looking up and filtering BaremetalServer resources.
80
+ */
81
+ export interface BaremetalServerState {
82
+ /**
83
+ * Some description to associate to the server, max 255 characters
84
+ */
85
+ description?: pulumi.Input<string>;
86
+ domain?: pulumi.Input<string>;
87
+ /**
88
+ * Hostname of the server
89
+ */
90
+ hostname?: pulumi.Input<string>;
91
+ ips?: pulumi.Input<pulumi.Input<inputs.BaremetalServerIp>[]>;
92
+ /**
93
+ * Name of the server
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ /**
97
+ * ID or name of the server offer
98
+ */
99
+ offer?: pulumi.Input<string>;
100
+ /**
101
+ * ID of the server offer
102
+ */
103
+ offerId?: pulumi.Input<string>;
104
+ /**
105
+ * The organization_id you want to attach the resource to
106
+ */
107
+ organizationId?: pulumi.Input<string>;
108
+ /**
109
+ * The base image of the server
110
+ */
111
+ os?: pulumi.Input<string>;
112
+ /**
113
+ * The base image ID of the server
114
+ */
115
+ osId?: pulumi.Input<string>;
116
+ /**
117
+ * The project_id you want to attach the resource to
118
+ */
119
+ projectId?: pulumi.Input<string>;
120
+ /**
121
+ * Array of SSH key IDs allowed to SSH to the server
122
+ */
123
+ sshKeyIds?: pulumi.Input<pulumi.Input<string>[]>;
124
+ /**
125
+ * Array of tags to associate with the server
126
+ */
127
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
128
+ /**
129
+ * The zone you want to attach the resource to
130
+ */
131
+ zone?: pulumi.Input<string>;
132
+ }
133
+ /**
134
+ * The set of arguments for constructing a BaremetalServer resource.
135
+ */
136
+ export interface BaremetalServerArgs {
137
+ /**
138
+ * Some description to associate to the server, max 255 characters
139
+ */
140
+ description?: pulumi.Input<string>;
141
+ /**
142
+ * Hostname of the server
143
+ */
144
+ hostname?: pulumi.Input<string>;
145
+ /**
146
+ * Name of the server
147
+ */
148
+ name?: pulumi.Input<string>;
149
+ /**
150
+ * ID or name of the server offer
151
+ */
152
+ offer: pulumi.Input<string>;
153
+ /**
154
+ * The base image of the server
155
+ */
156
+ os: pulumi.Input<string>;
157
+ /**
158
+ * The project_id you want to attach the resource to
159
+ */
160
+ projectId?: pulumi.Input<string>;
161
+ /**
162
+ * Array of SSH key IDs allowed to SSH to the server
163
+ */
164
+ sshKeyIds: pulumi.Input<pulumi.Input<string>[]>;
165
+ /**
166
+ * Array of tags to associate with the server
167
+ */
168
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
169
+ /**
170
+ * The zone you want to attach the resource to
171
+ */
172
+ zone?: pulumi.Input<string>;
173
+ }
@@ -0,0 +1,84 @@
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.BaremetalServer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class BaremetalServer extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["description"] = state ? state.description : undefined;
15
+ resourceInputs["domain"] = state ? state.domain : undefined;
16
+ resourceInputs["hostname"] = state ? state.hostname : undefined;
17
+ resourceInputs["ips"] = state ? state.ips : undefined;
18
+ resourceInputs["name"] = state ? state.name : undefined;
19
+ resourceInputs["offer"] = state ? state.offer : undefined;
20
+ resourceInputs["offerId"] = state ? state.offerId : undefined;
21
+ resourceInputs["organizationId"] = state ? state.organizationId : undefined;
22
+ resourceInputs["os"] = state ? state.os : undefined;
23
+ resourceInputs["osId"] = state ? state.osId : undefined;
24
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
25
+ resourceInputs["sshKeyIds"] = state ? state.sshKeyIds : undefined;
26
+ resourceInputs["tags"] = state ? state.tags : undefined;
27
+ resourceInputs["zone"] = state ? state.zone : undefined;
28
+ }
29
+ else {
30
+ const args = argsOrState;
31
+ if ((!args || args.offer === undefined) && !opts.urn) {
32
+ throw new Error("Missing required property 'offer'");
33
+ }
34
+ if ((!args || args.os === undefined) && !opts.urn) {
35
+ throw new Error("Missing required property 'os'");
36
+ }
37
+ if ((!args || args.sshKeyIds === undefined) && !opts.urn) {
38
+ throw new Error("Missing required property 'sshKeyIds'");
39
+ }
40
+ resourceInputs["description"] = args ? args.description : undefined;
41
+ resourceInputs["hostname"] = args ? args.hostname : undefined;
42
+ resourceInputs["name"] = args ? args.name : undefined;
43
+ resourceInputs["offer"] = args ? args.offer : undefined;
44
+ resourceInputs["os"] = args ? args.os : undefined;
45
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
46
+ resourceInputs["sshKeyIds"] = args ? args.sshKeyIds : undefined;
47
+ resourceInputs["tags"] = args ? args.tags : undefined;
48
+ resourceInputs["zone"] = args ? args.zone : undefined;
49
+ resourceInputs["domain"] = undefined /*out*/;
50
+ resourceInputs["ips"] = undefined /*out*/;
51
+ resourceInputs["offerId"] = undefined /*out*/;
52
+ resourceInputs["organizationId"] = undefined /*out*/;
53
+ resourceInputs["osId"] = undefined /*out*/;
54
+ }
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
56
+ super(BaremetalServer.__pulumiType, name, resourceInputs, opts);
57
+ }
58
+ /**
59
+ * Get an existing BaremetalServer resource's state with the given name, ID, and optional extra
60
+ * properties used to qualify the lookup.
61
+ *
62
+ * @param name The _unique_ name of the resulting resource.
63
+ * @param id The _unique_ provider ID of the resource to lookup.
64
+ * @param state Any extra arguments used during the lookup.
65
+ * @param opts Optional settings to control the behavior of the CustomResource.
66
+ */
67
+ static get(name, id, state, opts) {
68
+ return new BaremetalServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
69
+ }
70
+ /**
71
+ * Returns true if the given object is an instance of BaremetalServer. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj) {
75
+ if (obj === undefined || obj === null) {
76
+ return false;
77
+ }
78
+ return obj['__pulumiType'] === BaremetalServer.__pulumiType;
79
+ }
80
+ }
81
+ exports.BaremetalServer = BaremetalServer;
82
+ /** @internal */
83
+ BaremetalServer.__pulumiType = 'scaleway:index/baremetalServer:BaremetalServer';
84
+ //# sourceMappingURL=baremetalServer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baremetalServer.js","sourceRoot":"","sources":["../baremetalServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAuFtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAA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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IArID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAuIC;AAzHG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
@@ -0,0 +1 @@
1
+ export * from "./vars";
@@ -0,0 +1,21 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ // Export members:
20
+ __exportStar(require("./vars"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * The Scaleway access key.
3
+ */
4
+ export declare const accessKey: string | undefined;
5
+ /**
6
+ * The Scaleway API URL to use.
7
+ */
8
+ export declare const apiUrl: string | undefined;
9
+ /**
10
+ * The Scaleway profile to use.
11
+ */
12
+ export declare const profile: string | undefined;
13
+ /**
14
+ * The Scaleway project ID.
15
+ */
16
+ export declare const projectId: string | undefined;
17
+ /**
18
+ * The region you want to attach the resource to
19
+ */
20
+ export declare const region: string | undefined;
21
+ /**
22
+ * The Scaleway secret Key.
23
+ */
24
+ export declare const secretKey: string | undefined;
25
+ /**
26
+ * The zone you want to attach the resource to
27
+ */
28
+ export declare const zone: string | undefined;
package/config/vars.js ADDED
@@ -0,0 +1,55 @@
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
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ const __config = new pulumi.Config("scaleway");
8
+ Object.defineProperty(exports, "accessKey", {
9
+ get() {
10
+ var _a;
11
+ return (_a = __config.get("accessKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("SCW_ACCESS_KEY");
12
+ },
13
+ enumerable: true,
14
+ });
15
+ Object.defineProperty(exports, "apiUrl", {
16
+ get() {
17
+ return __config.get("apiUrl");
18
+ },
19
+ enumerable: true,
20
+ });
21
+ Object.defineProperty(exports, "profile", {
22
+ get() {
23
+ return __config.get("profile");
24
+ },
25
+ enumerable: true,
26
+ });
27
+ Object.defineProperty(exports, "projectId", {
28
+ get() {
29
+ var _a;
30
+ return (_a = __config.get("projectId")) !== null && _a !== void 0 ? _a : utilities.getEnv("SCW_DEFAULT_PROJECT_ID");
31
+ },
32
+ enumerable: true,
33
+ });
34
+ Object.defineProperty(exports, "region", {
35
+ get() {
36
+ var _a;
37
+ return (_a = __config.get("region")) !== null && _a !== void 0 ? _a : utilities.getEnv("SCW_DEFAULT_REGION");
38
+ },
39
+ enumerable: true,
40
+ });
41
+ Object.defineProperty(exports, "secretKey", {
42
+ get() {
43
+ var _a;
44
+ return (_a = __config.get("secretKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("SCW_SECRET_KEY");
45
+ },
46
+ enumerable: true,
47
+ });
48
+ Object.defineProperty(exports, "zone", {
49
+ get() {
50
+ var _a;
51
+ return (_a = __config.get("zone")) !== null && _a !== void 0 ? _a : utilities.getEnv("SCW_DEFAULT_ZONE");
52
+ },
53
+ enumerable: true,
54
+ });
55
+ //# sourceMappingURL=vars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAG1C,MAAM,QA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,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAC3E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE;IACnC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACxE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
package/container.d.ts ADDED
@@ -0,0 +1,273 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class Container extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing Container 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?: ContainerState, opts?: pulumi.CustomResourceOptions): Container;
13
+ /**
14
+ * Returns true if the given object is an instance of Container. 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 Container;
18
+ /**
19
+ * The amount of vCPU computing resources to allocate to each container. Defaults to 70.
20
+ */
21
+ readonly cpuLimit: pulumi.Output<number>;
22
+ /**
23
+ * The cron status
24
+ */
25
+ readonly cronStatus: pulumi.Output<string>;
26
+ /**
27
+ * This allows you to control your production environment
28
+ */
29
+ readonly deploy: pulumi.Output<boolean | undefined>;
30
+ /**
31
+ * The container description
32
+ */
33
+ readonly description: pulumi.Output<string | undefined>;
34
+ /**
35
+ * The container domain name.
36
+ */
37
+ readonly domainName: pulumi.Output<string>;
38
+ /**
39
+ * The environment variables to be injected into your container at runtime.
40
+ */
41
+ readonly environmentVariables: pulumi.Output<{
42
+ [key: string]: string;
43
+ } | undefined>;
44
+ /**
45
+ * The error description
46
+ */
47
+ readonly errorMessage: pulumi.Output<string>;
48
+ /**
49
+ * The maximum the number of simultaneous requests your container can handle at the same time. Defaults to 50.
50
+ */
51
+ readonly maxConcurrency: pulumi.Output<number>;
52
+ /**
53
+ * The maximum of number of instances this container can scale to. Default to 20.
54
+ */
55
+ readonly maxScale: pulumi.Output<number>;
56
+ /**
57
+ * The memory computing resources in MB to allocate to each container. Defaults to 128.
58
+ */
59
+ readonly memoryLimit: pulumi.Output<number>;
60
+ /**
61
+ * The minimum of running container instances continuously. Defaults to 0.
62
+ */
63
+ readonly minScale: pulumi.Output<number>;
64
+ /**
65
+ * The container name
66
+ */
67
+ readonly name: pulumi.Output<string>;
68
+ /**
69
+ * The container namespace associated
70
+ */
71
+ readonly namespaceId: pulumi.Output<string>;
72
+ /**
73
+ * The port to expose the container. Defaults to 8080
74
+ */
75
+ readonly port: pulumi.Output<number>;
76
+ /**
77
+ * The privacy type define the way to authenticate to your container
78
+ */
79
+ readonly privacy: pulumi.Output<string | undefined>;
80
+ /**
81
+ * The communication protocol http1 or h2c. Defaults to http1.
82
+ */
83
+ readonly protocol: pulumi.Output<string | undefined>;
84
+ /**
85
+ * The region of the resource
86
+ */
87
+ readonly region: pulumi.Output<string>;
88
+ /**
89
+ * The scaleway registry image address
90
+ */
91
+ readonly registryImage: pulumi.Output<string>;
92
+ /**
93
+ * The container status
94
+ */
95
+ readonly status: pulumi.Output<string>;
96
+ /**
97
+ * The maximum amount of time in seconds during which your container can process a request before we stop it. Defaults to
98
+ * 300s.
99
+ */
100
+ readonly timeout: pulumi.Output<number>;
101
+ /**
102
+ * Create a Container resource with the given unique name, arguments, and options.
103
+ *
104
+ * @param name The _unique_ name of the resource.
105
+ * @param args The arguments to use to populate this resource's properties.
106
+ * @param opts A bag of options that control this resource's behavior.
107
+ */
108
+ constructor(name: string, args: ContainerArgs, opts?: pulumi.CustomResourceOptions);
109
+ }
110
+ /**
111
+ * Input properties used for looking up and filtering Container resources.
112
+ */
113
+ export interface ContainerState {
114
+ /**
115
+ * The amount of vCPU computing resources to allocate to each container. Defaults to 70.
116
+ */
117
+ cpuLimit?: pulumi.Input<number>;
118
+ /**
119
+ * The cron status
120
+ */
121
+ cronStatus?: pulumi.Input<string>;
122
+ /**
123
+ * This allows you to control your production environment
124
+ */
125
+ deploy?: pulumi.Input<boolean>;
126
+ /**
127
+ * The container description
128
+ */
129
+ description?: pulumi.Input<string>;
130
+ /**
131
+ * The container domain name.
132
+ */
133
+ domainName?: pulumi.Input<string>;
134
+ /**
135
+ * The environment variables to be injected into your container at runtime.
136
+ */
137
+ environmentVariables?: pulumi.Input<{
138
+ [key: string]: pulumi.Input<string>;
139
+ }>;
140
+ /**
141
+ * The error description
142
+ */
143
+ errorMessage?: pulumi.Input<string>;
144
+ /**
145
+ * The maximum the number of simultaneous requests your container can handle at the same time. Defaults to 50.
146
+ */
147
+ maxConcurrency?: pulumi.Input<number>;
148
+ /**
149
+ * The maximum of number of instances this container can scale to. Default to 20.
150
+ */
151
+ maxScale?: pulumi.Input<number>;
152
+ /**
153
+ * The memory computing resources in MB to allocate to each container. Defaults to 128.
154
+ */
155
+ memoryLimit?: pulumi.Input<number>;
156
+ /**
157
+ * The minimum of running container instances continuously. Defaults to 0.
158
+ */
159
+ minScale?: pulumi.Input<number>;
160
+ /**
161
+ * The container name
162
+ */
163
+ name?: pulumi.Input<string>;
164
+ /**
165
+ * The container namespace associated
166
+ */
167
+ namespaceId?: pulumi.Input<string>;
168
+ /**
169
+ * The port to expose the container. Defaults to 8080
170
+ */
171
+ port?: pulumi.Input<number>;
172
+ /**
173
+ * The privacy type define the way to authenticate to your container
174
+ */
175
+ privacy?: pulumi.Input<string>;
176
+ /**
177
+ * The communication protocol http1 or h2c. Defaults to http1.
178
+ */
179
+ protocol?: pulumi.Input<string>;
180
+ /**
181
+ * The region of the resource
182
+ */
183
+ region?: pulumi.Input<string>;
184
+ /**
185
+ * The scaleway registry image address
186
+ */
187
+ registryImage?: pulumi.Input<string>;
188
+ /**
189
+ * The container status
190
+ */
191
+ status?: pulumi.Input<string>;
192
+ /**
193
+ * The maximum amount of time in seconds during which your container can process a request before we stop it. Defaults to
194
+ * 300s.
195
+ */
196
+ timeout?: pulumi.Input<number>;
197
+ }
198
+ /**
199
+ * The set of arguments for constructing a Container resource.
200
+ */
201
+ export interface ContainerArgs {
202
+ /**
203
+ * The amount of vCPU computing resources to allocate to each container. Defaults to 70.
204
+ */
205
+ cpuLimit?: pulumi.Input<number>;
206
+ /**
207
+ * This allows you to control your production environment
208
+ */
209
+ deploy?: pulumi.Input<boolean>;
210
+ /**
211
+ * The container description
212
+ */
213
+ description?: pulumi.Input<string>;
214
+ /**
215
+ * The container domain name.
216
+ */
217
+ domainName?: pulumi.Input<string>;
218
+ /**
219
+ * The environment variables to be injected into your container at runtime.
220
+ */
221
+ environmentVariables?: pulumi.Input<{
222
+ [key: string]: pulumi.Input<string>;
223
+ }>;
224
+ /**
225
+ * The maximum the number of simultaneous requests your container can handle at the same time. Defaults to 50.
226
+ */
227
+ maxConcurrency?: pulumi.Input<number>;
228
+ /**
229
+ * The maximum of number of instances this container can scale to. Default to 20.
230
+ */
231
+ maxScale?: pulumi.Input<number>;
232
+ /**
233
+ * The memory computing resources in MB to allocate to each container. Defaults to 128.
234
+ */
235
+ memoryLimit?: pulumi.Input<number>;
236
+ /**
237
+ * The minimum of running container instances continuously. Defaults to 0.
238
+ */
239
+ minScale?: pulumi.Input<number>;
240
+ /**
241
+ * The container name
242
+ */
243
+ name?: pulumi.Input<string>;
244
+ /**
245
+ * The container namespace associated
246
+ */
247
+ namespaceId: pulumi.Input<string>;
248
+ /**
249
+ * The port to expose the container. Defaults to 8080
250
+ */
251
+ port?: pulumi.Input<number>;
252
+ /**
253
+ * The privacy type define the way to authenticate to your container
254
+ */
255
+ privacy?: pulumi.Input<string>;
256
+ /**
257
+ * The communication protocol http1 or h2c. Defaults to http1.
258
+ */
259
+ protocol?: pulumi.Input<string>;
260
+ /**
261
+ * The scaleway registry image address
262
+ */
263
+ registryImage?: pulumi.Input<string>;
264
+ /**
265
+ * The container status
266
+ */
267
+ status?: pulumi.Input<string>;
268
+ /**
269
+ * The maximum amount of time in seconds during which your container can process a request before we stop it. Defaults to
270
+ * 300s.
271
+ */
272
+ timeout?: pulumi.Input<number>;
273
+ }