@pulumiverse/scaleway 1.40.0 → 1.41.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 (98) hide show
  1. package/appleSiliconServer.d.ts +3 -2
  2. package/appleSiliconServer.js +3 -2
  3. package/appleSiliconServer.js.map +1 -1
  4. package/applesilicon/server.d.ts +3 -2
  5. package/applesilicon/server.js +3 -2
  6. package/applesilicon/server.js.map +1 -1
  7. package/audittrail/getEvent.d.ts +106 -32
  8. package/audittrail/getEvent.js +106 -32
  9. package/audittrail/getEvent.js.map +1 -1
  10. package/cockpitAlertManager.d.ts +64 -13
  11. package/cockpitAlertManager.js +41 -6
  12. package/cockpitAlertManager.js.map +1 -1
  13. package/container.d.ts +36 -0
  14. package/container.js +36 -0
  15. package/container.js.map +1 -1
  16. package/containerToken.d.ts +3 -0
  17. package/containerToken.js +3 -0
  18. package/containerToken.js.map +1 -1
  19. package/containers/container.d.ts +36 -0
  20. package/containers/container.js +36 -0
  21. package/containers/container.js.map +1 -1
  22. package/containers/token.d.ts +3 -0
  23. package/containers/token.js +3 -0
  24. package/containers/token.js.map +1 -1
  25. package/databaseInstance.d.ts +2 -0
  26. package/databaseInstance.js +2 -0
  27. package/databaseInstance.js.map +1 -1
  28. package/databases/instance.d.ts +2 -0
  29. package/databases/instance.js +2 -0
  30. package/databases/instance.js.map +1 -1
  31. package/functionToken.d.ts +3 -0
  32. package/functionToken.js +3 -0
  33. package/functionToken.js.map +1 -1
  34. package/functions/token.d.ts +3 -0
  35. package/functions/token.js +3 -0
  36. package/functions/token.js.map +1 -1
  37. package/getK8sVersion.d.ts +10 -12
  38. package/getK8sVersion.js +10 -12
  39. package/getK8sVersion.js.map +1 -1
  40. package/getKubernetesCluster.d.ts +50 -2
  41. package/getKubernetesCluster.js +50 -2
  42. package/getKubernetesCluster.js.map +1 -1
  43. package/getKubernetesNodePool.d.ts +52 -2
  44. package/getKubernetesNodePool.js +52 -2
  45. package/getKubernetesNodePool.js.map +1 -1
  46. package/getSecretVersion.d.ts +2 -0
  47. package/getSecretVersion.js.map +1 -1
  48. package/instance/server.d.ts +1 -1
  49. package/instanceServer.d.ts +1 -1
  50. package/job/definition.d.ts +12 -0
  51. package/job/definition.js +2 -0
  52. package/job/definition.js.map +1 -1
  53. package/jobDefinition.d.ts +12 -0
  54. package/jobDefinition.js +2 -0
  55. package/jobDefinition.js.map +1 -1
  56. package/kubernetes/acl.d.ts +2 -4
  57. package/kubernetes/acl.js +2 -4
  58. package/kubernetes/acl.js.map +1 -1
  59. package/kubernetes/cluster.d.ts +57 -64
  60. package/kubernetes/cluster.js +57 -64
  61. package/kubernetes/cluster.js.map +1 -1
  62. package/kubernetes/getCluster.d.ts +50 -2
  63. package/kubernetes/getCluster.js +50 -2
  64. package/kubernetes/getCluster.js.map +1 -1
  65. package/kubernetes/getPool.d.ts +52 -2
  66. package/kubernetes/getPool.js +52 -2
  67. package/kubernetes/getPool.js.map +1 -1
  68. package/kubernetes/getVersion.d.ts +10 -12
  69. package/kubernetes/getVersion.js +10 -12
  70. package/kubernetes/getVersion.js.map +1 -1
  71. package/kubernetesCluster.d.ts +57 -64
  72. package/kubernetesCluster.js +57 -64
  73. package/kubernetesCluster.js.map +1 -1
  74. package/loadbalancerCertificate.d.ts +10 -0
  75. package/loadbalancerCertificate.js +10 -0
  76. package/loadbalancerCertificate.js.map +1 -1
  77. package/loadbalancers/certificate.d.ts +11 -0
  78. package/loadbalancers/certificate.js +11 -0
  79. package/loadbalancers/certificate.js.map +1 -1
  80. package/observability/alertManager.d.ts +64 -13
  81. package/observability/alertManager.js +41 -6
  82. package/observability/alertManager.js.map +1 -1
  83. package/observability/getPreconfiguredAlert.d.ts +185 -0
  84. package/observability/getPreconfiguredAlert.js +146 -0
  85. package/observability/getPreconfiguredAlert.js.map +1 -0
  86. package/observability/index.d.ts +3 -0
  87. package/observability/index.js +4 -1
  88. package/observability/index.js.map +1 -1
  89. package/package.json +2 -2
  90. package/secretVersion.d.ts +29 -5
  91. package/secretVersion.js +5 -4
  92. package/secretVersion.js.map +1 -1
  93. package/secrets/getVersion.d.ts +2 -0
  94. package/secrets/getVersion.js.map +1 -1
  95. package/secrets/version.d.ts +29 -5
  96. package/secrets/version.js +5 -4
  97. package/secrets/version.js.map +1 -1
  98. package/types/output.d.ts +52 -0
@@ -2,8 +2,9 @@ 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 Apple silicon. For more information,
6
- * see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
5
+ * The `scaleway.applesilicon.Server` resource creates and manages Scaleway Apple silicon servers.
6
+ *
7
+ * For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
7
8
  *
8
9
  * ## Example Usage
9
10
  *
@@ -6,8 +6,9 @@ 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. For more information,
10
- * see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
9
+ * The `scaleway.applesilicon.Server` resource creates and manages Scaleway Apple silicon servers.
10
+ *
11
+ * For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
11
12
  *
12
13
  * ## Example Usage
13
14
  *
@@ -1 +1 @@
1
- {"version":3,"file":"appleSiliconServer.js","sourceRoot":"","sources":["../appleSiliconServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7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AAU,CAAC,CAAC;QAC7C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA9KL,gDA+KC;AAhKG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
@@ -2,8 +2,9 @@ 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 Apple silicon. For more information,
6
- * see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
5
+ * The `scaleway.applesilicon.Server` resource creates and manages Scaleway Apple silicon servers.
6
+ *
7
+ * For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
7
8
  *
8
9
  * ## Example Usage
9
10
  *
@@ -6,8 +6,9 @@ exports.Server = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Creates and manages Scaleway Apple silicon. For more information,
10
- * see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
9
+ * The `scaleway.applesilicon.Server` resource creates and manages Scaleway Apple silicon servers.
10
+ *
11
+ * For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
11
12
  *
12
13
  * ## Example Usage
13
14
  *
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../../applesilicon/server.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;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,EAA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C;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA5KL,wBA6KC;AA/JG,gBAAgB;AACO,mBAAY,GAAG,qCAAqC,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "../types/output";
3
3
  /**
4
- * Use this data source to get a list of existing Audit Trail events.
5
- * For more information refer to the [Audit Trail API documentation](https://www.scaleway.com/en/developers/api/audit-trail/).
4
+ * The `scaleway.audittrail.getEvent` data source is used to retrieve information about existing Audit Trail events.
5
+ *
6
+ * Refer to the Audit Trail [documentation](https://www.scaleway.com/en/docs/audit-trail/) and [API documentation](https://www.scaleway.com/en/developers/api/audit-trail/) for more information.
6
7
  *
7
8
  * ## Example Usage
8
9
  *
@@ -10,28 +11,34 @@ import * as outputs from "../types/output";
10
11
  * import * as pulumi from "@pulumi/pulumi";
11
12
  * import * as scaleway from "@pulumiverse/scaleway";
12
13
  *
13
- * // Retrieve all audit trail events on the default organization
14
- * const findAll = scaleway.audittrail.getEvent({});
15
- * // Retrieve audit trail events on a specific organization
16
- * const findByOrg = scaleway.audittrail.getEvent({
17
- * organizationId: "11111111-1111-1111-1111-111111111111",
18
- * });
19
- * // Retrieve audit trail events on a specific project
20
- * const findByProject = scaleway.audittrail.getEvent({
21
- * projectId: "11111111-1111-1111-1111-111111111111",
22
- * });
23
- * // Retrieve audit trail events for a specific type of resource
24
- * const findByResourceType = scaleway.audittrail.getEvent({
25
- * resourceType: "instance_server",
26
- * });
27
14
  * // Retrieve audit trail for a specific resource
28
15
  * const findByResourceId = scaleway.audittrail.getEvent({
29
16
  * resourceId: "11111111-1111-1111-1111-111111111111",
30
17
  * });
18
+ * ```
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as scaleway from "@pulumiverse/scaleway";
23
+ *
24
+ * // Retrieve all audit trail events on the default organization
25
+ * const findAll = scaleway.audittrail.getEvent({});
26
+ * ```
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as scaleway from "@pulumiverse/scaleway";
31
+ *
31
32
  * // Retrieve audit trail for a specific Scaleway product
32
33
  * const findByProductName = scaleway.audittrail.getEvent({
33
34
  * productName: "secret-manager",
34
35
  * });
36
+ * ```
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as scaleway from "@pulumiverse/scaleway";
41
+ *
35
42
  * // Retrieve audit trail events with various filtering
36
43
  * const findWithFilters = scaleway.audittrail.getEvent({
37
44
  * region: "fr-par",
@@ -45,6 +52,36 @@ import * as outputs from "../types/output";
45
52
  * orderBy: "recorded_at_desc",
46
53
  * });
47
54
  * ```
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as scaleway from "@pulumiverse/scaleway";
59
+ *
60
+ * // Retrieve audit trail events on a specific organization
61
+ * const findByOrg = scaleway.audittrail.getEvent({
62
+ * organizationId: "11111111-1111-1111-1111-111111111111",
63
+ * });
64
+ * ```
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as scaleway from "@pulumiverse/scaleway";
69
+ *
70
+ * // Retrieve audit trail events on a specific project
71
+ * const findByProject = scaleway.audittrail.getEvent({
72
+ * projectId: "11111111-1111-1111-1111-111111111111",
73
+ * });
74
+ * ```
75
+ *
76
+ * ```typescript
77
+ * import * as pulumi from "@pulumi/pulumi";
78
+ * import * as scaleway from "@pulumiverse/scaleway";
79
+ *
80
+ * // Retrieve audit trail events for a specific type of resource
81
+ * const findByResourceType = scaleway.audittrail.getEvent({
82
+ * resourceType: "instance_server",
83
+ * });
84
+ * ```
48
85
  */
49
86
  export declare function getEvent(args?: GetEventArgs, opts?: pulumi.InvokeOptions): Promise<GetEventResult>;
50
87
  /**
@@ -157,8 +194,9 @@ export interface GetEventResult {
157
194
  readonly status?: number;
158
195
  }
159
196
  /**
160
- * Use this data source to get a list of existing Audit Trail events.
161
- * For more information refer to the [Audit Trail API documentation](https://www.scaleway.com/en/developers/api/audit-trail/).
197
+ * The `scaleway.audittrail.getEvent` data source is used to retrieve information about existing Audit Trail events.
198
+ *
199
+ * Refer to the Audit Trail [documentation](https://www.scaleway.com/en/docs/audit-trail/) and [API documentation](https://www.scaleway.com/en/developers/api/audit-trail/) for more information.
162
200
  *
163
201
  * ## Example Usage
164
202
  *
@@ -166,28 +204,34 @@ export interface GetEventResult {
166
204
  * import * as pulumi from "@pulumi/pulumi";
167
205
  * import * as scaleway from "@pulumiverse/scaleway";
168
206
  *
169
- * // Retrieve all audit trail events on the default organization
170
- * const findAll = scaleway.audittrail.getEvent({});
171
- * // Retrieve audit trail events on a specific organization
172
- * const findByOrg = scaleway.audittrail.getEvent({
173
- * organizationId: "11111111-1111-1111-1111-111111111111",
174
- * });
175
- * // Retrieve audit trail events on a specific project
176
- * const findByProject = scaleway.audittrail.getEvent({
177
- * projectId: "11111111-1111-1111-1111-111111111111",
178
- * });
179
- * // Retrieve audit trail events for a specific type of resource
180
- * const findByResourceType = scaleway.audittrail.getEvent({
181
- * resourceType: "instance_server",
182
- * });
183
207
  * // Retrieve audit trail for a specific resource
184
208
  * const findByResourceId = scaleway.audittrail.getEvent({
185
209
  * resourceId: "11111111-1111-1111-1111-111111111111",
186
210
  * });
211
+ * ```
212
+ *
213
+ * ```typescript
214
+ * import * as pulumi from "@pulumi/pulumi";
215
+ * import * as scaleway from "@pulumiverse/scaleway";
216
+ *
217
+ * // Retrieve all audit trail events on the default organization
218
+ * const findAll = scaleway.audittrail.getEvent({});
219
+ * ```
220
+ *
221
+ * ```typescript
222
+ * import * as pulumi from "@pulumi/pulumi";
223
+ * import * as scaleway from "@pulumiverse/scaleway";
224
+ *
187
225
  * // Retrieve audit trail for a specific Scaleway product
188
226
  * const findByProductName = scaleway.audittrail.getEvent({
189
227
  * productName: "secret-manager",
190
228
  * });
229
+ * ```
230
+ *
231
+ * ```typescript
232
+ * import * as pulumi from "@pulumi/pulumi";
233
+ * import * as scaleway from "@pulumiverse/scaleway";
234
+ *
191
235
  * // Retrieve audit trail events with various filtering
192
236
  * const findWithFilters = scaleway.audittrail.getEvent({
193
237
  * region: "fr-par",
@@ -201,6 +245,36 @@ export interface GetEventResult {
201
245
  * orderBy: "recorded_at_desc",
202
246
  * });
203
247
  * ```
248
+ *
249
+ * ```typescript
250
+ * import * as pulumi from "@pulumi/pulumi";
251
+ * import * as scaleway from "@pulumiverse/scaleway";
252
+ *
253
+ * // Retrieve audit trail events on a specific organization
254
+ * const findByOrg = scaleway.audittrail.getEvent({
255
+ * organizationId: "11111111-1111-1111-1111-111111111111",
256
+ * });
257
+ * ```
258
+ *
259
+ * ```typescript
260
+ * import * as pulumi from "@pulumi/pulumi";
261
+ * import * as scaleway from "@pulumiverse/scaleway";
262
+ *
263
+ * // Retrieve audit trail events on a specific project
264
+ * const findByProject = scaleway.audittrail.getEvent({
265
+ * projectId: "11111111-1111-1111-1111-111111111111",
266
+ * });
267
+ * ```
268
+ *
269
+ * ```typescript
270
+ * import * as pulumi from "@pulumi/pulumi";
271
+ * import * as scaleway from "@pulumiverse/scaleway";
272
+ *
273
+ * // Retrieve audit trail events for a specific type of resource
274
+ * const findByResourceType = scaleway.audittrail.getEvent({
275
+ * resourceType: "instance_server",
276
+ * });
277
+ * ```
204
278
  */
205
279
  export declare function getEventOutput(args?: GetEventOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventResult>;
206
280
  /**
@@ -6,8 +6,9 @@ exports.getEventOutput = exports.getEvent = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Use this data source to get a list of existing Audit Trail events.
10
- * For more information refer to the [Audit Trail API documentation](https://www.scaleway.com/en/developers/api/audit-trail/).
9
+ * The `scaleway.audittrail.getEvent` data source is used to retrieve information about existing Audit Trail events.
10
+ *
11
+ * Refer to the Audit Trail [documentation](https://www.scaleway.com/en/docs/audit-trail/) and [API documentation](https://www.scaleway.com/en/developers/api/audit-trail/) for more information.
11
12
  *
12
13
  * ## Example Usage
13
14
  *
@@ -15,28 +16,34 @@ const utilities = require("../utilities");
15
16
  * import * as pulumi from "@pulumi/pulumi";
16
17
  * import * as scaleway from "@pulumiverse/scaleway";
17
18
  *
18
- * // Retrieve all audit trail events on the default organization
19
- * const findAll = scaleway.audittrail.getEvent({});
20
- * // Retrieve audit trail events on a specific organization
21
- * const findByOrg = scaleway.audittrail.getEvent({
22
- * organizationId: "11111111-1111-1111-1111-111111111111",
23
- * });
24
- * // Retrieve audit trail events on a specific project
25
- * const findByProject = scaleway.audittrail.getEvent({
26
- * projectId: "11111111-1111-1111-1111-111111111111",
27
- * });
28
- * // Retrieve audit trail events for a specific type of resource
29
- * const findByResourceType = scaleway.audittrail.getEvent({
30
- * resourceType: "instance_server",
31
- * });
32
19
  * // Retrieve audit trail for a specific resource
33
20
  * const findByResourceId = scaleway.audittrail.getEvent({
34
21
  * resourceId: "11111111-1111-1111-1111-111111111111",
35
22
  * });
23
+ * ```
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as scaleway from "@pulumiverse/scaleway";
28
+ *
29
+ * // Retrieve all audit trail events on the default organization
30
+ * const findAll = scaleway.audittrail.getEvent({});
31
+ * ```
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as scaleway from "@pulumiverse/scaleway";
36
+ *
36
37
  * // Retrieve audit trail for a specific Scaleway product
37
38
  * const findByProductName = scaleway.audittrail.getEvent({
38
39
  * productName: "secret-manager",
39
40
  * });
41
+ * ```
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as scaleway from "@pulumiverse/scaleway";
46
+ *
40
47
  * // Retrieve audit trail events with various filtering
41
48
  * const findWithFilters = scaleway.audittrail.getEvent({
42
49
  * region: "fr-par",
@@ -50,6 +57,36 @@ const utilities = require("../utilities");
50
57
  * orderBy: "recorded_at_desc",
51
58
  * });
52
59
  * ```
60
+ *
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as scaleway from "@pulumiverse/scaleway";
64
+ *
65
+ * // Retrieve audit trail events on a specific organization
66
+ * const findByOrg = scaleway.audittrail.getEvent({
67
+ * organizationId: "11111111-1111-1111-1111-111111111111",
68
+ * });
69
+ * ```
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as scaleway from "@pulumiverse/scaleway";
74
+ *
75
+ * // Retrieve audit trail events on a specific project
76
+ * const findByProject = scaleway.audittrail.getEvent({
77
+ * projectId: "11111111-1111-1111-1111-111111111111",
78
+ * });
79
+ * ```
80
+ *
81
+ * ```typescript
82
+ * import * as pulumi from "@pulumi/pulumi";
83
+ * import * as scaleway from "@pulumiverse/scaleway";
84
+ *
85
+ * // Retrieve audit trail events for a specific type of resource
86
+ * const findByResourceType = scaleway.audittrail.getEvent({
87
+ * resourceType: "instance_server",
88
+ * });
89
+ * ```
53
90
  */
54
91
  function getEvent(args, opts) {
55
92
  args = args || {};
@@ -73,8 +110,9 @@ function getEvent(args, opts) {
73
110
  }
74
111
  exports.getEvent = getEvent;
75
112
  /**
76
- * Use this data source to get a list of existing Audit Trail events.
77
- * For more information refer to the [Audit Trail API documentation](https://www.scaleway.com/en/developers/api/audit-trail/).
113
+ * The `scaleway.audittrail.getEvent` data source is used to retrieve information about existing Audit Trail events.
114
+ *
115
+ * Refer to the Audit Trail [documentation](https://www.scaleway.com/en/docs/audit-trail/) and [API documentation](https://www.scaleway.com/en/developers/api/audit-trail/) for more information.
78
116
  *
79
117
  * ## Example Usage
80
118
  *
@@ -82,28 +120,34 @@ exports.getEvent = getEvent;
82
120
  * import * as pulumi from "@pulumi/pulumi";
83
121
  * import * as scaleway from "@pulumiverse/scaleway";
84
122
  *
85
- * // Retrieve all audit trail events on the default organization
86
- * const findAll = scaleway.audittrail.getEvent({});
87
- * // Retrieve audit trail events on a specific organization
88
- * const findByOrg = scaleway.audittrail.getEvent({
89
- * organizationId: "11111111-1111-1111-1111-111111111111",
90
- * });
91
- * // Retrieve audit trail events on a specific project
92
- * const findByProject = scaleway.audittrail.getEvent({
93
- * projectId: "11111111-1111-1111-1111-111111111111",
94
- * });
95
- * // Retrieve audit trail events for a specific type of resource
96
- * const findByResourceType = scaleway.audittrail.getEvent({
97
- * resourceType: "instance_server",
98
- * });
99
123
  * // Retrieve audit trail for a specific resource
100
124
  * const findByResourceId = scaleway.audittrail.getEvent({
101
125
  * resourceId: "11111111-1111-1111-1111-111111111111",
102
126
  * });
127
+ * ```
128
+ *
129
+ * ```typescript
130
+ * import * as pulumi from "@pulumi/pulumi";
131
+ * import * as scaleway from "@pulumiverse/scaleway";
132
+ *
133
+ * // Retrieve all audit trail events on the default organization
134
+ * const findAll = scaleway.audittrail.getEvent({});
135
+ * ```
136
+ *
137
+ * ```typescript
138
+ * import * as pulumi from "@pulumi/pulumi";
139
+ * import * as scaleway from "@pulumiverse/scaleway";
140
+ *
103
141
  * // Retrieve audit trail for a specific Scaleway product
104
142
  * const findByProductName = scaleway.audittrail.getEvent({
105
143
  * productName: "secret-manager",
106
144
  * });
145
+ * ```
146
+ *
147
+ * ```typescript
148
+ * import * as pulumi from "@pulumi/pulumi";
149
+ * import * as scaleway from "@pulumiverse/scaleway";
150
+ *
107
151
  * // Retrieve audit trail events with various filtering
108
152
  * const findWithFilters = scaleway.audittrail.getEvent({
109
153
  * region: "fr-par",
@@ -117,6 +161,36 @@ exports.getEvent = getEvent;
117
161
  * orderBy: "recorded_at_desc",
118
162
  * });
119
163
  * ```
164
+ *
165
+ * ```typescript
166
+ * import * as pulumi from "@pulumi/pulumi";
167
+ * import * as scaleway from "@pulumiverse/scaleway";
168
+ *
169
+ * // Retrieve audit trail events on a specific organization
170
+ * const findByOrg = scaleway.audittrail.getEvent({
171
+ * organizationId: "11111111-1111-1111-1111-111111111111",
172
+ * });
173
+ * ```
174
+ *
175
+ * ```typescript
176
+ * import * as pulumi from "@pulumi/pulumi";
177
+ * import * as scaleway from "@pulumiverse/scaleway";
178
+ *
179
+ * // Retrieve audit trail events on a specific project
180
+ * const findByProject = scaleway.audittrail.getEvent({
181
+ * projectId: "11111111-1111-1111-1111-111111111111",
182
+ * });
183
+ * ```
184
+ *
185
+ * ```typescript
186
+ * import * as pulumi from "@pulumi/pulumi";
187
+ * import * as scaleway from "@pulumiverse/scaleway";
188
+ *
189
+ * // Retrieve audit trail events for a specific type of resource
190
+ * const findByResourceType = scaleway.audittrail.getEvent({
191
+ * resourceType: "instance_server",
192
+ * });
193
+ * ```
120
194
  */
121
195
  function getEventOutput(args, opts) {
122
196
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getEvent.js","sourceRoot":"","sources":["../../audittrail/getEvent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,uCAAuC,EAAE;QAClE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,gBAAg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AI,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,uCAAuC,EAAE;QACxE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAnBD,wCAmBC"}
@@ -8,13 +8,29 @@ import * as outputs from "./types/output";
8
8
  *
9
9
  * ## Example Usage
10
10
  *
11
- * ### Enable the alert manager and configure managed alerts
11
+ * ### Enable preconfigured alerts (Recommended)
12
12
  *
13
- * The following commands allow you to:
13
+ * Use preconfigured alerts to monitor your Scaleway resources with ready-to-use alert rules:
14
14
  *
15
- * - enable the alert manager in a Project named `tfTestProject`
16
- * - enable [managed alerts](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#managed-alerts)
17
- * - set up [contact points](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#contact-points) to receive alert notifications
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * const project = new scaleway.account.Project("project", {name: "my-observability-project"});
20
+ * const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
21
+ * const all = scaleway.observability.getPreconfiguredAlertOutput({
22
+ * projectId: main.projectId,
23
+ * });
24
+ * const mainAlertManager = new scaleway.observability.AlertManager("main", {
25
+ * projectId: main.projectId,
26
+ * preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance").map(alert => (alert.preconfiguredRuleId))),
27
+ * contactPoints: [{
28
+ * email: "alerts@example.com",
29
+ * }],
30
+ * });
31
+ * ```
32
+ *
33
+ * ### Enable the alert manager with contact points
18
34
  *
19
35
  * ```typescript
20
36
  * import * as pulumi from "@pulumi/pulumi";
@@ -23,7 +39,6 @@ import * as outputs from "./types/output";
23
39
  * const project = new scaleway.account.Project("project", {name: "tf_test_project"});
24
40
  * const alertManager = new scaleway.observability.AlertManager("alert_manager", {
25
41
  * projectId: project.id,
26
- * enableManagedAlerts: true,
27
42
  * contactPoints: [
28
43
  * {
29
44
  * email: "alert1@example.com",
@@ -35,6 +50,24 @@ import * as outputs from "./types/output";
35
50
  * });
36
51
  * ```
37
52
  *
53
+ * ### Legacy: Enable managed alerts (Deprecated)
54
+ *
55
+ * > **Deprecated:** The `enableManagedAlerts` field is deprecated. Use `preconfiguredAlertIds` instead.
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as scaleway from "@pulumiverse/scaleway";
60
+ *
61
+ * const project = new scaleway.account.Project("project", {name: "tf_test_project"});
62
+ * const alertManager = new scaleway.observability.AlertManager("alert_manager", {
63
+ * projectId: project.id,
64
+ * enableManagedAlerts: true,
65
+ * contactPoints: [{
66
+ * email: "alert@example.com",
67
+ * }],
68
+ * });
69
+ * ```
70
+ *
38
71
  * ## Import
39
72
  *
40
73
  * This section explains how to import alert managers using the ID of the Project associated with Cockpit.
@@ -68,13 +101,19 @@ export declare class CockpitAlertManager extends pulumi.CustomResource {
68
101
  */
69
102
  readonly alertManagerUrl: pulumi.Output<string>;
70
103
  /**
71
- * A list of contact points with email addresses that will receive alerts. Each map should contain a single key email.
104
+ * A list of contact points with email addresses that will receive alerts. Each map should contain a single key `email`.
72
105
  */
73
106
  readonly contactPoints: pulumi.Output<outputs.CockpitAlertManagerContactPoint[] | undefined>;
74
107
  /**
75
- * Specifies whether the alert manager should be enabled. Defaults to true.
108
+ * **Deprecated** (Optional, Boolean) Use `preconfiguredAlertIds` instead. This field will be removed in a future version. When set to `true`, it enables *all* preconfigured alerts for the project. You cannot filter or disable individual alerts with this legacy flag.
109
+ *
110
+ * @deprecated Use 'preconfigured_alert_ids' instead. This field will be removed in a future version.
76
111
  */
77
- readonly enableManagedAlerts: pulumi.Output<boolean | undefined>;
112
+ readonly enableManagedAlerts: pulumi.Output<boolean>;
113
+ /**
114
+ * A set of preconfigured alert rule IDs to enable explicitly. Use the `scaleway.observability.getPreconfiguredAlert` data source to list available alerts.
115
+ */
116
+ readonly preconfiguredAlertIds: pulumi.Output<string[] | undefined>;
78
117
  /**
79
118
  * ) The ID of the Project the Cockpit is associated with.
80
119
  */
@@ -102,13 +141,19 @@ export interface CockpitAlertManagerState {
102
141
  */
103
142
  alertManagerUrl?: pulumi.Input<string>;
104
143
  /**
105
- * A list of contact points with email addresses that will receive alerts. Each map should contain a single key email.
144
+ * A list of contact points with email addresses that will receive alerts. Each map should contain a single key `email`.
106
145
  */
107
146
  contactPoints?: pulumi.Input<pulumi.Input<inputs.CockpitAlertManagerContactPoint>[]>;
108
147
  /**
109
- * Specifies whether the alert manager should be enabled. Defaults to true.
148
+ * **Deprecated** (Optional, Boolean) Use `preconfiguredAlertIds` instead. This field will be removed in a future version. When set to `true`, it enables *all* preconfigured alerts for the project. You cannot filter or disable individual alerts with this legacy flag.
149
+ *
150
+ * @deprecated Use 'preconfigured_alert_ids' instead. This field will be removed in a future version.
110
151
  */
111
152
  enableManagedAlerts?: pulumi.Input<boolean>;
153
+ /**
154
+ * A set of preconfigured alert rule IDs to enable explicitly. Use the `scaleway.observability.getPreconfiguredAlert` data source to list available alerts.
155
+ */
156
+ preconfiguredAlertIds?: pulumi.Input<pulumi.Input<string>[]>;
112
157
  /**
113
158
  * ) The ID of the Project the Cockpit is associated with.
114
159
  */
@@ -123,13 +168,19 @@ export interface CockpitAlertManagerState {
123
168
  */
124
169
  export interface CockpitAlertManagerArgs {
125
170
  /**
126
- * A list of contact points with email addresses that will receive alerts. Each map should contain a single key email.
171
+ * A list of contact points with email addresses that will receive alerts. Each map should contain a single key `email`.
127
172
  */
128
173
  contactPoints?: pulumi.Input<pulumi.Input<inputs.CockpitAlertManagerContactPoint>[]>;
129
174
  /**
130
- * Specifies whether the alert manager should be enabled. Defaults to true.
175
+ * **Deprecated** (Optional, Boolean) Use `preconfiguredAlertIds` instead. This field will be removed in a future version. When set to `true`, it enables *all* preconfigured alerts for the project. You cannot filter or disable individual alerts with this legacy flag.
176
+ *
177
+ * @deprecated Use 'preconfigured_alert_ids' instead. This field will be removed in a future version.
131
178
  */
132
179
  enableManagedAlerts?: pulumi.Input<boolean>;
180
+ /**
181
+ * A set of preconfigured alert rule IDs to enable explicitly. Use the `scaleway.observability.getPreconfiguredAlert` data source to list available alerts.
182
+ */
183
+ preconfiguredAlertIds?: pulumi.Input<pulumi.Input<string>[]>;
133
184
  /**
134
185
  * ) The ID of the Project the Cockpit is associated with.
135
186
  */