@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
@@ -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.
@@ -66,13 +99,19 @@ export declare class AlertManager extends pulumi.CustomResource {
66
99
  */
67
100
  readonly alertManagerUrl: pulumi.Output<string>;
68
101
  /**
69
- * A list of contact points with email addresses that will receive alerts. Each map should contain a single key email.
102
+ * A list of contact points with email addresses that will receive alerts. Each map should contain a single key `email`.
70
103
  */
71
104
  readonly contactPoints: pulumi.Output<outputs.observability.AlertManagerContactPoint[] | undefined>;
72
105
  /**
73
- * Specifies whether the alert manager should be enabled. Defaults to true.
106
+ * **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.
107
+ *
108
+ * @deprecated Use 'preconfigured_alert_ids' instead. This field will be removed in a future version.
74
109
  */
75
- readonly enableManagedAlerts: pulumi.Output<boolean | undefined>;
110
+ readonly enableManagedAlerts: pulumi.Output<boolean>;
111
+ /**
112
+ * A set of preconfigured alert rule IDs to enable explicitly. Use the `scaleway.observability.getPreconfiguredAlert` data source to list available alerts.
113
+ */
114
+ readonly preconfiguredAlertIds: pulumi.Output<string[] | undefined>;
76
115
  /**
77
116
  * ) The ID of the Project the Cockpit is associated with.
78
117
  */
@@ -99,13 +138,19 @@ export interface AlertManagerState {
99
138
  */
100
139
  alertManagerUrl?: pulumi.Input<string>;
101
140
  /**
102
- * A list of contact points with email addresses that will receive alerts. Each map should contain a single key email.
141
+ * A list of contact points with email addresses that will receive alerts. Each map should contain a single key `email`.
103
142
  */
104
143
  contactPoints?: pulumi.Input<pulumi.Input<inputs.observability.AlertManagerContactPoint>[]>;
105
144
  /**
106
- * Specifies whether the alert manager should be enabled. Defaults to true.
145
+ * **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.
146
+ *
147
+ * @deprecated Use 'preconfigured_alert_ids' instead. This field will be removed in a future version.
107
148
  */
108
149
  enableManagedAlerts?: pulumi.Input<boolean>;
150
+ /**
151
+ * A set of preconfigured alert rule IDs to enable explicitly. Use the `scaleway.observability.getPreconfiguredAlert` data source to list available alerts.
152
+ */
153
+ preconfiguredAlertIds?: pulumi.Input<pulumi.Input<string>[]>;
109
154
  /**
110
155
  * ) The ID of the Project the Cockpit is associated with.
111
156
  */
@@ -120,13 +165,19 @@ export interface AlertManagerState {
120
165
  */
121
166
  export interface AlertManagerArgs {
122
167
  /**
123
- * A list of contact points with email addresses that will receive alerts. Each map should contain a single key email.
168
+ * A list of contact points with email addresses that will receive alerts. Each map should contain a single key `email`.
124
169
  */
125
170
  contactPoints?: pulumi.Input<pulumi.Input<inputs.observability.AlertManagerContactPoint>[]>;
126
171
  /**
127
- * Specifies whether the alert manager should be enabled. Defaults to true.
172
+ * **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.
173
+ *
174
+ * @deprecated Use 'preconfigured_alert_ids' instead. This field will be removed in a future version.
128
175
  */
129
176
  enableManagedAlerts?: pulumi.Input<boolean>;
177
+ /**
178
+ * A set of preconfigured alert rule IDs to enable explicitly. Use the `scaleway.observability.getPreconfiguredAlert` data source to list available alerts.
179
+ */
180
+ preconfiguredAlertIds?: pulumi.Input<pulumi.Input<string>[]>;
130
181
  /**
131
182
  * ) The ID of the Project the Cockpit is associated with.
132
183
  */
@@ -12,13 +12,29 @@ const utilities = require("../utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
- * ### Enable the alert manager and configure managed alerts
15
+ * ### Enable preconfigured alerts (Recommended)
16
16
  *
17
- * The following commands allow you to:
17
+ * Use preconfigured alerts to monitor your Scaleway resources with ready-to-use alert rules:
18
18
  *
19
- * - enable the alert manager in a Project named `tfTestProject`
20
- * - enable [managed alerts](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#managed-alerts)
21
- * - set up [contact points](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#contact-points) to receive alert notifications
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as scaleway from "@pulumiverse/scaleway";
22
+ *
23
+ * const project = new scaleway.account.Project("project", {name: "my-observability-project"});
24
+ * const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
25
+ * const all = scaleway.observability.getPreconfiguredAlertOutput({
26
+ * projectId: main.projectId,
27
+ * });
28
+ * const mainAlertManager = new scaleway.observability.AlertManager("main", {
29
+ * projectId: main.projectId,
30
+ * preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance").map(alert => (alert.preconfiguredRuleId))),
31
+ * contactPoints: [{
32
+ * email: "alerts@example.com",
33
+ * }],
34
+ * });
35
+ * ```
36
+ *
37
+ * ### Enable the alert manager with contact points
22
38
  *
23
39
  * ```typescript
24
40
  * import * as pulumi from "@pulumi/pulumi";
@@ -27,7 +43,6 @@ const utilities = require("../utilities");
27
43
  * const project = new scaleway.account.Project("project", {name: "tf_test_project"});
28
44
  * const alertManager = new scaleway.observability.AlertManager("alert_manager", {
29
45
  * projectId: project.id,
30
- * enableManagedAlerts: true,
31
46
  * contactPoints: [
32
47
  * {
33
48
  * email: "alert1@example.com",
@@ -39,6 +54,24 @@ const utilities = require("../utilities");
39
54
  * });
40
55
  * ```
41
56
  *
57
+ * ### Legacy: Enable managed alerts (Deprecated)
58
+ *
59
+ * > **Deprecated:** The `enableManagedAlerts` field is deprecated. Use `preconfiguredAlertIds` instead.
60
+ *
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as scaleway from "@pulumiverse/scaleway";
64
+ *
65
+ * const project = new scaleway.account.Project("project", {name: "tf_test_project"});
66
+ * const alertManager = new scaleway.observability.AlertManager("alert_manager", {
67
+ * projectId: project.id,
68
+ * enableManagedAlerts: true,
69
+ * contactPoints: [{
70
+ * email: "alert@example.com",
71
+ * }],
72
+ * });
73
+ * ```
74
+ *
42
75
  * ## Import
43
76
  *
44
77
  * This section explains how to import alert managers using the ID of the Project associated with Cockpit.
@@ -80,6 +113,7 @@ class AlertManager extends pulumi.CustomResource {
80
113
  resourceInputs["alertManagerUrl"] = state?.alertManagerUrl;
81
114
  resourceInputs["contactPoints"] = state?.contactPoints;
82
115
  resourceInputs["enableManagedAlerts"] = state?.enableManagedAlerts;
116
+ resourceInputs["preconfiguredAlertIds"] = state?.preconfiguredAlertIds;
83
117
  resourceInputs["projectId"] = state?.projectId;
84
118
  resourceInputs["region"] = state?.region;
85
119
  }
@@ -87,6 +121,7 @@ class AlertManager extends pulumi.CustomResource {
87
121
  const args = argsOrState;
88
122
  resourceInputs["contactPoints"] = args?.contactPoints;
89
123
  resourceInputs["enableManagedAlerts"] = args?.enableManagedAlerts;
124
+ resourceInputs["preconfiguredAlertIds"] = args?.preconfiguredAlertIds;
90
125
  resourceInputs["projectId"] = args?.projectId;
91
126
  resourceInputs["region"] = args?.region;
92
127
  resourceInputs["alertManagerUrl"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3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C;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,wDAAwD,EAAE,CAAC,EAAE,CAAC;QACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAvFL,oCAwFC;AA1EG,gBAAgB;AACO,yBAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,185 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Gets information about preconfigured alert rules available in Scaleway Cockpit.
5
+ *
6
+ * Preconfigured alerts are ready-to-use alert rules that monitor common metrics for Scaleway services.
7
+ * You can enable these alerts in your Alert Manager using the `scaleway.observability.AlertManager` resource.
8
+ *
9
+ * For more information, 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).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * const main = scaleway.observability.getPreconfiguredAlert({
20
+ * projectId: project.id,
21
+ * });
22
+ * export const availableAlerts = main.then(main => main.alerts);
23
+ * ```
24
+ *
25
+ * ### Filter by status
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as scaleway from "@pulumiverse/scaleway";
30
+ *
31
+ * const enabled = scaleway.observability.getPreconfiguredAlert({
32
+ * projectId: project.id,
33
+ * ruleStatus: "enabled",
34
+ * });
35
+ * const disabled = scaleway.observability.getPreconfiguredAlert({
36
+ * projectId: project.id,
37
+ * ruleStatus: "disabled",
38
+ * });
39
+ * ```
40
+ *
41
+ * ### Use with Alert Manager
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as scaleway from "@pulumiverse/scaleway";
46
+ *
47
+ * const project = new scaleway.account.Project("project", {name: "my-observability-project"});
48
+ * const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
49
+ * const all = scaleway.observability.getPreconfiguredAlertOutput({
50
+ * projectId: main.projectId,
51
+ * });
52
+ * const mainAlertManager = new scaleway.observability.AlertManager("main", {
53
+ * projectId: main.projectId,
54
+ * preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance" && alert.ruleStatus == "disabled").map(alert => (alert.preconfiguredRuleId))),
55
+ * contactPoints: [{
56
+ * email: "alerts@example.com",
57
+ * }],
58
+ * });
59
+ * ```
60
+ */
61
+ export declare function getPreconfiguredAlert(args?: GetPreconfiguredAlertArgs, opts?: pulumi.InvokeOptions): Promise<GetPreconfiguredAlertResult>;
62
+ /**
63
+ * A collection of arguments for invoking getPreconfiguredAlert.
64
+ */
65
+ export interface GetPreconfiguredAlertArgs {
66
+ /**
67
+ * Filter alerts by data source ID.
68
+ */
69
+ dataSourceId?: string;
70
+ /**
71
+ * The ID of the project the alerts are associated with. If not provided, the default project configured in the provider is used.
72
+ */
73
+ projectId?: string;
74
+ /**
75
+ * The region in which the alerts exist.
76
+ */
77
+ region?: string;
78
+ /**
79
+ * Filter alerts by rule status. Valid values are `enabled` or `disabled`.
80
+ */
81
+ ruleStatus?: string;
82
+ }
83
+ /**
84
+ * A collection of values returned by getPreconfiguredAlert.
85
+ */
86
+ export interface GetPreconfiguredAlertResult {
87
+ /**
88
+ * List of preconfigured alerts. Each alert contains:
89
+ */
90
+ readonly alerts: outputs.observability.GetPreconfiguredAlertAlert[];
91
+ /**
92
+ * ID of the data source containing the alert rule.
93
+ */
94
+ readonly dataSourceId?: string;
95
+ /**
96
+ * The provider-assigned unique ID for this managed resource.
97
+ */
98
+ readonly id: string;
99
+ readonly projectId: string;
100
+ readonly region?: string;
101
+ /**
102
+ * Status of the alert rule (`enabled`, `disabled`, `enabling`, `disabling`).
103
+ */
104
+ readonly ruleStatus?: string;
105
+ }
106
+ /**
107
+ * Gets information about preconfigured alert rules available in Scaleway Cockpit.
108
+ *
109
+ * Preconfigured alerts are ready-to-use alert rules that monitor common metrics for Scaleway services.
110
+ * You can enable these alerts in your Alert Manager using the `scaleway.observability.AlertManager` resource.
111
+ *
112
+ * For more information, 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).
113
+ *
114
+ * ## Example Usage
115
+ *
116
+ * ### Basic usage
117
+ *
118
+ * ```typescript
119
+ * import * as pulumi from "@pulumi/pulumi";
120
+ * import * as scaleway from "@pulumiverse/scaleway";
121
+ *
122
+ * const main = scaleway.observability.getPreconfiguredAlert({
123
+ * projectId: project.id,
124
+ * });
125
+ * export const availableAlerts = main.then(main => main.alerts);
126
+ * ```
127
+ *
128
+ * ### Filter by status
129
+ *
130
+ * ```typescript
131
+ * import * as pulumi from "@pulumi/pulumi";
132
+ * import * as scaleway from "@pulumiverse/scaleway";
133
+ *
134
+ * const enabled = scaleway.observability.getPreconfiguredAlert({
135
+ * projectId: project.id,
136
+ * ruleStatus: "enabled",
137
+ * });
138
+ * const disabled = scaleway.observability.getPreconfiguredAlert({
139
+ * projectId: project.id,
140
+ * ruleStatus: "disabled",
141
+ * });
142
+ * ```
143
+ *
144
+ * ### Use with Alert Manager
145
+ *
146
+ * ```typescript
147
+ * import * as pulumi from "@pulumi/pulumi";
148
+ * import * as scaleway from "@pulumiverse/scaleway";
149
+ *
150
+ * const project = new scaleway.account.Project("project", {name: "my-observability-project"});
151
+ * const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
152
+ * const all = scaleway.observability.getPreconfiguredAlertOutput({
153
+ * projectId: main.projectId,
154
+ * });
155
+ * const mainAlertManager = new scaleway.observability.AlertManager("main", {
156
+ * projectId: main.projectId,
157
+ * preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance" && alert.ruleStatus == "disabled").map(alert => (alert.preconfiguredRuleId))),
158
+ * contactPoints: [{
159
+ * email: "alerts@example.com",
160
+ * }],
161
+ * });
162
+ * ```
163
+ */
164
+ export declare function getPreconfiguredAlertOutput(args?: GetPreconfiguredAlertOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPreconfiguredAlertResult>;
165
+ /**
166
+ * A collection of arguments for invoking getPreconfiguredAlert.
167
+ */
168
+ export interface GetPreconfiguredAlertOutputArgs {
169
+ /**
170
+ * Filter alerts by data source ID.
171
+ */
172
+ dataSourceId?: pulumi.Input<string>;
173
+ /**
174
+ * The ID of the project the alerts are associated with. If not provided, the default project configured in the provider is used.
175
+ */
176
+ projectId?: pulumi.Input<string>;
177
+ /**
178
+ * The region in which the alerts exist.
179
+ */
180
+ region?: pulumi.Input<string>;
181
+ /**
182
+ * Filter alerts by rule status. Valid values are `enabled` or `disabled`.
183
+ */
184
+ ruleStatus?: pulumi.Input<string>;
185
+ }
@@ -0,0 +1,146 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getPreconfiguredAlertOutput = exports.getPreconfiguredAlert = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Gets information about preconfigured alert rules available in Scaleway Cockpit.
10
+ *
11
+ * Preconfigured alerts are ready-to-use alert rules that monitor common metrics for Scaleway services.
12
+ * You can enable these alerts in your Alert Manager using the `scaleway.observability.AlertManager` resource.
13
+ *
14
+ * For more information, 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).
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * ### Basic usage
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as scaleway from "@pulumiverse/scaleway";
23
+ *
24
+ * const main = scaleway.observability.getPreconfiguredAlert({
25
+ * projectId: project.id,
26
+ * });
27
+ * export const availableAlerts = main.then(main => main.alerts);
28
+ * ```
29
+ *
30
+ * ### Filter by status
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as scaleway from "@pulumiverse/scaleway";
35
+ *
36
+ * const enabled = scaleway.observability.getPreconfiguredAlert({
37
+ * projectId: project.id,
38
+ * ruleStatus: "enabled",
39
+ * });
40
+ * const disabled = scaleway.observability.getPreconfiguredAlert({
41
+ * projectId: project.id,
42
+ * ruleStatus: "disabled",
43
+ * });
44
+ * ```
45
+ *
46
+ * ### Use with Alert Manager
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as scaleway from "@pulumiverse/scaleway";
51
+ *
52
+ * const project = new scaleway.account.Project("project", {name: "my-observability-project"});
53
+ * const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
54
+ * const all = scaleway.observability.getPreconfiguredAlertOutput({
55
+ * projectId: main.projectId,
56
+ * });
57
+ * const mainAlertManager = new scaleway.observability.AlertManager("main", {
58
+ * projectId: main.projectId,
59
+ * preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance" && alert.ruleStatus == "disabled").map(alert => (alert.preconfiguredRuleId))),
60
+ * contactPoints: [{
61
+ * email: "alerts@example.com",
62
+ * }],
63
+ * });
64
+ * ```
65
+ */
66
+ function getPreconfiguredAlert(args, opts) {
67
+ args = args || {};
68
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
69
+ return pulumi.runtime.invoke("scaleway:observability/getPreconfiguredAlert:getPreconfiguredAlert", {
70
+ "dataSourceId": args.dataSourceId,
71
+ "projectId": args.projectId,
72
+ "region": args.region,
73
+ "ruleStatus": args.ruleStatus,
74
+ }, opts);
75
+ }
76
+ exports.getPreconfiguredAlert = getPreconfiguredAlert;
77
+ /**
78
+ * Gets information about preconfigured alert rules available in Scaleway Cockpit.
79
+ *
80
+ * Preconfigured alerts are ready-to-use alert rules that monitor common metrics for Scaleway services.
81
+ * You can enable these alerts in your Alert Manager using the `scaleway.observability.AlertManager` resource.
82
+ *
83
+ * For more information, 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).
84
+ *
85
+ * ## Example Usage
86
+ *
87
+ * ### Basic usage
88
+ *
89
+ * ```typescript
90
+ * import * as pulumi from "@pulumi/pulumi";
91
+ * import * as scaleway from "@pulumiverse/scaleway";
92
+ *
93
+ * const main = scaleway.observability.getPreconfiguredAlert({
94
+ * projectId: project.id,
95
+ * });
96
+ * export const availableAlerts = main.then(main => main.alerts);
97
+ * ```
98
+ *
99
+ * ### Filter by status
100
+ *
101
+ * ```typescript
102
+ * import * as pulumi from "@pulumi/pulumi";
103
+ * import * as scaleway from "@pulumiverse/scaleway";
104
+ *
105
+ * const enabled = scaleway.observability.getPreconfiguredAlert({
106
+ * projectId: project.id,
107
+ * ruleStatus: "enabled",
108
+ * });
109
+ * const disabled = scaleway.observability.getPreconfiguredAlert({
110
+ * projectId: project.id,
111
+ * ruleStatus: "disabled",
112
+ * });
113
+ * ```
114
+ *
115
+ * ### Use with Alert Manager
116
+ *
117
+ * ```typescript
118
+ * import * as pulumi from "@pulumi/pulumi";
119
+ * import * as scaleway from "@pulumiverse/scaleway";
120
+ *
121
+ * const project = new scaleway.account.Project("project", {name: "my-observability-project"});
122
+ * const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
123
+ * const all = scaleway.observability.getPreconfiguredAlertOutput({
124
+ * projectId: main.projectId,
125
+ * });
126
+ * const mainAlertManager = new scaleway.observability.AlertManager("main", {
127
+ * projectId: main.projectId,
128
+ * preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance" && alert.ruleStatus == "disabled").map(alert => (alert.preconfiguredRuleId))),
129
+ * contactPoints: [{
130
+ * email: "alerts@example.com",
131
+ * }],
132
+ * });
133
+ * ```
134
+ */
135
+ function getPreconfiguredAlertOutput(args, opts) {
136
+ args = args || {};
137
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
138
+ return pulumi.runtime.invokeOutput("scaleway:observability/getPreconfiguredAlert:getPreconfiguredAlert", {
139
+ "dataSourceId": args.dataSourceId,
140
+ "projectId": args.projectId,
141
+ "region": args.region,
142
+ "ruleStatus": args.ruleStatus,
143
+ }, opts);
144
+ }
145
+ exports.getPreconfiguredAlertOutput = getPreconfiguredAlertOutput;
146
+ //# sourceMappingURL=getPreconfiguredAlert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPreconfiguredAlert.js","sourceRoot":"","sources":["../../observability/getPreconfiguredAlert.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;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,MAAM,CAAC,oEAAoE,EAAE;QAC/F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sDASC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAAiC;IACjH,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,oEAAoE,EAAE;QACrG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kEASC"}
@@ -10,6 +10,9 @@ export declare const getGrafanaOutput: typeof import("./getGrafana").getGrafanaO
10
10
  export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
11
11
  export declare const getInstance: typeof import("./getInstance").getInstance;
12
12
  export declare const getInstanceOutput: typeof import("./getInstance").getInstanceOutput;
13
+ export { GetPreconfiguredAlertArgs, GetPreconfiguredAlertResult, GetPreconfiguredAlertOutputArgs } from "./getPreconfiguredAlert";
14
+ export declare const getPreconfiguredAlert: typeof import("./getPreconfiguredAlert").getPreconfiguredAlert;
15
+ export declare const getPreconfiguredAlertOutput: typeof import("./getPreconfiguredAlert").getPreconfiguredAlertOutput;
13
16
  export { GetSourceArgs, GetSourceResult, GetSourceOutputArgs } from "./getSource";
14
17
  export declare const getSource: typeof import("./getSource").getSource;
15
18
  export declare const getSourceOutput: typeof import("./getSource").getSourceOutput;
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Token = exports.Source = exports.GrafanaUser = exports.getSourcesOutput = exports.getSources = exports.getSourceOutput = exports.getSource = exports.getInstanceOutput = exports.getInstance = exports.getGrafanaOutput = exports.getGrafana = exports.Cockpit = exports.AlertManager = void 0;
5
+ exports.Token = exports.Source = exports.GrafanaUser = exports.getSourcesOutput = exports.getSources = exports.getSourceOutput = exports.getSource = exports.getPreconfiguredAlertOutput = exports.getPreconfiguredAlert = exports.getInstanceOutput = exports.getInstance = exports.getGrafanaOutput = exports.getGrafana = exports.Cockpit = exports.AlertManager = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AlertManager = null;
@@ -15,6 +15,9 @@ utilities.lazyLoad(exports, ["getGrafana", "getGrafanaOutput"], () => require(".
15
15
  exports.getInstance = null;
16
16
  exports.getInstanceOutput = null;
17
17
  utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
18
+ exports.getPreconfiguredAlert = null;
19
+ exports.getPreconfiguredAlertOutput = null;
20
+ utilities.lazyLoad(exports, ["getPreconfiguredAlert", "getPreconfiguredAlertOutput"], () => require("./getPreconfiguredAlert"));
18
21
  exports.getSource = null;
19
22
  exports.getSourceOutput = null;
20
23
  utilities.lazyLoad(exports, ["getSource", "getSourceOutput"], () => require("./getSource"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../observability/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAA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AAwC;gBACzC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,gDAAgD;gBACjD,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,sCAAsC;gBACvC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,oCAAoC;gBACrC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/scaleway",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "description": "A Pulumi package for creating and managing Scaleway cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,7 +24,7 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "scaleway",
27
- "version": "1.40.0",
27
+ "version": "1.41.0",
28
28
  "server": "github://api.github.com/pulumiverse"
29
29
  }
30
30
  }