@pulumiverse/scaleway 1.57.0-alpha.1790142681 → 1.57.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 (247) hide show
  1. package/account/getAvailabilityZones.d.ts +2 -2
  2. package/account/getAvailabilityZones.js +2 -2
  3. package/billing/budget.d.ts +4 -4
  4. package/billing/budget.js +1 -1
  5. package/billing/budgetAlert.d.ts +1 -1
  6. package/billing/budgetAlert.js +1 -1
  7. package/billing/budgetAlertNotification.d.ts +1 -1
  8. package/billing/budgetAlertNotification.js +1 -1
  9. package/billing/getBudget.d.ts +1 -1
  10. package/block/getSnapshots.d.ts +170 -0
  11. package/block/getSnapshots.d.ts.map +1 -0
  12. package/block/getSnapshots.js +127 -0
  13. package/block/getSnapshots.js.map +1 -0
  14. package/block/index.d.ts +3 -0
  15. package/block/index.d.ts.map +1 -1
  16. package/block/index.js +4 -1
  17. package/block/index.js.map +1 -1
  18. package/cockpit.d.ts +1 -17
  19. package/cockpit.d.ts.map +1 -1
  20. package/cockpit.js +1 -17
  21. package/cockpit.js.map +1 -1
  22. package/config/vars.d.ts +9 -0
  23. package/config/vars.d.ts.map +1 -1
  24. package/config/vars.js +12 -0
  25. package/config/vars.js.map +1 -1
  26. package/container.d.ts +38 -6
  27. package/container.d.ts.map +1 -1
  28. package/container.js +6 -0
  29. package/container.js.map +1 -1
  30. package/containers/container.d.ts +38 -6
  31. package/containers/container.d.ts.map +1 -1
  32. package/containers/container.js +6 -0
  33. package/containers/container.js.map +1 -1
  34. package/containers/getContainer.d.ts +3 -0
  35. package/containers/getContainer.d.ts.map +1 -1
  36. package/containers/getContainer.js.map +1 -1
  37. package/databaseInstance.d.ts +63 -3
  38. package/databaseInstance.d.ts.map +1 -1
  39. package/databaseInstance.js +54 -0
  40. package/databaseInstance.js.map +1 -1
  41. package/databases/getDatabaseEngines.d.ts +102 -0
  42. package/databases/getDatabaseEngines.d.ts.map +1 -0
  43. package/databases/getDatabaseEngines.js +89 -0
  44. package/databases/getDatabaseEngines.js.map +1 -0
  45. package/databases/getInstanceLog.d.ts +93 -0
  46. package/databases/getInstanceLog.d.ts.map +1 -0
  47. package/databases/getInstanceLog.js +79 -0
  48. package/databases/getInstanceLog.js.map +1 -0
  49. package/databases/getInstanceLogs.d.ts +108 -0
  50. package/databases/getInstanceLogs.d.ts.map +1 -0
  51. package/databases/getInstanceLogs.js +99 -0
  52. package/databases/getInstanceLogs.js.map +1 -0
  53. package/databases/getInstanceLogsDetails.d.ts +96 -0
  54. package/databases/getInstanceLogsDetails.d.ts.map +1 -0
  55. package/databases/getInstanceLogsDetails.js +97 -0
  56. package/databases/getInstanceLogsDetails.js.map +1 -0
  57. package/databases/getNodeTypes.d.ts +82 -0
  58. package/databases/getNodeTypes.d.ts.map +1 -0
  59. package/databases/getNodeTypes.js +85 -0
  60. package/databases/getNodeTypes.js.map +1 -0
  61. package/databases/index.d.ts +15 -0
  62. package/databases/index.d.ts.map +1 -1
  63. package/databases/index.js +16 -1
  64. package/databases/index.js.map +1 -1
  65. package/databases/instance.d.ts +63 -3
  66. package/databases/instance.d.ts.map +1 -1
  67. package/databases/instance.js +54 -0
  68. package/databases/instance.js.map +1 -1
  69. package/domain/registration.d.ts +19 -5
  70. package/domain/registration.d.ts.map +1 -1
  71. package/domain/registration.js +17 -3
  72. package/domain/registration.js.map +1 -1
  73. package/edgeServicesWafStage.d.ts +35 -0
  74. package/edgeServicesWafStage.d.ts.map +1 -1
  75. package/edgeServicesWafStage.js +23 -0
  76. package/edgeServicesWafStage.js.map +1 -1
  77. package/edgeservices/getWafStage.d.ts +2 -0
  78. package/edgeservices/getWafStage.d.ts.map +1 -1
  79. package/edgeservices/getWafStage.js.map +1 -1
  80. package/edgeservices/wafStage.d.ts +35 -0
  81. package/edgeservices/wafStage.d.ts.map +1 -1
  82. package/edgeservices/wafStage.js +23 -0
  83. package/edgeservices/wafStage.js.map +1 -1
  84. package/fileFilesystem.d.ts +4 -0
  85. package/fileFilesystem.d.ts.map +1 -1
  86. package/fileFilesystem.js +1 -1
  87. package/fileFilesystem.js.map +1 -1
  88. package/getAvailabilityZones.d.ts +2 -2
  89. package/getAvailabilityZones.js +2 -2
  90. package/getContainer.d.ts +3 -0
  91. package/getContainer.d.ts.map +1 -1
  92. package/getContainer.js.map +1 -1
  93. package/getK8sVersion.d.ts +2 -0
  94. package/getK8sVersion.d.ts.map +1 -1
  95. package/getK8sVersion.js.map +1 -1
  96. package/getKubernetesNodePool.d.ts +6 -0
  97. package/getKubernetesNodePool.d.ts.map +1 -1
  98. package/getKubernetesNodePool.js.map +1 -1
  99. package/getTemDomain.d.ts +1 -0
  100. package/getTemDomain.d.ts.map +1 -1
  101. package/getTemDomain.js.map +1 -1
  102. package/index.d.ts +4 -4
  103. package/index.d.ts.map +1 -1
  104. package/index.js +13 -12
  105. package/index.js.map +1 -1
  106. package/kubernetes/getPool.d.ts +6 -0
  107. package/kubernetes/getPool.d.ts.map +1 -1
  108. package/kubernetes/getPool.js.map +1 -1
  109. package/kubernetes/getVersion.d.ts +2 -0
  110. package/kubernetes/getVersion.d.ts.map +1 -1
  111. package/kubernetes/getVersion.js.map +1 -1
  112. package/kubernetes/pool.d.ts +24 -0
  113. package/kubernetes/pool.d.ts.map +1 -1
  114. package/kubernetes/pool.js +2 -0
  115. package/kubernetes/pool.js.map +1 -1
  116. package/kubernetesNodePool.d.ts +24 -0
  117. package/kubernetesNodePool.d.ts.map +1 -1
  118. package/kubernetesNodePool.js +2 -0
  119. package/kubernetesNodePool.js.map +1 -1
  120. package/mailbox/domain.d.ts +205 -0
  121. package/mailbox/domain.d.ts.map +1 -0
  122. package/mailbox/domain.js +156 -0
  123. package/mailbox/domain.js.map +1 -0
  124. package/mailbox/getMailbox.d.ts +148 -0
  125. package/mailbox/getMailbox.d.ts.map +1 -0
  126. package/mailbox/getMailbox.js +109 -0
  127. package/mailbox/getMailbox.js.map +1 -0
  128. package/mailbox/index.d.ts +10 -0
  129. package/mailbox/index.d.ts.map +1 -0
  130. package/mailbox/index.js +53 -0
  131. package/mailbox/index.js.map +1 -0
  132. package/mailbox/mailbox.d.ts +253 -0
  133. package/mailbox/mailbox.d.ts.map +1 -0
  134. package/mailbox/mailbox.js +186 -0
  135. package/mailbox/mailbox.js.map +1 -0
  136. package/messageq/deployment.d.ts +332 -0
  137. package/messageq/deployment.d.ts.map +1 -0
  138. package/messageq/deployment.js +205 -0
  139. package/messageq/deployment.js.map +1 -0
  140. package/messageq/getCertificateAuthority.d.ts +97 -0
  141. package/messageq/getCertificateAuthority.d.ts.map +1 -0
  142. package/messageq/getCertificateAuthority.js +99 -0
  143. package/messageq/getCertificateAuthority.js.map +1 -0
  144. package/messageq/getDeployment.d.ts +154 -0
  145. package/messageq/getDeployment.d.ts.map +1 -0
  146. package/messageq/getDeployment.js +105 -0
  147. package/messageq/getDeployment.js.map +1 -0
  148. package/messageq/getNodeType.d.ts +102 -0
  149. package/messageq/getNodeType.d.ts.map +1 -0
  150. package/messageq/getNodeType.js +75 -0
  151. package/messageq/getNodeType.js.map +1 -0
  152. package/messageq/getVersion.d.ts +91 -0
  153. package/messageq/getVersion.d.ts.map +1 -0
  154. package/messageq/getVersion.js +81 -0
  155. package/messageq/getVersion.js.map +1 -0
  156. package/messageq/index.d.ts +19 -0
  157. package/messageq/index.d.ts.map +1 -0
  158. package/messageq/index.js +62 -0
  159. package/messageq/index.js.map +1 -0
  160. package/messageq/user.d.ts +149 -0
  161. package/messageq/user.d.ts.map +1 -0
  162. package/messageq/user.js +124 -0
  163. package/messageq/user.js.map +1 -0
  164. package/observability/cockpit.d.ts +1 -17
  165. package/observability/cockpit.d.ts.map +1 -1
  166. package/observability/cockpit.js +1 -17
  167. package/observability/cockpit.js.map +1 -1
  168. package/observability/getGrafanaProductDashboard.d.ts +137 -0
  169. package/observability/getGrafanaProductDashboard.d.ts.map +1 -0
  170. package/observability/getGrafanaProductDashboard.js +123 -0
  171. package/observability/getGrafanaProductDashboard.js.map +1 -0
  172. package/observability/getGrafanaProductDashboards.d.ts +119 -0
  173. package/observability/getGrafanaProductDashboards.d.ts.map +1 -0
  174. package/observability/getGrafanaProductDashboards.js +115 -0
  175. package/observability/getGrafanaProductDashboards.js.map +1 -0
  176. package/observability/index.d.ts +6 -3
  177. package/observability/index.d.ts.map +1 -1
  178. package/observability/index.js +7 -6
  179. package/observability/index.js.map +1 -1
  180. package/opensearch/deployment.d.ts +12 -8
  181. package/opensearch/deployment.d.ts.map +1 -1
  182. package/opensearch/deployment.js +4 -0
  183. package/opensearch/deployment.js.map +1 -1
  184. package/opensearch/index.d.ts +3 -0
  185. package/opensearch/index.d.ts.map +1 -1
  186. package/opensearch/index.js +6 -1
  187. package/opensearch/index.js.map +1 -1
  188. package/opensearch/user.d.ts +151 -0
  189. package/opensearch/user.d.ts.map +1 -0
  190. package/opensearch/user.js +126 -0
  191. package/opensearch/user.js.map +1 -0
  192. package/package.json +2 -2
  193. package/partner/index.d.ts +4 -0
  194. package/partner/index.d.ts.map +1 -0
  195. package/partner/index.js +45 -0
  196. package/partner/index.js.map +1 -0
  197. package/partner/organization.d.ts +205 -0
  198. package/partner/organization.d.ts.map +1 -0
  199. package/partner/organization.js +153 -0
  200. package/partner/organization.js.map +1 -0
  201. package/provider.d.ts +9 -0
  202. package/provider.d.ts.map +1 -1
  203. package/provider.js +2 -0
  204. package/provider.js.map +1 -1
  205. package/redis/getClusterVersions.d.ts +116 -0
  206. package/redis/getClusterVersions.d.ts.map +1 -0
  207. package/redis/getClusterVersions.js +95 -0
  208. package/redis/getClusterVersions.js.map +1 -0
  209. package/redis/getNodeTypes.d.ts +82 -0
  210. package/redis/getNodeTypes.d.ts.map +1 -0
  211. package/redis/getNodeTypes.js +85 -0
  212. package/redis/getNodeTypes.js.map +1 -0
  213. package/redis/index.d.ts +6 -0
  214. package/redis/index.d.ts.map +1 -1
  215. package/redis/index.js +7 -1
  216. package/redis/index.js.map +1 -1
  217. package/s2svpn/connection.d.ts +19 -4
  218. package/s2svpn/connection.d.ts.map +1 -1
  219. package/s2svpn/connection.js +9 -2
  220. package/s2svpn/connection.js.map +1 -1
  221. package/tem/domain.d.ts +11 -2
  222. package/tem/domain.d.ts.map +1 -1
  223. package/tem/domain.js +3 -0
  224. package/tem/domain.js.map +1 -1
  225. package/tem/getDomain.d.ts +1 -0
  226. package/tem/getDomain.d.ts.map +1 -1
  227. package/tem/getDomain.js.map +1 -1
  228. package/tem/getOfferSubscription.d.ts +11 -2
  229. package/tem/getOfferSubscription.d.ts.map +1 -1
  230. package/tem/getOfferSubscription.js +2 -0
  231. package/tem/getOfferSubscription.js.map +1 -1
  232. package/temDomain.d.ts +11 -2
  233. package/temDomain.d.ts.map +1 -1
  234. package/temDomain.js +3 -0
  235. package/temDomain.js.map +1 -1
  236. package/types/input.d.ts +100 -2
  237. package/types/input.d.ts.map +1 -1
  238. package/types/output.d.ts +426 -6
  239. package/types/output.d.ts.map +1 -1
  240. package/cockpitGrafanaUser.d.ts +0 -166
  241. package/cockpitGrafanaUser.d.ts.map +0 -1
  242. package/cockpitGrafanaUser.js +0 -167
  243. package/cockpitGrafanaUser.js.map +0 -1
  244. package/observability/grafanaUser.d.ts +0 -163
  245. package/observability/grafanaUser.d.ts.map +0 -1
  246. package/observability/grafanaUser.js +0 -164
  247. package/observability/grafanaUser.js.map +0 -1
@@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  * For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product,
6
6
  * you can choose the location that better fits your need (country, latency, etc.).
7
7
  *
8
- * Refer to the Account [documentation](https://www.scaleway.com/en/docs/console/account/reference-content/products-availability/) for more information.
8
+ * Refer to the Account [documentation](https://www.scaleway.com/en/product-availability-by-region/) for more information.
9
9
  *
10
10
  * ## Retrieve the Availability Zones of a Region
11
11
  *
@@ -51,7 +51,7 @@ export interface GetAvailabilityZonesResult {
51
51
  * For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product,
52
52
  * you can choose the location that better fits your need (country, latency, etc.).
53
53
  *
54
- * Refer to the Account [documentation](https://www.scaleway.com/en/docs/console/account/reference-content/products-availability/) for more information.
54
+ * Refer to the Account [documentation](https://www.scaleway.com/en/product-availability-by-region/) for more information.
55
55
  *
56
56
  * ## Retrieve the Availability Zones of a Region
57
57
  *
@@ -34,7 +34,7 @@ const utilities = __importStar(require("../utilities"));
34
34
  * For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product,
35
35
  * you can choose the location that better fits your need (country, latency, etc.).
36
36
  *
37
- * Refer to the Account [documentation](https://www.scaleway.com/en/docs/console/account/reference-content/products-availability/) for more information.
37
+ * Refer to the Account [documentation](https://www.scaleway.com/en/product-availability-by-region/) for more information.
38
38
  *
39
39
  * ## Retrieve the Availability Zones of a Region
40
40
  *
@@ -64,7 +64,7 @@ exports.getAvailabilityZones = getAvailabilityZones;
64
64
  * For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product,
65
65
  * you can choose the location that better fits your need (country, latency, etc.).
66
66
  *
67
- * Refer to the Account [documentation](https://www.scaleway.com/en/docs/console/account/reference-content/products-availability/) for more information.
67
+ * Refer to the Account [documentation](https://www.scaleway.com/en/product-availability-by-region/) for more information.
68
68
  *
69
69
  * ## Retrieve the Availability Zones of a Region
70
70
  *
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  *
13
13
  * const main = new scaleway.billing.Budget("main", {
14
14
  * organizationId: "11111111-1111-1111-1111-111111111111",
15
- * consumptionLimit: 10000,
15
+ * consumptionLimit: 100,
16
16
  * enabled: true,
17
17
  * });
18
18
  * ```
@@ -42,7 +42,7 @@ export declare class Budget extends pulumi.CustomResource {
42
42
  */
43
43
  static isInstance(obj: any): obj is Budget;
44
44
  /**
45
- * Cost limit for the budget in cents.
45
+ * Cost limit for the budget in euros.
46
46
  */
47
47
  readonly consumptionLimit: pulumi.Output<number>;
48
48
  /**
@@ -75,7 +75,7 @@ export declare class Budget extends pulumi.CustomResource {
75
75
  */
76
76
  export interface BudgetState {
77
77
  /**
78
- * Cost limit for the budget in cents.
78
+ * Cost limit for the budget in euros.
79
79
  */
80
80
  consumptionLimit?: pulumi.Input<number | undefined>;
81
81
  /**
@@ -100,7 +100,7 @@ export interface BudgetState {
100
100
  */
101
101
  export interface BudgetArgs {
102
102
  /**
103
- * Cost limit for the budget in cents.
103
+ * Cost limit for the budget in euros.
104
104
  */
105
105
  consumptionLimit: pulumi.Input<number>;
106
106
  /**
package/billing/budget.js CHANGED
@@ -41,7 +41,7 @@ const utilities = __importStar(require("../utilities"));
41
41
  *
42
42
  * const main = new scaleway.billing.Budget("main", {
43
43
  * organizationId: "11111111-1111-1111-1111-111111111111",
44
- * consumptionLimit: 10000,
44
+ * consumptionLimit: 100,
45
45
  * enabled: true,
46
46
  * });
47
47
  * ```
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  *
13
13
  * const main = new scaleway.billing.Budget("main", {
14
14
  * organizationId: "11111111-1111-1111-1111-111111111111",
15
- * consumptionLimit: 10000,
15
+ * consumptionLimit: 100,
16
16
  * enabled: true,
17
17
  * });
18
18
  * const mainBudgetAlert = new scaleway.billing.BudgetAlert("main", {
@@ -41,7 +41,7 @@ const utilities = __importStar(require("../utilities"));
41
41
  *
42
42
  * const main = new scaleway.billing.Budget("main", {
43
43
  * organizationId: "11111111-1111-1111-1111-111111111111",
44
- * consumptionLimit: 10000,
44
+ * consumptionLimit: 100,
45
45
  * enabled: true,
46
46
  * });
47
47
  * const mainBudgetAlert = new scaleway.billing.BudgetAlert("main", {
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  *
13
13
  * const main = new scaleway.billing.Budget("main", {
14
14
  * organizationId: "11111111-1111-1111-1111-111111111111",
15
- * consumptionLimit: 10000,
15
+ * consumptionLimit: 100,
16
16
  * enabled: true,
17
17
  * });
18
18
  * const mainBudgetAlert = new scaleway.billing.BudgetAlert("main", {
@@ -41,7 +41,7 @@ const utilities = __importStar(require("../utilities"));
41
41
  *
42
42
  * const main = new scaleway.billing.Budget("main", {
43
43
  * organizationId: "11111111-1111-1111-1111-111111111111",
44
- * consumptionLimit: 10000,
44
+ * consumptionLimit: 100,
45
45
  * enabled: true,
46
46
  * });
47
47
  * const mainBudgetAlert = new scaleway.billing.BudgetAlert("main", {
@@ -35,7 +35,7 @@ export interface GetBudgetArgs {
35
35
  export interface GetBudgetResult {
36
36
  readonly budgetId: string;
37
37
  /**
38
- * Cost limit for the budget in cents
38
+ * Cost limit for the budget in euros
39
39
  */
40
40
  readonly consumptionLimit: number;
41
41
  /**
@@ -0,0 +1,170 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Gets information about multiple Block Storage volume snapshots.
5
+ *
6
+ * For more information, see the [main documentation](https://www.scaleway.com/en/docs/block-storage/) or [API documentation](https://www.scaleway.com/en/developers/api/block/).
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as scaleway from "@pulumiverse/scaleway";
13
+ *
14
+ * // List all snapshots in a zone
15
+ * const all = scaleway.block.getSnapshots({
16
+ * zone: "fr-par-1",
17
+ * });
18
+ * // Filter snapshots by name
19
+ * const byName = scaleway.block.getSnapshots({
20
+ * name: "my-snapshot",
21
+ * zone: "fr-par-1",
22
+ * });
23
+ * // Filter snapshots by tags
24
+ * const byTags = scaleway.block.getSnapshots({
25
+ * tags: [
26
+ * "backup",
27
+ * "daily",
28
+ * ],
29
+ * zone: "fr-par-1",
30
+ * });
31
+ * // Filter snapshots by the volume they were created from
32
+ * const byVolume = scaleway.block.getSnapshots({
33
+ * volumeId: main.id,
34
+ * });
35
+ * ```
36
+ */
37
+ export declare function getSnapshots(args?: GetSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise<GetSnapshotsResult>;
38
+ /**
39
+ * A collection of arguments for invoking getSnapshots.
40
+ */
41
+ export interface GetSnapshotsArgs {
42
+ /**
43
+ * Filter snapshots by their name. Snapshots with a matching name are listed.
44
+ */
45
+ name?: string;
46
+ /**
47
+ * Criteria to use when ordering the list of snapshots. Possible values are: `createdAtAsc` (default), `createdAtDesc`, `nameAsc` and `nameDesc`. Use `createdAtDesc` to get the most recent snapshot first.
48
+ */
49
+ orderBy?: string;
50
+ /**
51
+ * The ID of the Organization the snapshots are associated with, used as filter.
52
+ */
53
+ organizationId?: string;
54
+ /**
55
+ * The ID of the Project the snapshots are associated with, used as filter.
56
+ */
57
+ projectId?: string;
58
+ /**
59
+ * List of tags used as filter. Snapshots with one or more matching tags are listed.
60
+ */
61
+ tags?: string[];
62
+ /**
63
+ * The ID of the volume the snapshots were created from, used as filter. Can be a bare UUID or a zoned ID (`zone/uuid`).
64
+ */
65
+ volumeId?: string;
66
+ /**
67
+ * `zone`) The zone in which snapshots exist.
68
+ */
69
+ zone?: string;
70
+ }
71
+ /**
72
+ * A collection of values returned by getSnapshots.
73
+ */
74
+ export interface GetSnapshotsResult {
75
+ /**
76
+ * The name of the snapshot.
77
+ */
78
+ readonly name?: string;
79
+ readonly orderBy?: string;
80
+ readonly organizationId?: string;
81
+ /**
82
+ * The ID of the Project the snapshot is associated with.
83
+ */
84
+ readonly projectId?: string;
85
+ /**
86
+ * List of snapshots matching the filters. Empty when no snapshot matches.
87
+ */
88
+ readonly snapshots: outputs.block.GetSnapshotsSnapshot[];
89
+ /**
90
+ * The list of tags assigned to the snapshot.
91
+ */
92
+ readonly tags?: string[];
93
+ /**
94
+ * The ID of the volume from which the snapshot was created. Empty if the parent volume was deleted.
95
+ */
96
+ readonly volumeId?: string;
97
+ /**
98
+ * The zone in which the snapshot is.
99
+ */
100
+ readonly zone: string;
101
+ }
102
+ /**
103
+ * Gets information about multiple Block Storage volume snapshots.
104
+ *
105
+ * For more information, see the [main documentation](https://www.scaleway.com/en/docs/block-storage/) or [API documentation](https://www.scaleway.com/en/developers/api/block/).
106
+ *
107
+ * ## Example Usage
108
+ *
109
+ * ```typescript
110
+ * import * as pulumi from "@pulumi/pulumi";
111
+ * import * as scaleway from "@pulumiverse/scaleway";
112
+ *
113
+ * // List all snapshots in a zone
114
+ * const all = scaleway.block.getSnapshots({
115
+ * zone: "fr-par-1",
116
+ * });
117
+ * // Filter snapshots by name
118
+ * const byName = scaleway.block.getSnapshots({
119
+ * name: "my-snapshot",
120
+ * zone: "fr-par-1",
121
+ * });
122
+ * // Filter snapshots by tags
123
+ * const byTags = scaleway.block.getSnapshots({
124
+ * tags: [
125
+ * "backup",
126
+ * "daily",
127
+ * ],
128
+ * zone: "fr-par-1",
129
+ * });
130
+ * // Filter snapshots by the volume they were created from
131
+ * const byVolume = scaleway.block.getSnapshots({
132
+ * volumeId: main.id,
133
+ * });
134
+ * ```
135
+ */
136
+ export declare function getSnapshotsOutput(args?: GetSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnapshotsResult>;
137
+ /**
138
+ * A collection of arguments for invoking getSnapshots.
139
+ */
140
+ export interface GetSnapshotsOutputArgs {
141
+ /**
142
+ * Filter snapshots by their name. Snapshots with a matching name are listed.
143
+ */
144
+ name?: pulumi.Input<string | undefined>;
145
+ /**
146
+ * Criteria to use when ordering the list of snapshots. Possible values are: `createdAtAsc` (default), `createdAtDesc`, `nameAsc` and `nameDesc`. Use `createdAtDesc` to get the most recent snapshot first.
147
+ */
148
+ orderBy?: pulumi.Input<string | undefined>;
149
+ /**
150
+ * The ID of the Organization the snapshots are associated with, used as filter.
151
+ */
152
+ organizationId?: pulumi.Input<string | undefined>;
153
+ /**
154
+ * The ID of the Project the snapshots are associated with, used as filter.
155
+ */
156
+ projectId?: pulumi.Input<string | undefined>;
157
+ /**
158
+ * List of tags used as filter. Snapshots with one or more matching tags are listed.
159
+ */
160
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
161
+ /**
162
+ * The ID of the volume the snapshots were created from, used as filter. Can be a bare UUID or a zoned ID (`zone/uuid`).
163
+ */
164
+ volumeId?: pulumi.Input<string | undefined>;
165
+ /**
166
+ * `zone`) The zone in which snapshots exist.
167
+ */
168
+ zone?: pulumi.Input<string | undefined>;
169
+ }
170
+ //# sourceMappingURL=getSnapshots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSnapshots.d.ts","sourceRoot":"","sources":["../../block/getSnapshots.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAY9G;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,oBAAoB,EAAE,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAYtI;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
@@ -0,0 +1,127 @@
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.getSnapshotsOutput = exports.getSnapshots = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Gets information about multiple Block Storage volume snapshots.
33
+ *
34
+ * For more information, see the [main documentation](https://www.scaleway.com/en/docs/block-storage/) or [API documentation](https://www.scaleway.com/en/developers/api/block/).
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as scaleway from "@pulumiverse/scaleway";
41
+ *
42
+ * // List all snapshots in a zone
43
+ * const all = scaleway.block.getSnapshots({
44
+ * zone: "fr-par-1",
45
+ * });
46
+ * // Filter snapshots by name
47
+ * const byName = scaleway.block.getSnapshots({
48
+ * name: "my-snapshot",
49
+ * zone: "fr-par-1",
50
+ * });
51
+ * // Filter snapshots by tags
52
+ * const byTags = scaleway.block.getSnapshots({
53
+ * tags: [
54
+ * "backup",
55
+ * "daily",
56
+ * ],
57
+ * zone: "fr-par-1",
58
+ * });
59
+ * // Filter snapshots by the volume they were created from
60
+ * const byVolume = scaleway.block.getSnapshots({
61
+ * volumeId: main.id,
62
+ * });
63
+ * ```
64
+ */
65
+ function getSnapshots(args, opts) {
66
+ args = args || {};
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
68
+ return pulumi.runtime.invoke("scaleway:block/getSnapshots:getSnapshots", {
69
+ "name": args.name,
70
+ "orderBy": args.orderBy,
71
+ "organizationId": args.organizationId,
72
+ "projectId": args.projectId,
73
+ "tags": args.tags,
74
+ "volumeId": args.volumeId,
75
+ "zone": args.zone,
76
+ }, opts);
77
+ }
78
+ exports.getSnapshots = getSnapshots;
79
+ /**
80
+ * Gets information about multiple Block Storage volume snapshots.
81
+ *
82
+ * For more information, see the [main documentation](https://www.scaleway.com/en/docs/block-storage/) or [API documentation](https://www.scaleway.com/en/developers/api/block/).
83
+ *
84
+ * ## Example Usage
85
+ *
86
+ * ```typescript
87
+ * import * as pulumi from "@pulumi/pulumi";
88
+ * import * as scaleway from "@pulumiverse/scaleway";
89
+ *
90
+ * // List all snapshots in a zone
91
+ * const all = scaleway.block.getSnapshots({
92
+ * zone: "fr-par-1",
93
+ * });
94
+ * // Filter snapshots by name
95
+ * const byName = scaleway.block.getSnapshots({
96
+ * name: "my-snapshot",
97
+ * zone: "fr-par-1",
98
+ * });
99
+ * // Filter snapshots by tags
100
+ * const byTags = scaleway.block.getSnapshots({
101
+ * tags: [
102
+ * "backup",
103
+ * "daily",
104
+ * ],
105
+ * zone: "fr-par-1",
106
+ * });
107
+ * // Filter snapshots by the volume they were created from
108
+ * const byVolume = scaleway.block.getSnapshots({
109
+ * volumeId: main.id,
110
+ * });
111
+ * ```
112
+ */
113
+ function getSnapshotsOutput(args, opts) {
114
+ args = args || {};
115
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
116
+ return pulumi.runtime.invokeOutput("scaleway:block/getSnapshots:getSnapshots", {
117
+ "name": args.name,
118
+ "orderBy": args.orderBy,
119
+ "organizationId": args.organizationId,
120
+ "projectId": args.projectId,
121
+ "tags": args.tags,
122
+ "volumeId": args.volumeId,
123
+ "zone": args.zone,
124
+ }, opts);
125
+ }
126
+ exports.getSnapshotsOutput = getSnapshotsOutput;
127
+ //# sourceMappingURL=getSnapshots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSnapshots.js","sourceRoot":"","sources":["../../block/getSnapshots.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oCAYC;AAmED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC"}
package/block/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  export { GetSnapshotArgs, GetSnapshotResult, GetSnapshotOutputArgs } from "./getSnapshot";
2
2
  export declare const getSnapshot: typeof import("./getSnapshot").getSnapshot;
3
3
  export declare const getSnapshotOutput: typeof import("./getSnapshot").getSnapshotOutput;
4
+ export { GetSnapshotsArgs, GetSnapshotsResult, GetSnapshotsOutputArgs } from "./getSnapshots";
5
+ export declare const getSnapshots: typeof import("./getSnapshots").getSnapshots;
6
+ export declare const getSnapshotsOutput: typeof import("./getSnapshots").getSnapshotsOutput;
4
7
  export { GetVolumeArgs, GetVolumeResult, GetVolumeOutputArgs } from "./getVolume";
5
8
  export declare const getVolume: typeof import("./getVolume").getVolume;
6
9
  export declare const getVolumeOutput: typeof import("./getVolume").getVolumeOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../block/index.ts"],"names":[],"mappings":"AAOA,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;AAG/F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,EAAE,eAA6B,CAAC;AAGzF,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzD,MAAM,MAAM,QAAQ,GAAG,OAAO,YAAY,EAAE,QAAQ,CAAC;AACrD,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAG1E,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"}
package/block/index.js CHANGED
@@ -25,12 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.Volume = exports.Snapshot = exports.getVolumeOutput = exports.getVolume = exports.getSnapshotOutput = exports.getSnapshot = void 0;
28
+ exports.Volume = exports.Snapshot = exports.getVolumeOutput = exports.getVolume = exports.getSnapshotsOutput = exports.getSnapshots = exports.getSnapshotOutput = exports.getSnapshot = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../utilities"));
31
31
  exports.getSnapshot = null;
32
32
  exports.getSnapshotOutput = null;
33
33
  utilities.lazyLoad(exports, ["getSnapshot", "getSnapshotOutput"], () => require("./getSnapshot"));
34
+ exports.getSnapshots = null;
35
+ exports.getSnapshotsOutput = null;
36
+ utilities.lazyLoad(exports, ["getSnapshots", "getSnapshotsOutput"], () => require("./getSnapshots"));
34
37
  exports.getVolume = null;
35
38
  exports.getVolumeOutput = null;
36
39
  utilities.lazyLoad(exports, ["getVolume", "getVolumeOutput"], () => require("./getVolume"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../block/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAE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AE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGnE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kCAAkC;gBACnC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
package/cockpit.d.ts CHANGED
@@ -17,8 +17,6 @@ import * as outputs from "./types/output";
17
17
  * > **Note:**
18
18
  * From January 1st 2025, Cockpit plans have been deprecated. You can now edit the retention period for all your datasources (metrics, logs, and traces) separately. Refer to our product documentation for more information on [possible retention values](https://www.scaleway.com/en/docs/cockpit/concepts/#retention) and [pricing](https://www.scaleway.com/en/docs/cockpit/faq/#how-am-i-billed-for-increasing-data-retention-period).
19
19
  *
20
- * > **Note:** The `scaleway.observability.GrafanaUser` resource is deprecated. Use the `scaleway.observability.getGrafana` data source to retrieve the Grafana URL and authenticate using your Scaleway IAM credentials.
21
- *
22
20
  * The `scaleway.observability.Cockpit` resource allows you to create and manage Scaleway Cockpit instances.
23
21
  *
24
22
  * Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
@@ -57,26 +55,12 @@ import * as outputs from "./types/output";
57
55
  * });
58
56
  * ```
59
57
  *
60
- * ### Use the Grafana Terraform provider (Deprecated)
61
- *
62
- * > **Note:** This example is deprecated. Use the `scaleway.observability.getGrafana` data source with IAM authentication instead.
58
+ * ### Use the Grafana Terraform provider
63
59
  *
64
60
  * ```typescript
65
61
  * import * as pulumi from "@pulumi/pulumi";
66
62
  * import * as scaleway from "@pulumiverse/scaleway";
67
63
  *
68
- * // Old approach (deprecated) - Using scaleway_cockpit_grafana_user
69
- * // resource "scaleway_cockpit_grafana_user" "main" {
70
- * // project_id = scaleway_cockpit.main.project_id
71
- * // login = "example"
72
- * // role = "editor"
73
- * // }
74
- * //
75
- * // provider "grafana" {
76
- * // url = scaleway_cockpit.main.endpoints.0.grafana_url
77
- * // auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
78
- * // }
79
- * // New approach - Use scaleway_cockpit_grafana data source with IAM auth
80
64
  * const main = scaleway.observability.getGrafana({
81
65
  * projectId: mainScalewayCockpit.projectId,
82
66
  * });
package/cockpit.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cockpit.d.ts","sourceRoot":"","sources":["../cockpit.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,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AAG,SAAS,CAAC,CAAC;CAChD"}
package/cockpit.js CHANGED
@@ -44,8 +44,6 @@ const utilities = __importStar(require("./utilities"));
44
44
  * > **Note:**
45
45
  * From January 1st 2025, Cockpit plans have been deprecated. You can now edit the retention period for all your datasources (metrics, logs, and traces) separately. Refer to our product documentation for more information on [possible retention values](https://www.scaleway.com/en/docs/cockpit/concepts/#retention) and [pricing](https://www.scaleway.com/en/docs/cockpit/faq/#how-am-i-billed-for-increasing-data-retention-period).
46
46
  *
47
- * > **Note:** The `scaleway.observability.GrafanaUser` resource is deprecated. Use the `scaleway.observability.getGrafana` data source to retrieve the Grafana URL and authenticate using your Scaleway IAM credentials.
48
- *
49
47
  * The `scaleway.observability.Cockpit` resource allows you to create and manage Scaleway Cockpit instances.
50
48
  *
51
49
  * Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
@@ -84,26 +82,12 @@ const utilities = __importStar(require("./utilities"));
84
82
  * });
85
83
  * ```
86
84
  *
87
- * ### Use the Grafana Terraform provider (Deprecated)
88
- *
89
- * > **Note:** This example is deprecated. Use the `scaleway.observability.getGrafana` data source with IAM authentication instead.
85
+ * ### Use the Grafana Terraform provider
90
86
  *
91
87
  * ```typescript
92
88
  * import * as pulumi from "@pulumi/pulumi";
93
89
  * import * as scaleway from "@pulumiverse/scaleway";
94
90
  *
95
- * // Old approach (deprecated) - Using scaleway_cockpit_grafana_user
96
- * // resource "scaleway_cockpit_grafana_user" "main" {
97
- * // project_id = scaleway_cockpit.main.project_id
98
- * // login = "example"
99
- * // role = "editor"
100
- * // }
101
- * //
102
- * // provider "grafana" {
103
- * // url = scaleway_cockpit.main.endpoints.0.grafana_url
104
- * // auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
105
- * // }
106
- * // New approach - Use scaleway_cockpit_grafana data source with IAM auth
107
91
  * const main = scaleway.observability.getGrafana({
108
92
  * projectId: mainScalewayCockpit.projectId,
109
93
  * });
package/cockpit.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cockpit.js","sourceRoot":"","sources":["../cockpit.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8HAA8H,CAAC,CAAA;QAC/I,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2CD,wHAAwH;IACxH,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8HAA8H,CAAC,CAAA;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAA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Ac,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA5FL,0BA6FC"}
package/config/vars.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as outputs from "../types/output";
1
2
  /**
2
3
  * The Scaleway access key.
3
4
  */
@@ -6,6 +7,10 @@ export declare const accessKey: string | undefined;
6
7
  * The Scaleway API URL to use.
7
8
  */
8
9
  export declare const apiUrl: string | undefined;
10
+ /**
11
+ * Configuration block for customizing service endpoints.
12
+ */
13
+ export declare const endpoints: outputs.config.Endpoints[] | undefined;
9
14
  /**
10
15
  * The Scaleway organization ID.
11
16
  */
@@ -22,6 +27,10 @@ export declare const projectId: string | undefined;
22
27
  * The region you want to attach the resource to
23
28
  */
24
29
  export declare const region: string | undefined;
30
+ /**
31
+ * Whether to enable the request to use path-style addressing.
32
+ */
33
+ export declare const s3UsePathStyle: boolean | undefined;
25
34
  /**
26
35
  * The Scaleway secret Key.
27
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;AAQnD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;AAQhD;;GAEG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AAS,CAAC;AAQhD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC;AAQzD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;AAQnD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC"}
package/config/vars.js CHANGED
@@ -40,6 +40,12 @@ Object.defineProperty(exports, "apiUrl", {
40
40
  },
41
41
  enumerable: true,
42
42
  });
43
+ Object.defineProperty(exports, "endpoints", {
44
+ get() {
45
+ return __config.getObject("endpoints");
46
+ },
47
+ enumerable: true,
48
+ });
43
49
  Object.defineProperty(exports, "organizationId", {
44
50
  get() {
45
51
  return __config.get("organizationId") ?? utilities.getEnv("SCW_ORGANIZATION_ID");
@@ -64,6 +70,12 @@ Object.defineProperty(exports, "region", {
64
70
  },
65
71
  enumerable: true,
66
72
  });
73
+ Object.defineProperty(exports, "s3UsePathStyle", {
74
+ get() {
75
+ return __config.getObject("s3UsePathStyle");
76
+ },
77
+ enumerable: true,
78
+ });
67
79
  Object.defineProperty(exports, "secretKey", {
68
80
  get() {
69
81
  return __config.get("secretKey") ?? utilities.getEnv("SCW_SECRET_KEY");