@pulumiverse/scaleway 1.51.0-alpha.1781678642 → 1.51.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 (200) hide show
  1. package/account/sshKey.d.ts +1 -1
  2. package/account/sshKey.js +1 -1
  3. package/accountSshKey.d.ts +1 -1
  4. package/accountSshKey.js +1 -1
  5. package/baremetalServer.d.ts +3 -3
  6. package/billing/budget.d.ts +115 -0
  7. package/billing/budget.d.ts.map +1 -0
  8. package/billing/budget.js +109 -0
  9. package/billing/budget.js.map +1 -0
  10. package/billing/getBudget.d.ts +89 -0
  11. package/billing/getBudget.d.ts.map +1 -0
  12. package/billing/getBudget.js +79 -0
  13. package/billing/getBudget.js.map +1 -0
  14. package/billing/index.d.ts +6 -0
  15. package/billing/index.d.ts.map +1 -1
  16. package/billing/index.js +19 -1
  17. package/billing/index.js.map +1 -1
  18. package/container.d.ts +13 -9
  19. package/container.d.ts.map +1 -1
  20. package/container.js +2 -2
  21. package/container.js.map +1 -1
  22. package/containers/container.d.ts +13 -9
  23. package/containers/container.d.ts.map +1 -1
  24. package/containers/container.js +2 -2
  25. package/containers/container.js.map +1 -1
  26. package/containers/getContainer.d.ts +3 -0
  27. package/containers/getContainer.d.ts.map +1 -1
  28. package/containers/getContainer.js.map +1 -1
  29. package/datalab/datalab.d.ts +250 -0
  30. package/datalab/datalab.d.ts.map +1 -0
  31. package/datalab/datalab.js +147 -0
  32. package/datalab/datalab.js.map +1 -0
  33. package/datalab/getDatalab.d.ts +126 -0
  34. package/datalab/getDatalab.d.ts.map +1 -0
  35. package/datalab/getDatalab.js +109 -0
  36. package/datalab/getDatalab.js.map +1 -0
  37. package/datalab/getDatalabs.d.ts +143 -0
  38. package/datalab/getDatalabs.d.ts.map +1 -0
  39. package/datalab/getDatalabs.js +113 -0
  40. package/datalab/getDatalabs.js.map +1 -0
  41. package/datalab/index.d.ts +10 -0
  42. package/datalab/index.d.ts.map +1 -0
  43. package/datalab/index.js +51 -0
  44. package/datalab/index.js.map +1 -0
  45. package/domain/record.d.ts +1 -1
  46. package/domain/record.js +1 -1
  47. package/domainRecord.d.ts +1 -1
  48. package/domainRecord.js +1 -1
  49. package/elasticmetal/server.d.ts +3 -3
  50. package/getCockpit.d.ts +2 -2
  51. package/getCockpit.js +2 -2
  52. package/getContainer.d.ts +3 -0
  53. package/getContainer.d.ts.map +1 -1
  54. package/getContainer.js.map +1 -1
  55. package/getKubernetesCluster.d.ts +1 -0
  56. package/getKubernetesCluster.d.ts.map +1 -1
  57. package/getKubernetesCluster.js.map +1 -1
  58. package/getSecretVersion.d.ts +2 -2
  59. package/getSecretVersion.js +2 -2
  60. package/getVpc.d.ts +1 -0
  61. package/getVpc.d.ts.map +1 -1
  62. package/getVpc.js.map +1 -1
  63. package/getVpcPublicGatewayDhcp.d.ts +2 -2
  64. package/getVpcPublicGatewayDhcp.js +2 -2
  65. package/getVpcPublicGatewayDhcpReservation.d.ts +2 -2
  66. package/getVpcPublicGatewayDhcpReservation.js +2 -2
  67. package/iam/getScimToken.d.ts +125 -0
  68. package/iam/getScimToken.d.ts.map +1 -0
  69. package/iam/getScimToken.js +107 -0
  70. package/iam/getScimToken.js.map +1 -0
  71. package/iam/index.d.ts +6 -0
  72. package/iam/index.d.ts.map +1 -1
  73. package/iam/index.js +9 -1
  74. package/iam/index.js.map +1 -1
  75. package/iam/scimToken.d.ts +116 -0
  76. package/iam/scimToken.d.ts.map +1 -0
  77. package/iam/scimToken.js +116 -0
  78. package/iam/scimToken.js.map +1 -0
  79. package/index.d.ts +2 -1
  80. package/index.d.ts.map +1 -1
  81. package/index.js +4 -2
  82. package/index.js.map +1 -1
  83. package/instance/snapshot.d.ts +3 -3
  84. package/instance/userData.d.ts +3 -3
  85. package/instanceSnapshot.d.ts +3 -3
  86. package/instanceUserData.d.ts +3 -3
  87. package/iot/route.d.ts +3 -3
  88. package/iotRoute.d.ts +3 -3
  89. package/kubernetes/acl.d.ts +2 -2
  90. package/kubernetes/acl.js +2 -2
  91. package/kubernetes/cluster.d.ts +41 -8
  92. package/kubernetes/cluster.d.ts.map +1 -1
  93. package/kubernetes/cluster.js +22 -8
  94. package/kubernetes/cluster.js.map +1 -1
  95. package/kubernetes/getCluster.d.ts +1 -0
  96. package/kubernetes/getCluster.d.ts.map +1 -1
  97. package/kubernetes/getCluster.js.map +1 -1
  98. package/kubernetes/pool.d.ts +17 -3
  99. package/kubernetes/pool.d.ts.map +1 -1
  100. package/kubernetes/pool.js +3 -2
  101. package/kubernetes/pool.js.map +1 -1
  102. package/kubernetesCluster.d.ts +41 -8
  103. package/kubernetesCluster.d.ts.map +1 -1
  104. package/kubernetesCluster.js +22 -8
  105. package/kubernetesCluster.js.map +1 -1
  106. package/kubernetesNodePool.d.ts +17 -3
  107. package/kubernetesNodePool.d.ts.map +1 -1
  108. package/kubernetesNodePool.js +3 -2
  109. package/kubernetesNodePool.js.map +1 -1
  110. package/loadbalancerCertificate.d.ts +5 -5
  111. package/loadbalancerCertificate.js +5 -5
  112. package/loadbalancerFrontend.d.ts +3 -3
  113. package/loadbalancers/certificate.d.ts +5 -5
  114. package/loadbalancers/certificate.js +5 -5
  115. package/loadbalancers/frontend.d.ts +3 -3
  116. package/network/getIngressRule.d.ts +148 -0
  117. package/network/getIngressRule.d.ts.map +1 -0
  118. package/network/getIngressRule.js +113 -0
  119. package/network/getIngressRule.js.map +1 -0
  120. package/network/getPublicGatewayDhcp.d.ts +2 -2
  121. package/network/getPublicGatewayDhcp.js +2 -2
  122. package/network/getPublicGatewayDhcpReservation.d.ts +2 -2
  123. package/network/getPublicGatewayDhcpReservation.js +2 -2
  124. package/network/getVpc.d.ts +1 -0
  125. package/network/getVpc.d.ts.map +1 -1
  126. package/network/getVpc.js.map +1 -1
  127. package/network/index.d.ts +6 -0
  128. package/network/index.d.ts.map +1 -1
  129. package/network/index.js +9 -1
  130. package/network/index.js.map +1 -1
  131. package/network/ingressRule.d.ts +224 -0
  132. package/network/ingressRule.d.ts.map +1 -0
  133. package/network/ingressRule.js +181 -0
  134. package/network/ingressRule.js.map +1 -0
  135. package/network/publicGatewayDhcp.d.ts +1 -1
  136. package/network/publicGatewayDhcp.js +1 -1
  137. package/network/publicGatewayDhcpReservation.d.ts +1 -1
  138. package/network/publicGatewayDhcpReservation.js +1 -1
  139. package/network/vpc.d.ts +12 -0
  140. package/network/vpc.d.ts.map +1 -1
  141. package/network/vpc.js +2 -0
  142. package/network/vpc.js.map +1 -1
  143. package/object/bucket.d.ts +16 -6
  144. package/object/bucket.d.ts.map +1 -1
  145. package/object/bucket.js +4 -0
  146. package/object/bucket.js.map +1 -1
  147. package/object/bucketPolicy.d.ts +13 -2
  148. package/object/bucketPolicy.d.ts.map +1 -1
  149. package/object/bucketPolicy.js +13 -2
  150. package/object/bucketPolicy.js.map +1 -1
  151. package/object/bucketServerSideEncryptionConfiguration.d.ts +19 -0
  152. package/object/bucketServerSideEncryptionConfiguration.d.ts.map +1 -1
  153. package/object/bucketServerSideEncryptionConfiguration.js +6 -0
  154. package/object/bucketServerSideEncryptionConfiguration.js.map +1 -1
  155. package/object/getBucketServerSideEncryptionConfiguration.d.ts +11 -0
  156. package/object/getBucketServerSideEncryptionConfiguration.d.ts.map +1 -1
  157. package/object/getBucketServerSideEncryptionConfiguration.js +2 -0
  158. package/object/getBucketServerSideEncryptionConfiguration.js.map +1 -1
  159. package/objectBucket.d.ts +16 -6
  160. package/objectBucket.d.ts.map +1 -1
  161. package/objectBucket.js +4 -0
  162. package/objectBucket.js.map +1 -1
  163. package/objectBucketPolicy.d.ts +13 -2
  164. package/objectBucketPolicy.d.ts.map +1 -1
  165. package/objectBucketPolicy.js +13 -2
  166. package/objectBucketPolicy.js.map +1 -1
  167. package/observability/getInstance.d.ts +2 -2
  168. package/observability/getInstance.js +2 -2
  169. package/observability/getProducts.d.ts +106 -7
  170. package/observability/getProducts.d.ts.map +1 -1
  171. package/observability/getProducts.js +102 -0
  172. package/observability/getProducts.js.map +1 -1
  173. package/opensearch/deployment.d.ts +57 -12
  174. package/opensearch/deployment.d.ts.map +1 -1
  175. package/opensearch/deployment.js +32 -6
  176. package/opensearch/deployment.js.map +1 -1
  177. package/opensearch/getDeployment.d.ts +1 -0
  178. package/opensearch/getDeployment.d.ts.map +1 -1
  179. package/opensearch/getDeployment.js.map +1 -1
  180. package/package.json +2 -2
  181. package/redis/cluster.d.ts +3 -6
  182. package/redis/cluster.d.ts.map +1 -1
  183. package/redis/cluster.js.map +1 -1
  184. package/redisCluster.d.ts +3 -6
  185. package/redisCluster.d.ts.map +1 -1
  186. package/redisCluster.js.map +1 -1
  187. package/secrets/getVersion.d.ts +2 -2
  188. package/secrets/getVersion.js +2 -2
  189. package/types/input.d.ts +216 -82
  190. package/types/input.d.ts.map +1 -1
  191. package/types/output.d.ts +303 -79
  192. package/types/output.d.ts.map +1 -1
  193. package/vpc.d.ts +12 -0
  194. package/vpc.d.ts.map +1 -1
  195. package/vpc.js +2 -0
  196. package/vpc.js.map +1 -1
  197. package/vpcPublicGatewayDhcp.d.ts +1 -1
  198. package/vpcPublicGatewayDhcp.js +1 -1
  199. package/vpcPublicGatewayDhcpReservation.d.ts +1 -1
  200. package/vpcPublicGatewayDhcpReservation.js +1 -1
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
6
6
  *
7
- * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
7
+ * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
package/account/sshKey.js CHANGED
@@ -33,7 +33,7 @@ const utilities = __importStar(require("../utilities"));
33
33
  *
34
34
  * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
35
35
  *
36
- * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
36
+ * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
37
37
  *
38
38
  * ## Example Usage
39
39
  *
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
6
6
  *
7
- * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
7
+ * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
package/accountSshKey.js CHANGED
@@ -33,7 +33,7 @@ const utilities = __importStar(require("./utilities"));
33
33
  *
34
34
  * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
35
35
  *
36
- * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
36
+ * !> **Important:** The resource `scaleway.account.SshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.iam.SshKey`.
37
37
  *
38
38
  * ## Example Usage
39
39
  *
@@ -100,7 +100,7 @@ export declare class BaremetalServer extends pulumi.CustomResource {
100
100
  * 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.
101
101
  *
102
102
  * > **Important:** Updates to `offer` will recreate the server.
103
- * > **Important** If you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
103
+ * > **Important** If you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
104
104
  */
105
105
  readonly offer: pulumi.Output<string>;
106
106
  /**
@@ -256,7 +256,7 @@ export interface BaremetalServerState {
256
256
  * 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.
257
257
  *
258
258
  * > **Important:** Updates to `offer` will recreate the server.
259
- * > **Important** If you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
259
+ * > **Important** If you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
260
260
  */
261
261
  offer?: pulumi.Input<string | undefined>;
262
262
  /**
@@ -387,7 +387,7 @@ export interface BaremetalServerArgs {
387
387
  * 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.
388
388
  *
389
389
  * > **Important:** Updates to `offer` will recreate the server.
390
- * > **Important** If you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
390
+ * > **Important** If you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
391
391
  */
392
392
  offer: pulumi.Input<string>;
393
393
  /**
@@ -0,0 +1,115 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates and manages Scaleway Budgets.
4
+ *
5
+ * A Budget allows you to track and control spending across your Scaleway resources.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as scaleway from "@pulumiverse/scaleway";
12
+ *
13
+ * const main = new scaleway.billing.Budget("main", {
14
+ * organizationId: "11111111-1111-1111-1111-111111111111",
15
+ * consumptionLimit: 10000,
16
+ * enabled: true,
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * Budget can be imported using the budget ID.
23
+ *
24
+ * ```sh
25
+ * $ pulumi import scaleway:billing/budget:Budget main 11111111-1111-1111-1111-111111111111
26
+ * ```
27
+ */
28
+ export declare class Budget extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing Budget resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BudgetState, opts?: pulumi.CustomResourceOptions): Budget;
39
+ /**
40
+ * Returns true if the given object is an instance of Budget. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is Budget;
44
+ /**
45
+ * Cost limit for the budget in cents.
46
+ */
47
+ readonly consumptionLimit: pulumi.Output<number>;
48
+ /**
49
+ * The date and time of budget creation
50
+ */
51
+ readonly createdAt: pulumi.Output<string>;
52
+ /**
53
+ * Whether the budget is enabled or not. Defaults to `true`.
54
+ */
55
+ readonly enabled: pulumi.Output<boolean>;
56
+ /**
57
+ * The organization ID. If not provided, the default organization configured in the provider is used.
58
+ */
59
+ readonly organizationId: pulumi.Output<string>;
60
+ /**
61
+ * The date and time when the budget was last updated
62
+ */
63
+ readonly updatedAt: pulumi.Output<string>;
64
+ /**
65
+ * Create a Budget resource with the given unique name, arguments, and options.
66
+ *
67
+ * @param name The _unique_ name of the resource.
68
+ * @param args The arguments to use to populate this resource's properties.
69
+ * @param opts A bag of options that control this resource's behavior.
70
+ */
71
+ constructor(name: string, args: BudgetArgs, opts?: pulumi.CustomResourceOptions);
72
+ }
73
+ /**
74
+ * Input properties used for looking up and filtering Budget resources.
75
+ */
76
+ export interface BudgetState {
77
+ /**
78
+ * Cost limit for the budget in cents.
79
+ */
80
+ consumptionLimit?: pulumi.Input<number | undefined>;
81
+ /**
82
+ * The date and time of budget creation
83
+ */
84
+ createdAt?: pulumi.Input<string | undefined>;
85
+ /**
86
+ * Whether the budget is enabled or not. Defaults to `true`.
87
+ */
88
+ enabled?: pulumi.Input<boolean | undefined>;
89
+ /**
90
+ * The organization ID. If not provided, the default organization configured in the provider is used.
91
+ */
92
+ organizationId?: pulumi.Input<string | undefined>;
93
+ /**
94
+ * The date and time when the budget was last updated
95
+ */
96
+ updatedAt?: pulumi.Input<string | undefined>;
97
+ }
98
+ /**
99
+ * The set of arguments for constructing a Budget resource.
100
+ */
101
+ export interface BudgetArgs {
102
+ /**
103
+ * Cost limit for the budget in cents.
104
+ */
105
+ consumptionLimit: pulumi.Input<number>;
106
+ /**
107
+ * Whether the budget is enabled or not. Defaults to `true`.
108
+ */
109
+ enabled?: pulumi.Input<boolean | undefined>;
110
+ /**
111
+ * The organization ID. If not provided, the default organization configured in the provider is used.
112
+ */
113
+ organizationId?: pulumi.Input<string | undefined>;
114
+ }
115
+ //# sourceMappingURL=budget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"budget.d.ts","sourceRoot":"","sources":["../../billing/budget.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM;IAO9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,MAAM;IAOjD;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;O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0,0 +1,109 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Budget = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Creates and manages Scaleway Budgets.
33
+ *
34
+ * A Budget allows you to track and control spending across your Scaleway resources.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as scaleway from "@pulumiverse/scaleway";
41
+ *
42
+ * const main = new scaleway.billing.Budget("main", {
43
+ * organizationId: "11111111-1111-1111-1111-111111111111",
44
+ * consumptionLimit: 10000,
45
+ * enabled: true,
46
+ * });
47
+ * ```
48
+ *
49
+ * ## Import
50
+ *
51
+ * Budget can be imported using the budget ID.
52
+ *
53
+ * ```sh
54
+ * $ pulumi import scaleway:billing/budget:Budget main 11111111-1111-1111-1111-111111111111
55
+ * ```
56
+ */
57
+ class Budget extends pulumi.CustomResource {
58
+ /**
59
+ * Get an existing Budget 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 Budget(name, state, { ...opts, id: id });
69
+ }
70
+ /** @internal */
71
+ static __pulumiType = 'scaleway:billing/budget:Budget';
72
+ /**
73
+ * Returns true if the given object is an instance of Budget. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj) {
77
+ if (obj === undefined || obj === null) {
78
+ return false;
79
+ }
80
+ return obj['__pulumiType'] === Budget.__pulumiType;
81
+ }
82
+ constructor(name, argsOrState, opts) {
83
+ let resourceInputs = {};
84
+ opts = opts || {};
85
+ if (opts.id) {
86
+ const state = argsOrState;
87
+ resourceInputs["consumptionLimit"] = state?.consumptionLimit;
88
+ resourceInputs["createdAt"] = state?.createdAt;
89
+ resourceInputs["enabled"] = state?.enabled;
90
+ resourceInputs["organizationId"] = state?.organizationId;
91
+ resourceInputs["updatedAt"] = state?.updatedAt;
92
+ }
93
+ else {
94
+ const args = argsOrState;
95
+ if (args?.consumptionLimit === undefined && !opts.urn) {
96
+ throw new Error("Missing required property 'consumptionLimit'");
97
+ }
98
+ resourceInputs["consumptionLimit"] = args?.consumptionLimit;
99
+ resourceInputs["enabled"] = args?.enabled;
100
+ resourceInputs["organizationId"] = args?.organizationId;
101
+ resourceInputs["createdAt"] = undefined /*out*/;
102
+ resourceInputs["updatedAt"] = undefined /*out*/;
103
+ }
104
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
105
+ super(Budget.__pulumiType, name, resourceInputs, opts);
106
+ }
107
+ }
108
+ exports.Budget = Budget;
109
+ //# sourceMappingURL=budget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"budget.js","sourceRoot":"","sources":["../../billing/budget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gCAAgC,CAAC;IAEvE;;;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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA+BD,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,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAhFL,wBAiFC"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Retrieves information about a Scaleway Budget.
4
+ *
5
+ * Use this data source to get details of an existing budget by its ID.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as scaleway from "@pulumiverse/scaleway";
12
+ *
13
+ * const main = scaleway.billing.getBudget({
14
+ * budgetId: "11111111-1111-1111-1111-111111111111",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getBudget(args: GetBudgetArgs, opts?: pulumi.InvokeOptions): Promise<GetBudgetResult>;
19
+ /**
20
+ * A collection of arguments for invoking getBudget.
21
+ */
22
+ export interface GetBudgetArgs {
23
+ /**
24
+ * The ID of the budget to retrieve.
25
+ */
26
+ budgetId: string;
27
+ /**
28
+ * The organization ID. If not provided, the default organization configured in the provider is used.
29
+ */
30
+ organizationId?: string;
31
+ }
32
+ /**
33
+ * A collection of values returned by getBudget.
34
+ */
35
+ export interface GetBudgetResult {
36
+ readonly budgetId: string;
37
+ /**
38
+ * Cost limit for the budget in cents
39
+ */
40
+ readonly consumptionLimit: number;
41
+ /**
42
+ * The date and time of budget creation
43
+ */
44
+ readonly createdAt: string;
45
+ /**
46
+ * Whether the budget is enabled or not
47
+ */
48
+ readonly enabled: boolean;
49
+ /**
50
+ * The ID of the budget
51
+ */
52
+ readonly id: string;
53
+ readonly organizationId: string;
54
+ /**
55
+ * The date and time when the budget was last updated
56
+ */
57
+ readonly updatedAt: string;
58
+ }
59
+ /**
60
+ * Retrieves information about a Scaleway Budget.
61
+ *
62
+ * Use this data source to get details of an existing budget by its ID.
63
+ *
64
+ * ## Example Usage
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as scaleway from "@pulumiverse/scaleway";
69
+ *
70
+ * const main = scaleway.billing.getBudget({
71
+ * budgetId: "11111111-1111-1111-1111-111111111111",
72
+ * });
73
+ * ```
74
+ */
75
+ export declare function getBudgetOutput(args: GetBudgetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetResult>;
76
+ /**
77
+ * A collection of arguments for invoking getBudget.
78
+ */
79
+ export interface GetBudgetOutputArgs {
80
+ /**
81
+ * The ID of the budget to retrieve.
82
+ */
83
+ budgetId: pulumi.Input<string>;
84
+ /**
85
+ * The organization ID. If not provided, the default organization configured in the provider is used.
86
+ */
87
+ organizationId?: pulumi.Input<string | undefined>;
88
+ }
89
+ //# sourceMappingURL=getBudget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBudget.d.ts","sourceRoot":"","sources":["../../billing/getBudget.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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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getBudgetOutput = exports.getBudget = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Retrieves information about a Scaleway Budget.
33
+ *
34
+ * Use this data source to get details of an existing budget by its ID.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as scaleway from "@pulumiverse/scaleway";
41
+ *
42
+ * const main = scaleway.billing.getBudget({
43
+ * budgetId: "11111111-1111-1111-1111-111111111111",
44
+ * });
45
+ * ```
46
+ */
47
+ function getBudget(args, opts) {
48
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
49
+ return pulumi.runtime.invoke("scaleway:billing/getBudget:getBudget", {
50
+ "budgetId": args.budgetId,
51
+ "organizationId": args.organizationId,
52
+ }, opts);
53
+ }
54
+ exports.getBudget = getBudget;
55
+ /**
56
+ * Retrieves information about a Scaleway Budget.
57
+ *
58
+ * Use this data source to get details of an existing budget by its ID.
59
+ *
60
+ * ## Example Usage
61
+ *
62
+ * ```typescript
63
+ * import * as pulumi from "@pulumi/pulumi";
64
+ * import * as scaleway from "@pulumiverse/scaleway";
65
+ *
66
+ * const main = scaleway.billing.getBudget({
67
+ * budgetId: "11111111-1111-1111-1111-111111111111",
68
+ * });
69
+ * ```
70
+ */
71
+ function getBudgetOutput(args, opts) {
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
73
+ return pulumi.runtime.invokeOutput("scaleway:billing/getBudget:getBudget", {
74
+ "budgetId": args.budgetId,
75
+ "organizationId": args.organizationId,
76
+ }, opts);
77
+ }
78
+ exports.getBudgetOutput = getBudgetOutput;
79
+ //# sourceMappingURL=getBudget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBudget.js","sourceRoot":"","sources":["../../billing/getBudget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AA2CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC"}
@@ -1,3 +1,9 @@
1
+ export { BudgetArgs, BudgetState } from "./budget";
2
+ export type Budget = import("./budget").Budget;
3
+ export declare const Budget: typeof import("./budget").Budget;
4
+ export { GetBudgetArgs, GetBudgetResult, GetBudgetOutputArgs } from "./getBudget";
5
+ export declare const getBudget: typeof import("./getBudget").getBudget;
6
+ export declare const getBudgetOutput: typeof import("./getBudget").getBudgetOutput;
1
7
  export { GetConsumptionsArgs, GetConsumptionsResult, GetConsumptionsOutputArgs } from "./getConsumptions";
2
8
  export declare const getConsumptions: typeof import("./getConsumptions").getConsumptions;
3
9
  export declare const getConsumptionsOutput: typeof import("./getConsumptions").getConsumptionsOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../billing/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC1G,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC;AAC/F,eAAO,MAAM,qBAAqB,EAAE,cAAc,mBAAmB,EAAE,qBAAmC,CAAC;AAG3G,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC1F,eAAO,MAAM,WAAW,EAAE,cAAc,eAAe,EAAE,WAAyB,CAAC;AACnF,eAAO,MAAM,iBAAiB,EAAE,cAAc,eAAe,EAAE,iBAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../billing/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACnD,MAAM,MAAM,MAAM,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC;AAC/C,eAAO,MAAM,MAAM,EAAE,cAAc,UAAU,EAAE,MAAoB,CAAC;AAGpE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClF,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC;AAC7E,eAAO,MAAM,eAAe,EAAE,cAAc,aAAa,EAAE,eAA6B,CAAC;AAGzF,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC1G,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC;AAC/F,eAAO,MAAM,qBAAqB,EAAE,cAAc,mBAAmB,EAAE,qBAAmC,CAAC;AAG3G,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC1F,eAAO,MAAM,WAAW,EAAE,cAAc,eAAe,EAAE,WAAyB,CAAC;AACnF,eAAO,MAAM,iBAAiB,EAAE,cAAc,eAAe,EAAE,iBAA+B,CAAC"}
package/billing/index.js CHANGED
@@ -25,12 +25,30 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.getInvoicesOutput = exports.getInvoices = exports.getConsumptionsOutput = exports.getConsumptions = void 0;
28
+ exports.getInvoicesOutput = exports.getInvoices = exports.getConsumptionsOutput = exports.getConsumptions = exports.getBudgetOutput = exports.getBudget = exports.Budget = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
29
30
  const utilities = __importStar(require("../utilities"));
31
+ exports.Budget = null;
32
+ utilities.lazyLoad(exports, ["Budget"], () => require("./budget"));
33
+ exports.getBudget = null;
34
+ exports.getBudgetOutput = null;
35
+ utilities.lazyLoad(exports, ["getBudget", "getBudgetOutput"], () => require("./getBudget"));
30
36
  exports.getConsumptions = null;
31
37
  exports.getConsumptionsOutput = null;
32
38
  utilities.lazyLoad(exports, ["getConsumptions", "getConsumptionsOutput"], () => require("./getConsumptions"));
33
39
  exports.getInvoices = null;
34
40
  exports.getInvoicesOutput = null;
35
41
  utilities.lazyLoad(exports, ["getInvoices", "getInvoicesOutput"], () => require("./getInvoices"));
42
+ const _module = {
43
+ version: utilities.getVersion(),
44
+ construct: (name, type, urn) => {
45
+ switch (type) {
46
+ case "scaleway:billing/budget:Budget":
47
+ return new exports.Budget(name, undefined, { urn });
48
+ default:
49
+ throw new Error(`unknown resource type ${type}`);
50
+ }
51
+ },
52
+ };
53
+ pulumi.runtime.registerResourceModule("scaleway", "billing/budget", _module);
36
54
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../billing/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,wDAA0C;AAI7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../billing/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;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AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
package/container.d.ts CHANGED
@@ -157,8 +157,8 @@ import * as outputs from "./types/output";
157
157
  *
158
158
  * The following protocols are supported:
159
159
  *
160
- * * `h2c`: HTTP/2 over TCP.
161
- * * `http1`: Hypertext Transfer Protocol.
160
+ * - `h2c`: HTTP/2 over TCP.
161
+ * - `http1`: Hypertext Transfer Protocol.
162
162
  *
163
163
  * > **Important:** Refer to the official [Apache documentation](https://httpd.apache.org/docs/2.4/howto/http2.html) for more information.
164
164
  *
@@ -275,7 +275,7 @@ export declare class Container extends pulumi.CustomResource {
275
275
  */
276
276
  static isInstance(obj: any): obj is Container;
277
277
  /**
278
- * Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
278
+ * Arguments passed to the command specified in the `command` field. These override the default arguments from the container image, and behave like command-line parameters.
279
279
  */
280
280
  readonly args: pulumi.Output<string[] | undefined>;
281
281
  /**
@@ -287,7 +287,9 @@ export declare class Container extends pulumi.CustomResource {
287
287
  */
288
288
  readonly cpuLimit: pulumi.Output<number>;
289
289
  /**
290
- * The cron status of the container.
290
+ * The cron status
291
+ *
292
+ * @deprecated Please refer to the scaleway.containers.Trigger resource instead.
291
293
  */
292
294
  readonly cronStatus: pulumi.Output<string>;
293
295
  /**
@@ -443,7 +445,7 @@ export declare class Container extends pulumi.CustomResource {
443
445
  */
444
446
  readonly startupProbe: pulumi.Output<outputs.ContainerStartupProbe | undefined>;
445
447
  /**
446
- * The container status.
448
+ * The container status. In case the status is different from `ready`, a warning will be displayed when Terraform reads the resource.
447
449
  */
448
450
  readonly status: pulumi.Output<string>;
449
451
  /**
@@ -469,7 +471,7 @@ export declare class Container extends pulumi.CustomResource {
469
471
  */
470
472
  export interface ContainerState {
471
473
  /**
472
- * Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
474
+ * Arguments passed to the command specified in the `command` field. These override the default arguments from the container image, and behave like command-line parameters.
473
475
  */
474
476
  args?: pulumi.Input<pulumi.Input<string>[] | undefined>;
475
477
  /**
@@ -481,7 +483,9 @@ export interface ContainerState {
481
483
  */
482
484
  cpuLimit?: pulumi.Input<number | undefined>;
483
485
  /**
484
- * The cron status of the container.
486
+ * The cron status
487
+ *
488
+ * @deprecated Please refer to the scaleway.containers.Trigger resource instead.
485
489
  */
486
490
  cronStatus?: pulumi.Input<string | undefined>;
487
491
  /**
@@ -637,7 +641,7 @@ export interface ContainerState {
637
641
  */
638
642
  startupProbe?: pulumi.Input<inputs.ContainerStartupProbe | undefined>;
639
643
  /**
640
- * The container status.
644
+ * The container status. In case the status is different from `ready`, a warning will be displayed when Terraform reads the resource.
641
645
  */
642
646
  status?: pulumi.Input<string | undefined>;
643
647
  /**
@@ -654,7 +658,7 @@ export interface ContainerState {
654
658
  */
655
659
  export interface ContainerArgs {
656
660
  /**
657
- * Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
661
+ * Arguments passed to the command specified in the `command` field. These override the default arguments from the container image, and behave like command-line parameters.
658
662
  */
659
663
  args?: pulumi.Input<pulumi.Input<string>[] | undefined>;
660
664
  /**