@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 @@
1
+ {"version":3,"file":"iotDevice.js","sourceRoot":"","sources":["../iotDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAyFhD,YAAY,I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/iotHub.d.ts ADDED
@@ -0,0 +1,212 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class IotHub extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing IotHub 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?: IotHubState, opts?: pulumi.CustomResourceOptions): IotHub;
13
+ /**
14
+ * Returns true if the given object is an instance of IotHub. 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 IotHub;
18
+ /**
19
+ * The current number of connected devices in the Hub
20
+ */
21
+ readonly connectedDeviceCount: pulumi.Output<number>;
22
+ /**
23
+ * The date and time of the creation of the IoT Hub
24
+ */
25
+ readonly createdAt: pulumi.Output<string>;
26
+ /**
27
+ * Wether to enable the device auto provisioning or not
28
+ */
29
+ readonly deviceAutoProvisioning: pulumi.Output<boolean | undefined>;
30
+ /**
31
+ * The number of registered devices in the Hub
32
+ */
33
+ readonly deviceCount: pulumi.Output<number>;
34
+ /**
35
+ * Whether to enable the hub events or not
36
+ */
37
+ readonly disableEvents: pulumi.Output<boolean | undefined>;
38
+ /**
39
+ * Whether to enable the hub or not
40
+ */
41
+ readonly enabled: pulumi.Output<boolean | undefined>;
42
+ /**
43
+ * The endpoint to connect the devices to
44
+ */
45
+ readonly endpoint: pulumi.Output<string>;
46
+ /**
47
+ * Topic prefix for the hub events
48
+ */
49
+ readonly eventsTopicPrefix: pulumi.Output<string | undefined>;
50
+ /**
51
+ * Custom user provided certificate authority
52
+ */
53
+ readonly hubCa: pulumi.Output<string | undefined>;
54
+ /**
55
+ * Challenge certificate for the user provided hub CA
56
+ */
57
+ readonly hubCaChallenge: pulumi.Output<string | undefined>;
58
+ /**
59
+ * The name of the hub
60
+ */
61
+ readonly name: pulumi.Output<string>;
62
+ /**
63
+ * The organization_id you want to attach the resource to
64
+ */
65
+ readonly organizationId: pulumi.Output<string>;
66
+ /**
67
+ * The product plan of the hub
68
+ */
69
+ readonly productPlan: pulumi.Output<string>;
70
+ /**
71
+ * The project_id you want to attach the resource to
72
+ */
73
+ readonly projectId: pulumi.Output<string>;
74
+ /**
75
+ * The region you want to attach the resource to
76
+ */
77
+ readonly region: pulumi.Output<string>;
78
+ /**
79
+ * The status of the hub
80
+ */
81
+ readonly status: pulumi.Output<string>;
82
+ /**
83
+ * The date and time of the last update of the IoT Hub
84
+ */
85
+ readonly updatedAt: pulumi.Output<string>;
86
+ /**
87
+ * Create a IotHub resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: IotHubArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering IotHub resources.
97
+ */
98
+ export interface IotHubState {
99
+ /**
100
+ * The current number of connected devices in the Hub
101
+ */
102
+ connectedDeviceCount?: pulumi.Input<number>;
103
+ /**
104
+ * The date and time of the creation of the IoT Hub
105
+ */
106
+ createdAt?: pulumi.Input<string>;
107
+ /**
108
+ * Wether to enable the device auto provisioning or not
109
+ */
110
+ deviceAutoProvisioning?: pulumi.Input<boolean>;
111
+ /**
112
+ * The number of registered devices in the Hub
113
+ */
114
+ deviceCount?: pulumi.Input<number>;
115
+ /**
116
+ * Whether to enable the hub events or not
117
+ */
118
+ disableEvents?: pulumi.Input<boolean>;
119
+ /**
120
+ * Whether to enable the hub or not
121
+ */
122
+ enabled?: pulumi.Input<boolean>;
123
+ /**
124
+ * The endpoint to connect the devices to
125
+ */
126
+ endpoint?: pulumi.Input<string>;
127
+ /**
128
+ * Topic prefix for the hub events
129
+ */
130
+ eventsTopicPrefix?: pulumi.Input<string>;
131
+ /**
132
+ * Custom user provided certificate authority
133
+ */
134
+ hubCa?: pulumi.Input<string>;
135
+ /**
136
+ * Challenge certificate for the user provided hub CA
137
+ */
138
+ hubCaChallenge?: pulumi.Input<string>;
139
+ /**
140
+ * The name of the hub
141
+ */
142
+ name?: pulumi.Input<string>;
143
+ /**
144
+ * The organization_id you want to attach the resource to
145
+ */
146
+ organizationId?: pulumi.Input<string>;
147
+ /**
148
+ * The product plan of the hub
149
+ */
150
+ productPlan?: pulumi.Input<string>;
151
+ /**
152
+ * The project_id you want to attach the resource to
153
+ */
154
+ projectId?: pulumi.Input<string>;
155
+ /**
156
+ * The region you want to attach the resource to
157
+ */
158
+ region?: pulumi.Input<string>;
159
+ /**
160
+ * The status of the hub
161
+ */
162
+ status?: pulumi.Input<string>;
163
+ /**
164
+ * The date and time of the last update of the IoT Hub
165
+ */
166
+ updatedAt?: pulumi.Input<string>;
167
+ }
168
+ /**
169
+ * The set of arguments for constructing a IotHub resource.
170
+ */
171
+ export interface IotHubArgs {
172
+ /**
173
+ * Wether to enable the device auto provisioning or not
174
+ */
175
+ deviceAutoProvisioning?: pulumi.Input<boolean>;
176
+ /**
177
+ * Whether to enable the hub events or not
178
+ */
179
+ disableEvents?: pulumi.Input<boolean>;
180
+ /**
181
+ * Whether to enable the hub or not
182
+ */
183
+ enabled?: pulumi.Input<boolean>;
184
+ /**
185
+ * Topic prefix for the hub events
186
+ */
187
+ eventsTopicPrefix?: pulumi.Input<string>;
188
+ /**
189
+ * Custom user provided certificate authority
190
+ */
191
+ hubCa?: pulumi.Input<string>;
192
+ /**
193
+ * Challenge certificate for the user provided hub CA
194
+ */
195
+ hubCaChallenge?: pulumi.Input<string>;
196
+ /**
197
+ * The name of the hub
198
+ */
199
+ name?: pulumi.Input<string>;
200
+ /**
201
+ * The product plan of the hub
202
+ */
203
+ productPlan: pulumi.Input<string>;
204
+ /**
205
+ * The project_id you want to attach the resource to
206
+ */
207
+ projectId?: pulumi.Input<string>;
208
+ /**
209
+ * The region you want to attach the resource to
210
+ */
211
+ region?: pulumi.Input<string>;
212
+ }
package/iotHub.js ADDED
@@ -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.IotHub = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class IotHub extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["connectedDeviceCount"] = state ? state.connectedDeviceCount : undefined;
15
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
16
+ resourceInputs["deviceAutoProvisioning"] = state ? state.deviceAutoProvisioning : undefined;
17
+ resourceInputs["deviceCount"] = state ? state.deviceCount : undefined;
18
+ resourceInputs["disableEvents"] = state ? state.disableEvents : undefined;
19
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
20
+ resourceInputs["endpoint"] = state ? state.endpoint : undefined;
21
+ resourceInputs["eventsTopicPrefix"] = state ? state.eventsTopicPrefix : undefined;
22
+ resourceInputs["hubCa"] = state ? state.hubCa : undefined;
23
+ resourceInputs["hubCaChallenge"] = state ? state.hubCaChallenge : undefined;
24
+ resourceInputs["name"] = state ? state.name : undefined;
25
+ resourceInputs["organizationId"] = state ? state.organizationId : undefined;
26
+ resourceInputs["productPlan"] = state ? state.productPlan : undefined;
27
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
28
+ resourceInputs["region"] = state ? state.region : undefined;
29
+ resourceInputs["status"] = state ? state.status : undefined;
30
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
31
+ }
32
+ else {
33
+ const args = argsOrState;
34
+ if ((!args || args.productPlan === undefined) && !opts.urn) {
35
+ throw new Error("Missing required property 'productPlan'");
36
+ }
37
+ resourceInputs["deviceAutoProvisioning"] = args ? args.deviceAutoProvisioning : undefined;
38
+ resourceInputs["disableEvents"] = args ? args.disableEvents : undefined;
39
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
40
+ resourceInputs["eventsTopicPrefix"] = args ? args.eventsTopicPrefix : undefined;
41
+ resourceInputs["hubCa"] = args ? args.hubCa : undefined;
42
+ resourceInputs["hubCaChallenge"] = args ? args.hubCaChallenge : undefined;
43
+ resourceInputs["name"] = args ? args.name : undefined;
44
+ resourceInputs["productPlan"] = args ? args.productPlan : undefined;
45
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
46
+ resourceInputs["region"] = args ? args.region : undefined;
47
+ resourceInputs["connectedDeviceCount"] = undefined /*out*/;
48
+ resourceInputs["createdAt"] = undefined /*out*/;
49
+ resourceInputs["deviceCount"] = undefined /*out*/;
50
+ resourceInputs["endpoint"] = undefined /*out*/;
51
+ resourceInputs["organizationId"] = undefined /*out*/;
52
+ resourceInputs["status"] = undefined /*out*/;
53
+ resourceInputs["updatedAt"] = undefined /*out*/;
54
+ }
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
56
+ super(IotHub.__pulumiType, name, resourceInputs, opts);
57
+ }
58
+ /**
59
+ * Get an existing IotHub 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 IotHub(name, state, Object.assign(Object.assign({}, opts), { id: id }));
69
+ }
70
+ /**
71
+ * Returns true if the given object is an instance of IotHub. 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'] === IotHub.__pulumiType;
79
+ }
80
+ }
81
+ exports.IotHub = IotHub;
82
+ /** @internal */
83
+ IotHub.__pulumiType = 'scaleway:index/iotHub:IotHub';
84
+ //# sourceMappingURL=iotHub.js.map
package/iotHub.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotHub.js","sourceRoot":"","sources":["../iotHub.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAyG7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,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work extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing IotNetwork 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?: IotNetworkState, opts?: pulumi.CustomResourceOptions): IotNetwork;
13
+ /**
14
+ * Returns true if the given object is an instance of IotNetwork. 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 IotNetwork;
18
+ /**
19
+ * The date and time of the creation of the network
20
+ */
21
+ readonly createdAt: pulumi.Output<string>;
22
+ /**
23
+ * The endpoint to use when interacting with the network
24
+ */
25
+ readonly endpoint: pulumi.Output<string>;
26
+ /**
27
+ * The ID of the hub on which this network will be created
28
+ */
29
+ readonly hubId: pulumi.Output<string>;
30
+ /**
31
+ * The name of the network
32
+ */
33
+ readonly name: pulumi.Output<string>;
34
+ /**
35
+ * The endpoint key to keep secret
36
+ */
37
+ readonly secret: pulumi.Output<string>;
38
+ /**
39
+ * The prefix that will be prepended to all topics for this Network
40
+ */
41
+ readonly topicPrefix: pulumi.Output<string | undefined>;
42
+ /**
43
+ * The type of the network
44
+ */
45
+ readonly type: pulumi.Output<string>;
46
+ /**
47
+ * Create a IotNetwork 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: IotNetworkArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * Input properties used for looking up and filtering IotNetwork resources.
57
+ */
58
+ export interface IotNetworkState {
59
+ /**
60
+ * The date and time of the creation of the network
61
+ */
62
+ createdAt?: pulumi.Input<string>;
63
+ /**
64
+ * The endpoint to use when interacting with the network
65
+ */
66
+ endpoint?: pulumi.Input<string>;
67
+ /**
68
+ * The ID of the hub on which this network will be created
69
+ */
70
+ hubId?: pulumi.Input<string>;
71
+ /**
72
+ * The name of the network
73
+ */
74
+ name?: pulumi.Input<string>;
75
+ /**
76
+ * The endpoint key to keep secret
77
+ */
78
+ secret?: pulumi.Input<string>;
79
+ /**
80
+ * The prefix that will be prepended to all topics for this Network
81
+ */
82
+ topicPrefix?: pulumi.Input<string>;
83
+ /**
84
+ * The type of the network
85
+ */
86
+ type?: pulumi.Input<string>;
87
+ }
88
+ /**
89
+ * The set of arguments for constructing a IotNetwork resource.
90
+ */
91
+ export interface IotNetworkArgs {
92
+ /**
93
+ * The ID of the hub on which this network will be created
94
+ */
95
+ hubId: pulumi.Input<string>;
96
+ /**
97
+ * The name of the network
98
+ */
99
+ name?: pulumi.Input<string>;
100
+ /**
101
+ * The prefix that will be prepended to all topics for this Network
102
+ */
103
+ topicPrefix?: pulumi.Input<string>;
104
+ /**
105
+ * The type of the network
106
+ */
107
+ type: pulumi.Input<string>;
108
+ }
package/iotNetwork.js ADDED
@@ -0,0 +1,67 @@
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.IotNetwork = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class IotNetwork extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
15
+ resourceInputs["endpoint"] = state ? state.endpoint : undefined;
16
+ resourceInputs["hubId"] = state ? state.hubId : undefined;
17
+ resourceInputs["name"] = state ? state.name : undefined;
18
+ resourceInputs["secret"] = state ? state.secret : undefined;
19
+ resourceInputs["topicPrefix"] = state ? state.topicPrefix : undefined;
20
+ resourceInputs["type"] = state ? state.type : undefined;
21
+ }
22
+ else {
23
+ const args = argsOrState;
24
+ if ((!args || args.hubId === undefined) && !opts.urn) {
25
+ throw new Error("Missing required property 'hubId'");
26
+ }
27
+ if ((!args || args.type === undefined) && !opts.urn) {
28
+ throw new Error("Missing required property 'type'");
29
+ }
30
+ resourceInputs["hubId"] = args ? args.hubId : undefined;
31
+ resourceInputs["name"] = args ? args.name : undefined;
32
+ resourceInputs["topicPrefix"] = args ? args.topicPrefix : undefined;
33
+ resourceInputs["type"] = args ? args.type : undefined;
34
+ resourceInputs["createdAt"] = undefined /*out*/;
35
+ resourceInputs["endpoint"] = undefined /*out*/;
36
+ resourceInputs["secret"] = undefined /*out*/;
37
+ }
38
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
39
+ super(IotNetwork.__pulumiType, name, resourceInputs, opts);
40
+ }
41
+ /**
42
+ * Get an existing IotNetwork resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new IotNetwork(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of IotNetwork. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === IotNetwork.__pulumiType;
62
+ }
63
+ }
64
+ exports.IotNetwork = IotNetwork;
65
+ /** @internal */
66
+ IotNetwork.__pulumiType = 'scaleway:index/iotNetwork:IotNetwork';
67
+ //# sourceMappingURL=iotNetwork.js.map
@@ -0,0 +1 @@
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O,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAgGC;AAlFG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
package/iotRoute.d.ts ADDED
@@ -0,0 +1,129 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ export declare class IotRoute extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing IotRoute 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?: IotRouteState, opts?: pulumi.CustomResourceOptions): IotRoute;
14
+ /**
15
+ * Returns true if the given object is an instance of IotRoute. 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 IotRoute;
19
+ /**
20
+ * The date and time of the creation of the IoT Route
21
+ */
22
+ readonly createdAt: pulumi.Output<string>;
23
+ /**
24
+ * Database Route parameters
25
+ */
26
+ readonly database: pulumi.Output<outputs.IotRouteDatabase | undefined>;
27
+ /**
28
+ * The ID of the route's hub
29
+ */
30
+ readonly hubId: pulumi.Output<string>;
31
+ /**
32
+ * The name of the route
33
+ */
34
+ readonly name: pulumi.Output<string>;
35
+ /**
36
+ * The region you want to attach the resource to
37
+ */
38
+ readonly region: pulumi.Output<string>;
39
+ /**
40
+ * Rest Route parameters
41
+ */
42
+ readonly rest: pulumi.Output<outputs.IotRouteRest | undefined>;
43
+ /**
44
+ * S3 Route parameters
45
+ */
46
+ readonly s3: pulumi.Output<outputs.IotRouteS3 | undefined>;
47
+ /**
48
+ * The Topic the route subscribes to (wildcards allowed)
49
+ */
50
+ readonly topic: pulumi.Output<string>;
51
+ /**
52
+ * Create a IotRoute resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args: IotRouteArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering IotRoute resources.
62
+ */
63
+ export interface IotRouteState {
64
+ /**
65
+ * The date and time of the creation of the IoT Route
66
+ */
67
+ createdAt?: pulumi.Input<string>;
68
+ /**
69
+ * Database Route parameters
70
+ */
71
+ database?: pulumi.Input<inputs.IotRouteDatabase>;
72
+ /**
73
+ * The ID of the route's hub
74
+ */
75
+ hubId?: pulumi.Input<string>;
76
+ /**
77
+ * The name of the route
78
+ */
79
+ name?: pulumi.Input<string>;
80
+ /**
81
+ * The region you want to attach the resource to
82
+ */
83
+ region?: pulumi.Input<string>;
84
+ /**
85
+ * Rest Route parameters
86
+ */
87
+ rest?: pulumi.Input<inputs.IotRouteRest>;
88
+ /**
89
+ * S3 Route parameters
90
+ */
91
+ s3?: pulumi.Input<inputs.IotRouteS3>;
92
+ /**
93
+ * The Topic the route subscribes to (wildcards allowed)
94
+ */
95
+ topic?: pulumi.Input<string>;
96
+ }
97
+ /**
98
+ * The set of arguments for constructing a IotRoute resource.
99
+ */
100
+ export interface IotRouteArgs {
101
+ /**
102
+ * Database Route parameters
103
+ */
104
+ database?: pulumi.Input<inputs.IotRouteDatabase>;
105
+ /**
106
+ * The ID of the route's hub
107
+ */
108
+ hubId: pulumi.Input<string>;
109
+ /**
110
+ * The name of the route
111
+ */
112
+ name?: pulumi.Input<string>;
113
+ /**
114
+ * The region you want to attach the resource to
115
+ */
116
+ region?: pulumi.Input<string>;
117
+ /**
118
+ * Rest Route parameters
119
+ */
120
+ rest?: pulumi.Input<inputs.IotRouteRest>;
121
+ /**
122
+ * S3 Route parameters
123
+ */
124
+ s3?: pulumi.Input<inputs.IotRouteS3>;
125
+ /**
126
+ * The Topic the route subscribes to (wildcards allowed)
127
+ */
128
+ topic: pulumi.Input<string>;
129
+ }