@pulumiverse/scaleway 1.13.0 → 1.15.0

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 (294) hide show
  1. package/{appleSliconValleyServer.d.ts → appleSiliconServer.d.ts} +18 -18
  2. package/{appleSliconValleyServer.js → appleSiliconServer.js} +14 -14
  3. package/appleSiliconServer.js.map +1 -0
  4. package/baremetalServer.d.ts +7 -7
  5. package/baremetalServer.js +1 -1
  6. package/blockSnapshot.d.ts +5 -1
  7. package/blockSnapshot.js +5 -1
  8. package/blockSnapshot.js.map +1 -1
  9. package/blockVolume.d.ts +19 -0
  10. package/blockVolume.js +19 -0
  11. package/blockVolume.js.map +1 -1
  12. package/cockpitAlertManager.d.ts +109 -0
  13. package/cockpitAlertManager.js +72 -0
  14. package/cockpitAlertManager.js.map +1 -0
  15. package/container.d.ts +12 -0
  16. package/container.js +2 -0
  17. package/container.js.map +1 -1
  18. package/database.d.ts +17 -9
  19. package/database.js +11 -3
  20. package/database.js.map +1 -1
  21. package/databaseAcl.d.ts +14 -6
  22. package/databaseAcl.js +11 -3
  23. package/databaseAcl.js.map +1 -1
  24. package/databaseBackup.d.ts +21 -12
  25. package/databaseBackup.js +15 -6
  26. package/databaseBackup.js.map +1 -1
  27. package/databaseInstance.d.ts +73 -58
  28. package/databaseInstance.js +30 -12
  29. package/databaseInstance.js.map +1 -1
  30. package/databasePrivilege.d.ts +5 -5
  31. package/databasePrivilege.js +2 -2
  32. package/databaseReadReplica.d.ts +12 -12
  33. package/databaseReadReplica.js +3 -3
  34. package/databaseUser.d.ts +30 -22
  35. package/databaseUser.js +12 -4
  36. package/databaseUser.js.map +1 -1
  37. package/documentdbDatabase.d.ts +11 -4
  38. package/documentdbDatabase.js +8 -1
  39. package/documentdbDatabase.js.map +1 -1
  40. package/documentdbPrivateNetworkEndpoint.d.ts +51 -75
  41. package/documentdbPrivateNetworkEndpoint.js +27 -17
  42. package/documentdbPrivateNetworkEndpoint.js.map +1 -1
  43. package/documentdbPrivilege.d.ts +9 -2
  44. package/documentdbPrivilege.js +9 -2
  45. package/documentdbPrivilege.js.map +1 -1
  46. package/documentdbReadReplica.d.ts +8 -1
  47. package/documentdbReadReplica.js +8 -1
  48. package/documentdbReadReplica.js.map +1 -1
  49. package/documentdbUser.d.ts +8 -1
  50. package/documentdbUser.js +8 -1
  51. package/documentdbUser.js.map +1 -1
  52. package/domainRecord.d.ts +3 -3
  53. package/function.d.ts +15 -12
  54. package/function.js +2 -0
  55. package/function.js.map +1 -1
  56. package/functionTrigger.d.ts +16 -0
  57. package/functionTrigger.js +16 -0
  58. package/functionTrigger.js.map +1 -1
  59. package/getAccountSshKey.d.ts +8 -4
  60. package/getAccountSshKey.js.map +1 -1
  61. package/getBillingConsumptions.d.ts +21 -0
  62. package/getBillingConsumptions.js +6 -0
  63. package/getBillingConsumptions.js.map +1 -1
  64. package/getBillingInvoices.d.ts +2 -2
  65. package/getBillingInvoices.js +2 -2
  66. package/getBlockSnapshot.d.ts +58 -0
  67. package/getBlockSnapshot.js +28 -0
  68. package/getBlockSnapshot.js.map +1 -1
  69. package/getConfig.d.ts +22 -0
  70. package/getConfig.js +17 -0
  71. package/getConfig.js.map +1 -0
  72. package/getContainer.d.ts +4 -0
  73. package/getContainer.js.map +1 -1
  74. package/getDatabase.d.ts +2 -2
  75. package/getDatabase.js +2 -2
  76. package/getDatabaseAcl.d.ts +2 -2
  77. package/getDatabaseAcl.js +2 -2
  78. package/getDatabaseBackup.d.ts +8 -8
  79. package/getDatabaseInstance.d.ts +14 -10
  80. package/getDatabaseInstance.js +6 -2
  81. package/getDatabaseInstance.js.map +1 -1
  82. package/getDatabasePrivilege.d.ts +4 -4
  83. package/getDatabasePrivilege.js +2 -2
  84. package/getFunction.d.ts +1 -0
  85. package/getFunction.js.map +1 -1
  86. package/getIamApiKey.d.ts +68 -0
  87. package/getIamApiKey.js +47 -0
  88. package/getIamApiKey.js.map +1 -0
  89. package/getIamApplication.d.ts +6 -6
  90. package/getIamGroup.d.ts +10 -8
  91. package/getIamGroup.js +6 -4
  92. package/getIamGroup.js.map +1 -1
  93. package/getIamSshKey.d.ts +8 -4
  94. package/getIamSshKey.js.map +1 -1
  95. package/getIamUser.d.ts +10 -8
  96. package/getIamUser.js +2 -4
  97. package/getIamUser.js.map +1 -1
  98. package/getIpamIp.d.ts +19 -15
  99. package/getIpamIp.js +8 -4
  100. package/getIpamIp.js.map +1 -1
  101. package/getIpamIps.d.ts +25 -21
  102. package/getIpamIps.js +6 -2
  103. package/getIpamIps.js.map +1 -1
  104. package/getLbAcls.d.ts +13 -9
  105. package/getLbAcls.js +4 -0
  106. package/getLbAcls.js.map +1 -1
  107. package/getLbBackend.d.ts +12 -10
  108. package/getLbBackend.js +6 -4
  109. package/getLbBackend.js.map +1 -1
  110. package/getLbBackends.d.ts +9 -5
  111. package/getLbBackends.js +4 -0
  112. package/getLbBackends.js.map +1 -1
  113. package/getLbFrontend.d.ts +10 -8
  114. package/getLbFrontend.js +6 -4
  115. package/getLbFrontend.js.map +1 -1
  116. package/getLbFrontends.d.ts +13 -9
  117. package/getLbFrontends.js +6 -2
  118. package/getLbFrontends.js.map +1 -1
  119. package/getLbIps.d.ts +42 -12
  120. package/getLbIps.js +16 -2
  121. package/getLbIps.js.map +1 -1
  122. package/getLbRoute.d.ts +8 -6
  123. package/getLbRoute.js +6 -4
  124. package/getLbRoute.js.map +1 -1
  125. package/getLbRoutes.d.ts +11 -7
  126. package/getLbRoutes.js +6 -2
  127. package/getLbRoutes.js.map +1 -1
  128. package/getLbs.d.ts +18 -14
  129. package/getLbs.js +4 -0
  130. package/getLbs.js.map +1 -1
  131. package/getLoadbalancer.d.ts +14 -10
  132. package/getLoadbalancer.js +4 -0
  133. package/getLoadbalancer.js.map +1 -1
  134. package/getLoadbalancerCertificate.d.ts +12 -12
  135. package/getLoadbalancerCertificate.js +6 -6
  136. package/getLoadbalancerIp.d.ts +14 -6
  137. package/getLoadbalancerIp.js +6 -2
  138. package/getLoadbalancerIp.js.map +1 -1
  139. package/getMarketplaceImage.d.ts +2 -2
  140. package/getMnqSqs.d.ts +7 -7
  141. package/getMnqSqs.js +2 -2
  142. package/getRedisCluster.d.ts +52 -6
  143. package/getRedisCluster.js +6 -2
  144. package/getRedisCluster.js.map +1 -1
  145. package/getRegistryImage.d.ts +6 -6
  146. package/getRegistryImage.js +2 -2
  147. package/getRegistryNamespace.d.ts +4 -4
  148. package/getVpc.d.ts +11 -10
  149. package/getVpc.js.map +1 -1
  150. package/getVpcGatewayNetwork.d.ts +4 -32
  151. package/getVpcGatewayNetwork.js +2 -2
  152. package/getVpcGatewayNetwork.js.map +1 -1
  153. package/getVpcPrivateNetwork.d.ts +12 -12
  154. package/getVpcPrivateNetwork.js +2 -2
  155. package/getVpcPublicGateway.d.ts +9 -10
  156. package/getVpcPublicGateway.js +2 -2
  157. package/getVpcPublicGatewayDhcp.d.ts +2 -2
  158. package/getVpcPublicGatewayDhcp.js +2 -2
  159. package/getVpcPublicGatewayDhcpReservation.d.ts +12 -12
  160. package/getVpcPublicGatewayDhcpReservation.js +6 -6
  161. package/getVpcPublicGatewayIp.d.ts +4 -4
  162. package/getVpcPublicGatewayIp.js +4 -4
  163. package/getVpcPublicPatRule.d.ts +11 -11
  164. package/getVpcPublicPatRule.js +4 -4
  165. package/getVpcRoutes.d.ts +96 -0
  166. package/getVpcRoutes.js +32 -0
  167. package/getVpcRoutes.js.map +1 -0
  168. package/getVpcs.d.ts +11 -11
  169. package/iamApiKey.d.ts +44 -33
  170. package/iamApiKey.js +16 -2
  171. package/iamApiKey.js.map +1 -1
  172. package/iamApplication.d.ts +1 -1
  173. package/iamApplication.js +1 -1
  174. package/iamGroup.d.ts +1 -1
  175. package/iamGroup.js +1 -1
  176. package/iamGroupMembership.d.ts +4 -4
  177. package/iamGroupMembership.js +1 -1
  178. package/iamPolicy.d.ts +22 -22
  179. package/iamPolicy.js +1 -1
  180. package/iamSshKey.d.ts +1 -2
  181. package/iamSshKey.js +1 -2
  182. package/iamSshKey.js.map +1 -1
  183. package/iamUser.d.ts +10 -10
  184. package/index.d.ts +15 -3
  185. package/index.js +25 -11
  186. package/index.js.map +1 -1
  187. package/instanceImage.d.ts +1 -1
  188. package/instanceImage.js +1 -1
  189. package/instanceIp.d.ts +1 -1
  190. package/instanceIp.js +1 -1
  191. package/instanceIpReverseDns.d.ts +1 -1
  192. package/instanceIpReverseDns.js +1 -1
  193. package/instancePlacementGroup.d.ts +7 -7
  194. package/instancePlacementGroup.js +1 -1
  195. package/instancePrivateNic.d.ts +1 -1
  196. package/instancePrivateNic.js +1 -1
  197. package/instanceSecurityGroupRules.d.ts +1 -1
  198. package/instanceSecurityGroupRules.js +1 -1
  199. package/instanceServer.d.ts +19 -19
  200. package/instanceServer.js +1 -1
  201. package/instanceSnapshot.d.ts +1 -1
  202. package/instanceSnapshot.js +1 -1
  203. package/instanceUserData.d.ts +2 -2
  204. package/instanceUserData.js +2 -2
  205. package/instanceVolume.d.ts +2 -2
  206. package/instanceVolume.js +2 -2
  207. package/iotHub.d.ts +2 -2
  208. package/ipamIp.d.ts +14 -12
  209. package/ipamIp.js +6 -4
  210. package/ipamIp.js.map +1 -1
  211. package/ipamIpReverseDns.d.ts +4 -2
  212. package/ipamIpReverseDns.js +4 -2
  213. package/ipamIpReverseDns.js.map +1 -1
  214. package/kubernetesCluster.d.ts +19 -22
  215. package/kubernetesCluster.js +19 -22
  216. package/kubernetesCluster.js.map +1 -1
  217. package/kubernetesNodePool.d.ts +3 -3
  218. package/loadbalancer.d.ts +102 -43
  219. package/loadbalancer.js +63 -4
  220. package/loadbalancer.js.map +1 -1
  221. package/loadbalancerAcl.d.ts +10 -8
  222. package/loadbalancerAcl.js +4 -2
  223. package/loadbalancerAcl.js.map +1 -1
  224. package/loadbalancerBackend.d.ts +10 -9
  225. package/loadbalancerBackend.js +4 -3
  226. package/loadbalancerBackend.js.map +1 -1
  227. package/loadbalancerFrontend.d.ts +27 -25
  228. package/loadbalancerFrontend.js +4 -2
  229. package/loadbalancerFrontend.js.map +1 -1
  230. package/loadbalancerIp.d.ts +28 -15
  231. package/loadbalancerIp.js +6 -3
  232. package/loadbalancerIp.js.map +1 -1
  233. package/loadbalancerRoute.d.ts +14 -13
  234. package/loadbalancerRoute.js +4 -3
  235. package/loadbalancerRoute.js.map +1 -1
  236. package/mnqNatsAccount.d.ts +11 -11
  237. package/mnqNatsAccount.js +5 -5
  238. package/mnqNatsCredentials.d.ts +10 -10
  239. package/mnqNatsCredentials.js +4 -4
  240. package/mnqSns.d.ts +15 -15
  241. package/mnqSns.js +7 -7
  242. package/mnqSnsCredentials.d.ts +16 -16
  243. package/mnqSnsCredentials.js +4 -4
  244. package/mnqSnsTopic.d.ts +16 -16
  245. package/mnqSnsTopic.js +4 -4
  246. package/mnqSnsTopicSubscription.d.ts +16 -16
  247. package/mnqSnsTopicSubscription.js +4 -4
  248. package/mnqSqs.d.ts +12 -12
  249. package/mnqSqs.js +4 -4
  250. package/mnqSqsCredentials.d.ts +16 -16
  251. package/mnqSqsCredentials.js +4 -4
  252. package/mnqSqsQueue.d.ts +12 -12
  253. package/mnqSqsQueue.js +3 -3
  254. package/objectBucketAcl.d.ts +3 -3
  255. package/objectBucketLockConfiguration.d.ts +3 -3
  256. package/objectBucketPolicy.d.ts +3 -3
  257. package/objectBucketWebsiteConfiguration.d.ts +3 -3
  258. package/objectItem.d.ts +3 -3
  259. package/package.json +2 -2
  260. package/package.json.dev +1 -1
  261. package/redisCluster.d.ts +68 -68
  262. package/redisCluster.js +4 -4
  263. package/registryNamespace.d.ts +3 -3
  264. package/registryNamespace.js +1 -1
  265. package/sdbDatabase.d.ts +3 -3
  266. package/temDomain.d.ts +4 -4
  267. package/temDomain.js +1 -1
  268. package/temDomainValidation.d.ts +2 -1
  269. package/temDomainValidation.js +2 -1
  270. package/temDomainValidation.js.map +1 -1
  271. package/types/input.d.ts +119 -73
  272. package/types/output.d.ts +275 -173
  273. package/vpc.d.ts +43 -13
  274. package/vpc.js +22 -2
  275. package/vpc.js.map +1 -1
  276. package/vpcGatewayNetwork.d.ts +39 -38
  277. package/vpcGatewayNetwork.js +9 -8
  278. package/vpcGatewayNetwork.js.map +1 -1
  279. package/vpcPrivateNetwork.d.ts +28 -28
  280. package/vpcPrivateNetwork.js +2 -2
  281. package/vpcPublicGateway.d.ts +44 -30
  282. package/vpcPublicGateway.js +7 -3
  283. package/vpcPublicGateway.js.map +1 -1
  284. package/vpcPublicGatewayDhcp.d.ts +26 -26
  285. package/vpcPublicGatewayDhcp.js +2 -2
  286. package/vpcPublicGatewayDhcpReservation.d.ts +19 -19
  287. package/vpcPublicGatewayDhcpReservation.js +5 -5
  288. package/vpcPublicGatewayIp.d.ts +18 -18
  289. package/vpcPublicGatewayIp.js +3 -3
  290. package/vpcPublicGatewayIpReverseDns.d.ts +6 -6
  291. package/vpcPublicGatewayIpReverseDns.js +3 -3
  292. package/vpcPublicGatewayPatRule.d.ts +27 -27
  293. package/vpcPublicGatewayPatRule.js +3 -3
  294. package/appleSliconValleyServer.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates and manages Scaleway Apple silicon M1. For more information,
4
- * see [the documentation](https://www.scaleway.com/en/docs/compute/apple-silicon/concepts).
3
+ * Creates and manages Scaleway Apple silicon. For more information,
4
+ * see [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
5
5
  *
6
6
  * ## Example Usage
7
7
  *
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as scaleway from "@pulumiverse/scaleway";
13
13
  *
14
- * const server = new scaleway.AppleSliconValleyServer("server", {type: "M1-M"});
14
+ * const server = new scaleway.AppleSiliconServer("server", {type: "M1-M"});
15
15
  * ```
16
16
  *
17
17
  * ## Import
@@ -21,12 +21,12 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * bash
22
22
  *
23
23
  * ```sh
24
- * $ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer main fr-par-1/11111111-1111-1111-1111-111111111111
24
+ * $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111
25
25
  * ```
26
26
  */
27
- export declare class AppleSliconValleyServer extends pulumi.CustomResource {
27
+ export declare class AppleSiliconServer extends pulumi.CustomResource {
28
28
  /**
29
- * Get an existing AppleSliconValleyServer resource's state with the given name, ID, and optional extra
29
+ * Get an existing AppleSiliconServer resource's state with the given name, ID, and optional extra
30
30
  * properties used to qualify the lookup.
31
31
  *
32
32
  * @param name The _unique_ name of the resulting resource.
@@ -34,12 +34,12 @@ export declare class AppleSliconValleyServer extends pulumi.CustomResource {
34
34
  * @param state Any extra arguments used during the lookup.
35
35
  * @param opts Optional settings to control the behavior of the CustomResource.
36
36
  */
37
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppleSliconValleyServerState, opts?: pulumi.CustomResourceOptions): AppleSliconValleyServer;
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppleSiliconServerState, opts?: pulumi.CustomResourceOptions): AppleSiliconServer;
38
38
  /**
39
- * Returns true if the given object is an instance of AppleSliconValleyServer. This is designed to work even
39
+ * Returns true if the given object is an instance of AppleSiliconServer. This is designed to work even
40
40
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
41
  */
42
- static isInstance(obj: any): obj is AppleSliconValleyServer;
42
+ static isInstance(obj: any): obj is AppleSiliconServer;
43
43
  /**
44
44
  * The date and time of the creation of the Apple Silicon server.
45
45
  */
@@ -71,7 +71,7 @@ export declare class AppleSliconValleyServer extends pulumi.CustomResource {
71
71
  readonly state: pulumi.Output<string>;
72
72
  /**
73
73
  * The commercial type of the server. You find all the available types on
74
- * the [pricing page](https://www.scaleway.com/en/pricing/#apple-silicon). Updates to this field will recreate a new
74
+ * the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new
75
75
  * resource.
76
76
  */
77
77
  readonly type: pulumi.Output<string>;
@@ -89,18 +89,18 @@ export declare class AppleSliconValleyServer extends pulumi.CustomResource {
89
89
  */
90
90
  readonly zone: pulumi.Output<string>;
91
91
  /**
92
- * Create a AppleSliconValleyServer resource with the given unique name, arguments, and options.
92
+ * Create a AppleSiliconServer resource with the given unique name, arguments, and options.
93
93
  *
94
94
  * @param name The _unique_ name of the resource.
95
95
  * @param args The arguments to use to populate this resource's properties.
96
96
  * @param opts A bag of options that control this resource's behavior.
97
97
  */
98
- constructor(name: string, args: AppleSliconValleyServerArgs, opts?: pulumi.CustomResourceOptions);
98
+ constructor(name: string, args: AppleSiliconServerArgs, opts?: pulumi.CustomResourceOptions);
99
99
  }
100
100
  /**
101
- * Input properties used for looking up and filtering AppleSliconValleyServer resources.
101
+ * Input properties used for looking up and filtering AppleSiliconServer resources.
102
102
  */
103
- export interface AppleSliconValleyServerState {
103
+ export interface AppleSiliconServerState {
104
104
  /**
105
105
  * The date and time of the creation of the Apple Silicon server.
106
106
  */
@@ -132,7 +132,7 @@ export interface AppleSliconValleyServerState {
132
132
  state?: pulumi.Input<string>;
133
133
  /**
134
134
  * The commercial type of the server. You find all the available types on
135
- * the [pricing page](https://www.scaleway.com/en/pricing/#apple-silicon). Updates to this field will recreate a new
135
+ * the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new
136
136
  * resource.
137
137
  */
138
138
  type?: pulumi.Input<string>;
@@ -151,9 +151,9 @@ export interface AppleSliconValleyServerState {
151
151
  zone?: pulumi.Input<string>;
152
152
  }
153
153
  /**
154
- * The set of arguments for constructing a AppleSliconValleyServer resource.
154
+ * The set of arguments for constructing a AppleSiliconServer resource.
155
155
  */
156
- export interface AppleSliconValleyServerArgs {
156
+ export interface AppleSiliconServerArgs {
157
157
  /**
158
158
  * The name of the server.
159
159
  */
@@ -165,7 +165,7 @@ export interface AppleSliconValleyServerArgs {
165
165
  projectId?: pulumi.Input<string>;
166
166
  /**
167
167
  * The commercial type of the server. You find all the available types on
168
- * the [pricing page](https://www.scaleway.com/en/pricing/#apple-silicon). Updates to this field will recreate a new
168
+ * the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new
169
169
  * resource.
170
170
  */
171
171
  type: pulumi.Input<string>;
@@ -2,12 +2,12 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AppleSliconValleyServer = void 0;
5
+ exports.AppleSiliconServer = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Apple silicon M1. For more information,
10
- * see [the documentation](https://www.scaleway.com/en/docs/compute/apple-silicon/concepts).
9
+ * Creates and manages Scaleway Apple silicon. For more information,
10
+ * see [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
11
11
  *
12
12
  * ## Example Usage
13
13
  *
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * import * as pulumi from "@pulumi/pulumi";
18
18
  * import * as scaleway from "@pulumiverse/scaleway";
19
19
  *
20
- * const server = new scaleway.AppleSliconValleyServer("server", {type: "M1-M"});
20
+ * const server = new scaleway.AppleSiliconServer("server", {type: "M1-M"});
21
21
  * ```
22
22
  *
23
23
  * ## Import
@@ -27,12 +27,12 @@ const utilities = require("./utilities");
27
27
  * bash
28
28
  *
29
29
  * ```sh
30
- * $ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer main fr-par-1/11111111-1111-1111-1111-111111111111
30
+ * $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111
31
31
  * ```
32
32
  */
33
- class AppleSliconValleyServer extends pulumi.CustomResource {
33
+ class AppleSiliconServer extends pulumi.CustomResource {
34
34
  /**
35
- * Get an existing AppleSliconValleyServer resource's state with the given name, ID, and optional extra
35
+ * Get an existing AppleSiliconServer resource's state with the given name, ID, and optional extra
36
36
  * properties used to qualify the lookup.
37
37
  *
38
38
  * @param name The _unique_ name of the resulting resource.
@@ -41,17 +41,17 @@ class AppleSliconValleyServer extends pulumi.CustomResource {
41
41
  * @param opts Optional settings to control the behavior of the CustomResource.
42
42
  */
43
43
  static get(name, id, state, opts) {
44
- return new AppleSliconValleyServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ return new AppleSiliconServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
45
  }
46
46
  /**
47
- * Returns true if the given object is an instance of AppleSliconValleyServer. This is designed to work even
47
+ * Returns true if the given object is an instance of AppleSiliconServer. This is designed to work even
48
48
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
49
  */
50
50
  static isInstance(obj) {
51
51
  if (obj === undefined || obj === null) {
52
52
  return false;
53
53
  }
54
- return obj['__pulumiType'] === AppleSliconValleyServer.__pulumiType;
54
+ return obj['__pulumiType'] === AppleSiliconServer.__pulumiType;
55
55
  }
56
56
  constructor(name, argsOrState, opts) {
57
57
  let resourceInputs = {};
@@ -88,10 +88,10 @@ class AppleSliconValleyServer extends pulumi.CustomResource {
88
88
  resourceInputs["vncUrl"] = undefined /*out*/;
89
89
  }
90
90
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
- super(AppleSliconValleyServer.__pulumiType, name, resourceInputs, opts);
91
+ super(AppleSiliconServer.__pulumiType, name, resourceInputs, opts);
92
92
  }
93
93
  }
94
- exports.AppleSliconValleyServer = AppleSliconValleyServer;
94
+ exports.AppleSiliconServer = AppleSiliconServer;
95
95
  /** @internal */
96
- AppleSliconValleyServer.__pulumiType = 'scaleway:index/appleSliconValleyServer:AppleSliconValleyServer';
97
- //# sourceMappingURL=appleSliconValleyServer.js.map
96
+ AppleSiliconServer.__pulumiType = 'scaleway:index/appleSiliconServer:AppleSiliconServer';
97
+ //# sourceMappingURL=appleSilicon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CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzC,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAxHL,gDAyHC;AA3GG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * Creates and manages Scaleway Compute Baremetal servers. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal).
5
+ * Creates and manages Scaleway Compute Baremetal servers. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal/).
6
6
  *
7
7
  * ## Example Usage
8
8
  *
@@ -102,7 +102,7 @@ export declare class BaremetalServer extends pulumi.CustomResource {
102
102
  readonly name: pulumi.Output<string>;
103
103
  /**
104
104
  * The offer name or UUID of the baremetal server.
105
- * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-334154) to find the right offer.
105
+ * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
106
106
  *
107
107
  * > **Important:** Updates to `offer` will recreate the server.
108
108
  */
@@ -126,7 +126,7 @@ export declare class BaremetalServer extends pulumi.CustomResource {
126
126
  readonly organizationId: pulumi.Output<string>;
127
127
  /**
128
128
  * The UUID of the os to install on the server.
129
- * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-87598a) to find the right OS ID.
129
+ * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
130
130
  * > **Important:** Updates to `os` will reinstall the server.
131
131
  */
132
132
  readonly os: pulumi.Output<string | undefined>;
@@ -222,7 +222,7 @@ export interface BaremetalServerState {
222
222
  name?: pulumi.Input<string>;
223
223
  /**
224
224
  * The offer name or UUID of the baremetal server.
225
- * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-334154) to find the right offer.
225
+ * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
226
226
  *
227
227
  * > **Important:** Updates to `offer` will recreate the server.
228
228
  */
@@ -246,7 +246,7 @@ export interface BaremetalServerState {
246
246
  organizationId?: pulumi.Input<string>;
247
247
  /**
248
248
  * The UUID of the os to install on the server.
249
- * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-87598a) to find the right OS ID.
249
+ * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
250
250
  * > **Important:** Updates to `os` will reinstall the server.
251
251
  */
252
252
  os?: pulumi.Input<string>;
@@ -318,7 +318,7 @@ export interface BaremetalServerArgs {
318
318
  name?: pulumi.Input<string>;
319
319
  /**
320
320
  * The offer name or UUID of the baremetal server.
321
- * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-334154) to find the right offer.
321
+ * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
322
322
  *
323
323
  * > **Important:** Updates to `offer` will recreate the server.
324
324
  */
@@ -330,7 +330,7 @@ export interface BaremetalServerArgs {
330
330
  options?: pulumi.Input<pulumi.Input<inputs.BaremetalServerOption>[]>;
331
331
  /**
332
332
  * The UUID of the os to install on the server.
333
- * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-87598a) to find the right OS ID.
333
+ * Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
334
334
  * > **Important:** Updates to `os` will reinstall the server.
335
335
  */
336
336
  os?: pulumi.Input<string>;
@@ -6,7 +6,7 @@ exports.BaremetalServer = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Compute Baremetal servers. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal).
9
+ * Creates and manages Scaleway Compute Baremetal servers. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal/).
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -9,7 +9,11 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as scaleway from "@pulumiverse/scaleway";
11
11
  *
12
- * const blockSnapshot = new scaleway.BlockSnapshot("blockSnapshot", {volumeId: "11111111-1111-1111-1111-111111111111"});
12
+ * const blockVolume = new scaleway.BlockVolume("blockVolume", {
13
+ * iops: 5000,
14
+ * sizeInGb: 20,
15
+ * });
16
+ * const blockSnapshot = new scaleway.BlockSnapshot("blockSnapshot", {volumeId: blockVolume.id});
13
17
  * ```
14
18
  *
15
19
  * ## Import
package/blockSnapshot.js CHANGED
@@ -15,7 +15,11 @@ const utilities = require("./utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as scaleway from "@pulumiverse/scaleway";
17
17
  *
18
- * const blockSnapshot = new scaleway.BlockSnapshot("blockSnapshot", {volumeId: "11111111-1111-1111-1111-111111111111"});
18
+ * const blockVolume = new scaleway.BlockVolume("blockVolume", {
19
+ * iops: 5000,
20
+ * sizeInGb: 20,
21
+ * });
22
+ * const blockSnapshot = new scaleway.BlockSnapshot("blockSnapshot", {volumeId: blockVolume.id});
19
23
  * ```
20
24
  *
21
25
  * ## Import
@@ -1 +1 @@
1
- {"version":3,"file":"blockSnapshot.js","sourceRoot":"","sources":["../blockSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAhFL,sCAiFC;AAnEG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
package/blockVolume.d.ts CHANGED
@@ -5,6 +5,8 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
+ * ### Basic
9
+ *
8
10
  * ```typescript
9
11
  * import * as pulumi from "@pulumi/pulumi";
10
12
  * import * as scaleway from "@pulumiverse/scaleway";
@@ -15,6 +17,23 @@ import * as pulumi from "@pulumi/pulumi";
15
17
  * });
16
18
  * ```
17
19
  *
20
+ * ### With snapshot
21
+ *
22
+ * ```typescript
23
+ * import * as pulumi from "@pulumi/pulumi";
24
+ * import * as scaleway from "@pulumiverse/scaleway";
25
+ *
26
+ * const base = new scaleway.BlockVolume("base", {
27
+ * iops: 5000,
28
+ * sizeInGb: 20,
29
+ * });
30
+ * const mainBlockSnapshot = new scaleway.BlockSnapshot("mainBlockSnapshot", {volumeId: base.id});
31
+ * const mainBlockVolume = new scaleway.BlockVolume("mainBlockVolume", {
32
+ * iops: 5000,
33
+ * snapshotId: mainBlockSnapshot.id,
34
+ * });
35
+ * ```
36
+ *
18
37
  * ## Import
19
38
  *
20
39
  * Block Volumes can be imported using the `{zone}/{id}`, e.g.
package/blockVolume.js CHANGED
@@ -11,6 +11,8 @@ const utilities = require("./utilities");
11
11
  *
12
12
  * ## Example Usage
13
13
  *
14
+ * ### Basic
15
+ *
14
16
  * ```typescript
15
17
  * import * as pulumi from "@pulumi/pulumi";
16
18
  * import * as scaleway from "@pulumiverse/scaleway";
@@ -21,6 +23,23 @@ const utilities = require("./utilities");
21
23
  * });
22
24
  * ```
23
25
  *
26
+ * ### With snapshot
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as scaleway from "@pulumiverse/scaleway";
31
+ *
32
+ * const base = new scaleway.BlockVolume("base", {
33
+ * iops: 5000,
34
+ * sizeInGb: 20,
35
+ * });
36
+ * const mainBlockSnapshot = new scaleway.BlockSnapshot("mainBlockSnapshot", {volumeId: base.id});
37
+ * const mainBlockVolume = new scaleway.BlockVolume("mainBlockVolume", {
38
+ * iops: 5000,
39
+ * snapshotId: mainBlockSnapshot.id,
40
+ * });
41
+ * ```
42
+ *
24
43
  * ## Import
25
44
  *
26
45
  * Block Volumes can be imported using the `{zone}/{id}`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"blockVolume.js","sourceRoot":"","sources":["../blockVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QAC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B;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Creates and manages Scaleway Cockpit Alert Managers.
6
+ *
7
+ * For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users).
8
+ *
9
+ * ## Import
10
+ *
11
+ * Alert managers can be imported using the project ID, e.g.
12
+ *
13
+ * bash
14
+ *
15
+ * ```sh
16
+ * $ pulumi import scaleway:index/cockpitAlertManager:CockpitAlertManager main fr-par/11111111-1111-1111-1111-111111111111
17
+ * ```
18
+ */
19
+ export declare class CockpitAlertManager extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing CockpitAlertManager resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param state Any extra arguments used during the lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CockpitAlertManagerState, opts?: pulumi.CustomResourceOptions): CockpitAlertManager;
30
+ /**
31
+ * Returns true if the given object is an instance of CockpitAlertManager. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj: any): obj is CockpitAlertManager;
35
+ /**
36
+ * Alert manager URL.
37
+ */
38
+ readonly alertManagerUrl: pulumi.Output<string>;
39
+ /**
40
+ * A list of contact points with email addresses for the alert receivers. Each map should contain a single key email.
41
+ */
42
+ readonly contactPoints: pulumi.Output<outputs.CockpitAlertManagerContactPoint[] | undefined>;
43
+ /**
44
+ * Indicates whether the alert manager should be enabled. Defaults to true.
45
+ */
46
+ readonly enableManagedAlerts: pulumi.Output<boolean | undefined>;
47
+ /**
48
+ * `projectId`) The ID of the project the cockpit is associated with.
49
+ */
50
+ readonly projectId: pulumi.Output<string>;
51
+ /**
52
+ * `region`) The region in which alertManager should be created.
53
+ */
54
+ readonly region: pulumi.Output<string>;
55
+ /**
56
+ * Create a CockpitAlertManager resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name: string, args?: CockpitAlertManagerArgs, opts?: pulumi.CustomResourceOptions);
63
+ }
64
+ /**
65
+ * Input properties used for looking up and filtering CockpitAlertManager resources.
66
+ */
67
+ export interface CockpitAlertManagerState {
68
+ /**
69
+ * Alert manager URL.
70
+ */
71
+ alertManagerUrl?: pulumi.Input<string>;
72
+ /**
73
+ * A list of contact points with email addresses for the alert receivers. Each map should contain a single key email.
74
+ */
75
+ contactPoints?: pulumi.Input<pulumi.Input<inputs.CockpitAlertManagerContactPoint>[]>;
76
+ /**
77
+ * Indicates whether the alert manager should be enabled. Defaults to true.
78
+ */
79
+ enableManagedAlerts?: pulumi.Input<boolean>;
80
+ /**
81
+ * `projectId`) The ID of the project the cockpit is associated with.
82
+ */
83
+ projectId?: pulumi.Input<string>;
84
+ /**
85
+ * `region`) The region in which alertManager should be created.
86
+ */
87
+ region?: pulumi.Input<string>;
88
+ }
89
+ /**
90
+ * The set of arguments for constructing a CockpitAlertManager resource.
91
+ */
92
+ export interface CockpitAlertManagerArgs {
93
+ /**
94
+ * A list of contact points with email addresses for the alert receivers. Each map should contain a single key email.
95
+ */
96
+ contactPoints?: pulumi.Input<pulumi.Input<inputs.CockpitAlertManagerContactPoint>[]>;
97
+ /**
98
+ * Indicates whether the alert manager should be enabled. Defaults to true.
99
+ */
100
+ enableManagedAlerts?: pulumi.Input<boolean>;
101
+ /**
102
+ * `projectId`) The ID of the project the cockpit is associated with.
103
+ */
104
+ projectId?: pulumi.Input<string>;
105
+ /**
106
+ * `region`) The region in which alertManager should be created.
107
+ */
108
+ region?: pulumi.Input<string>;
109
+ }
@@ -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.CockpitAlertManager = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Creates and manages Scaleway Cockpit Alert Managers.
10
+ *
11
+ * For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users).
12
+ *
13
+ * ## Import
14
+ *
15
+ * Alert managers can be imported using the project ID, e.g.
16
+ *
17
+ * bash
18
+ *
19
+ * ```sh
20
+ * $ pulumi import scaleway:index/cockpitAlertManager:CockpitAlertManager main fr-par/11111111-1111-1111-1111-111111111111
21
+ * ```
22
+ */
23
+ class CockpitAlertManager extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing CockpitAlertManager resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name, id, state, opts) {
34
+ return new CockpitAlertManager(name, state, Object.assign(Object.assign({}, opts), { id: id }));
35
+ }
36
+ /**
37
+ * Returns true if the given object is an instance of CockpitAlertManager. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj) {
41
+ if (obj === undefined || obj === null) {
42
+ return false;
43
+ }
44
+ return obj['__pulumiType'] === CockpitAlertManager.__pulumiType;
45
+ }
46
+ constructor(name, argsOrState, opts) {
47
+ let resourceInputs = {};
48
+ opts = opts || {};
49
+ if (opts.id) {
50
+ const state = argsOrState;
51
+ resourceInputs["alertManagerUrl"] = state ? state.alertManagerUrl : undefined;
52
+ resourceInputs["contactPoints"] = state ? state.contactPoints : undefined;
53
+ resourceInputs["enableManagedAlerts"] = state ? state.enableManagedAlerts : undefined;
54
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
55
+ resourceInputs["region"] = state ? state.region : undefined;
56
+ }
57
+ else {
58
+ const args = argsOrState;
59
+ resourceInputs["contactPoints"] = args ? args.contactPoints : undefined;
60
+ resourceInputs["enableManagedAlerts"] = args ? args.enableManagedAlerts : undefined;
61
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
62
+ resourceInputs["region"] = args ? args.region : undefined;
63
+ resourceInputs["alertManagerUrl"] = undefined /*out*/;
64
+ }
65
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
66
+ super(CockpitAlertManager.__pulumiType, name, resourceInputs, opts);
67
+ }
68
+ }
69
+ exports.CockpitAlertManager = CockpitAlertManager;
70
+ /** @internal */
71
+ CockpitAlertManager.__pulumiType = 'scaleway:index/cockpitAlertManager:CockpitAlertManager';
72
+ //# sourceMappingURL=cockpitAlertManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cockpitAlertManager.js","sourceRoot":"","sources":["../cockpitAlertManager.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,C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I,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA7EL,kDA8EC;AAhEG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
package/container.d.ts CHANGED
@@ -188,6 +188,10 @@ export declare class Container extends pulumi.CustomResource {
188
188
  * The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
189
189
  */
190
190
  readonly registrySha256: pulumi.Output<string | undefined>;
191
+ /**
192
+ * Execution environment of the container.
193
+ */
194
+ readonly sandbox: pulumi.Output<string>;
191
195
  /**
192
196
  * The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the container.
193
197
  */
@@ -303,6 +307,10 @@ export interface ContainerState {
303
307
  * The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
304
308
  */
305
309
  registrySha256?: pulumi.Input<string>;
310
+ /**
311
+ * Execution environment of the container.
312
+ */
313
+ sandbox?: pulumi.Input<string>;
306
314
  /**
307
315
  * The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the container.
308
316
  */
@@ -398,6 +406,10 @@ export interface ContainerArgs {
398
406
  * The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
399
407
  */
400
408
  registrySha256?: pulumi.Input<string>;
409
+ /**
410
+ * Execution environment of the container.
411
+ */
412
+ sandbox?: pulumi.Input<string>;
401
413
  /**
402
414
  * The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the container.
403
415
  */
package/container.js CHANGED
@@ -138,6 +138,7 @@ class Container extends pulumi.CustomResource {
138
138
  resourceInputs["region"] = state ? state.region : undefined;
139
139
  resourceInputs["registryImage"] = state ? state.registryImage : undefined;
140
140
  resourceInputs["registrySha256"] = state ? state.registrySha256 : undefined;
141
+ resourceInputs["sandbox"] = state ? state.sandbox : undefined;
141
142
  resourceInputs["secretEnvironmentVariables"] = state ? state.secretEnvironmentVariables : undefined;
142
143
  resourceInputs["status"] = state ? state.status : undefined;
143
144
  resourceInputs["timeout"] = state ? state.timeout : undefined;
@@ -164,6 +165,7 @@ class Container extends pulumi.CustomResource {
164
165
  resourceInputs["region"] = args ? args.region : undefined;
165
166
  resourceInputs["registryImage"] = args ? args.registryImage : undefined;
166
167
  resourceInputs["registrySha256"] = args ? args.registrySha256 : undefined;
168
+ resourceInputs["sandbox"] = args ? args.sandbox : undefined;
167
169
  resourceInputs["secretEnvironmentVariables"] = (args === null || args === void 0 ? void 0 : args.secretEnvironmentVariables) ? pulumi.secret(args.secretEnvironmentVariables) : undefined;
168
170
  resourceInputs["status"] = args ? args.status : undefined;
169
171
  resourceInputs["timeout"] = args ? args.timeout : undefined;