@pulumiverse/scaleway 1.39.0-alpha.1763627057 → 1.39.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 (84) hide show
  1. package/audittrail/getEvent.d.ts +266 -0
  2. package/audittrail/getEvent.js +142 -0
  3. package/audittrail/getEvent.js.map +1 -0
  4. package/audittrail/index.d.ts +3 -0
  5. package/audittrail/index.js +10 -0
  6. package/audittrail/index.js.map +1 -0
  7. package/baremetalServer.d.ts +74 -0
  8. package/baremetalServer.js +64 -0
  9. package/baremetalServer.js.map +1 -1
  10. package/block/snapshot.d.ts +39 -0
  11. package/block/snapshot.js +39 -0
  12. package/block/snapshot.js.map +1 -1
  13. package/blockSnapshot.d.ts +39 -0
  14. package/blockSnapshot.js +39 -0
  15. package/blockSnapshot.js.map +1 -1
  16. package/edgeServicesCacheStage.d.ts +14 -0
  17. package/edgeServicesCacheStage.js +14 -0
  18. package/edgeServicesCacheStage.js.map +1 -1
  19. package/elasticmetal/getServer.d.ts +1 -0
  20. package/elasticmetal/getServer.js.map +1 -1
  21. package/elasticmetal/server.d.ts +74 -0
  22. package/elasticmetal/server.js +64 -0
  23. package/elasticmetal/server.js.map +1 -1
  24. package/getBaremetalServer.d.ts +1 -0
  25. package/getBaremetalServer.js.map +1 -1
  26. package/getLoadbalancerCertificate.d.ts +66 -0
  27. package/getLoadbalancerCertificate.js +66 -0
  28. package/getLoadbalancerCertificate.js.map +1 -1
  29. package/index.d.ts +2 -1
  30. package/index.js +4 -2
  31. package/index.js.map +1 -1
  32. package/inference/deployment.d.ts +18 -0
  33. package/inference/deployment.js +18 -0
  34. package/inference/deployment.js.map +1 -1
  35. package/inference/model.d.ts +3 -3
  36. package/inferenceDeployment.d.ts +18 -0
  37. package/inferenceDeployment.js +18 -0
  38. package/inferenceDeployment.js.map +1 -1
  39. package/instance/server.d.ts +9 -6
  40. package/instance/server.js.map +1 -1
  41. package/instance/userData.d.ts +2 -2
  42. package/instance/userData.js +2 -2
  43. package/instanceServer.d.ts +9 -6
  44. package/instanceServer.js.map +1 -1
  45. package/instanceUserData.d.ts +2 -2
  46. package/instanceUserData.js +2 -2
  47. package/ipam/ip.d.ts +8 -0
  48. package/ipam/ip.js +2 -0
  49. package/ipam/ip.js.map +1 -1
  50. package/ipam/ipReverseDns.d.ts +43 -0
  51. package/ipam/ipReverseDns.js +43 -0
  52. package/ipam/ipReverseDns.js.map +1 -1
  53. package/ipamIp.d.ts +8 -0
  54. package/ipamIp.js +2 -0
  55. package/ipamIp.js.map +1 -1
  56. package/ipamIpReverseDns.d.ts +43 -0
  57. package/ipamIpReverseDns.js +43 -0
  58. package/ipamIpReverseDns.js.map +1 -1
  59. package/kubernetes/cluster.d.ts +15 -0
  60. package/kubernetes/cluster.js +15 -0
  61. package/kubernetes/cluster.js.map +1 -1
  62. package/kubernetesCluster.d.ts +15 -0
  63. package/kubernetesCluster.js +15 -0
  64. package/kubernetesCluster.js.map +1 -1
  65. package/loadbalancers/getCertificate.d.ts +66 -0
  66. package/loadbalancers/getCertificate.js +66 -0
  67. package/loadbalancers/getCertificate.js.map +1 -1
  68. package/object/item.d.ts +21 -3
  69. package/object/item.js +18 -0
  70. package/object/item.js.map +1 -1
  71. package/objectItem.d.ts +21 -3
  72. package/objectItem.js +18 -0
  73. package/objectItem.js.map +1 -1
  74. package/observability/getSources.d.ts +6 -6
  75. package/observability/getSources.js +4 -4
  76. package/package.json +2 -2
  77. package/tem/domain.d.ts +26 -0
  78. package/tem/domain.js +26 -0
  79. package/tem/domain.js.map +1 -1
  80. package/temDomain.d.ts +26 -0
  81. package/temDomain.js +26 -0
  82. package/temDomain.js.map +1 -1
  83. package/types/input.d.ts +2 -0
  84. package/types/output.d.ts +79 -1
@@ -0,0 +1,266 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
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/).
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as scaleway from "@pulumiverse/scaleway";
12
+ *
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
+ * // Retrieve audit trail for a specific resource
28
+ * const findByResourceId = scaleway.audittrail.getEvent({
29
+ * resourceId: "11111111-1111-1111-1111-111111111111",
30
+ * });
31
+ * // Retrieve audit trail for a specific Scaleway product
32
+ * const findByProductName = scaleway.audittrail.getEvent({
33
+ * productName: "secret-manager",
34
+ * });
35
+ * // Retrieve audit trail events with various filtering
36
+ * const findWithFilters = scaleway.audittrail.getEvent({
37
+ * region: "fr-par",
38
+ * serviceName: "instance",
39
+ * methodName: "CreateServer",
40
+ * principalId: "11111111-1111-1111-1111-111111111111",
41
+ * sourceIp: "192.0.2.1",
42
+ * status: 200,
43
+ * recordedAfter: "2025-10-01T00:00:00Z",
44
+ * recordedBefore: "2025-12-31T23:59:59Z",
45
+ * orderBy: "recorded_at_desc",
46
+ * });
47
+ * ```
48
+ */
49
+ export declare function getEvent(args?: GetEventArgs, opts?: pulumi.InvokeOptions): Promise<GetEventResult>;
50
+ /**
51
+ * A collection of arguments for invoking getEvent.
52
+ */
53
+ export interface GetEventArgs {
54
+ /**
55
+ * Name of the method of the API call performed.
56
+ */
57
+ methodName?: string;
58
+ /**
59
+ * Defines the order in which events are returned. Possible values are `recordedAtAsc` and `recordedAtDesc`. Default value: `recordedAtDesc`.
60
+ */
61
+ orderBy?: string;
62
+ /**
63
+ * `organizationId`) ID of the Organization containing the Audit Trail events.
64
+ */
65
+ organizationId?: string;
66
+ /**
67
+ * ID of the User or IAM application at the origin of the event.
68
+ */
69
+ principalId?: string;
70
+ /**
71
+ * Name of the Scaleway product in a hyphenated format.
72
+ */
73
+ productName?: string;
74
+ /**
75
+ * ID of the Project containing the Audit Trail events.
76
+ */
77
+ projectId?: string;
78
+ /**
79
+ * The `recordedAfter` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default (Format ISO 8601).
80
+ */
81
+ recordedAfter?: string;
82
+ /**
83
+ * The `recordedBefore` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returns `now` by default (Format ISO 8601).
84
+ */
85
+ recordedBefore?: string;
86
+ /**
87
+ * The region you want to target. Defaults to the region specified in the provider configuration.
88
+ */
89
+ region?: string;
90
+ /**
91
+ * ID of the Scaleway resource associated with the listed events.
92
+ */
93
+ resourceId?: string;
94
+ /**
95
+ * Type of the scaleway resources associated with the listed events. Possible values are: `secmSecret`, `secmSecretVersion`, `kubeCluster`, `kubePool`, `kubeNode`, `kubeAcl`, `keymKey`, `iamUser`, `iamApplication`, `iamGroup`, `iamPolicy`, `iamApiKey`, `iamSshKey`, `iamRule`, `iamSaml`, `iamSamlCertificate`, `secretManagerSecret`, `secretManagerVersion`, `keyManagerKey`, `accountUser`, `accountOrganization`, `accountProject`, `instanceServer`, `instancePlacementGroup`, `instanceSecurityGroup`, `instanceVolume`, `instanceSnapshot`, `instanceImage`, `appleSiliconServer`, `baremetalServer`, `baremetalSetting`, `ipamIp`, `sbsVolume`, `sbsSnapshot`, `loadBalancerLb`, `loadBalancerIp`, `loadBalancerFrontend`, `loadBalancerBackend`, `loadBalancerRoute`, `loadBalancerAcl`, `loadBalancerCertificate`, `sfsFilesystem`, or `vpcPrivateNetwork`.
96
+ */
97
+ resourceType?: string;
98
+ /**
99
+ * Name of the service of the API call performed.
100
+ */
101
+ serviceName?: string;
102
+ /**
103
+ * IP address at the origin of the event.
104
+ */
105
+ sourceIp?: string;
106
+ /**
107
+ * HTTP status code of the request.
108
+ */
109
+ status?: number;
110
+ }
111
+ /**
112
+ * A collection of values returned by getEvent.
113
+ */
114
+ export interface GetEventResult {
115
+ /**
116
+ * List of Audit Trail events matching the requested criteria.
117
+ */
118
+ readonly events: outputs.audittrail.GetEventEvent[];
119
+ /**
120
+ * The provider-assigned unique ID for this managed resource.
121
+ */
122
+ readonly id: string;
123
+ /**
124
+ * API method called to trigger the event.
125
+ */
126
+ readonly methodName?: string;
127
+ readonly orderBy?: string;
128
+ /**
129
+ * ID of the Organization containing the Audit Trail events. (UUID format)
130
+ */
131
+ readonly organizationId: string;
132
+ /**
133
+ * ID of the user or IAM application at the origin of the event.
134
+ */
135
+ readonly principalId?: string;
136
+ /**
137
+ * Scaleway product associated with the listed events in a hyphenated format. Possible values are: `secret-manager`, `key-manager`, `iam`, `kubernetes`, `account`, `apple-silicon`, `instance`, `baremetal`, `load-balancer`, or `edge-services`.
138
+ */
139
+ readonly productName?: string;
140
+ /**
141
+ * Project of the resource attached to the event. (UUID format)
142
+ */
143
+ readonly projectId?: string;
144
+ readonly recordedAfter?: string;
145
+ readonly recordedBefore?: string;
146
+ readonly region?: string;
147
+ readonly resourceId?: string;
148
+ readonly resourceType?: string;
149
+ /**
150
+ * API name called to trigger the event. Possible values are: `scaleway.secret_manager.v1beta1.Api`, `scaleway.key_manager.v1alpha1.Api`, `scaleway.iam.v1alpha1.Api`, `scaleway.iam.v1alpha1.UnauthenticatedApi`, `scaleway.k8s.v1.Api`, `scaleway.account.v3.UserApi`, `scaleway.account.v3.OrganizationApi`, `scaleway.account.v2.GDPRApi`, `scaleway.apple_silicon.v1alpha1.Api`, `scaleway.instance.v1.Api`, `scaleway.baremetal.v1.Api`, or `scaleway.lb.v1.ZonedApi`.
151
+ */
152
+ readonly serviceName?: string;
153
+ /**
154
+ * IP address at the origin of the event. (IP address)
155
+ */
156
+ readonly sourceIp?: string;
157
+ readonly status?: number;
158
+ }
159
+ /**
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/).
162
+ *
163
+ * ## Example Usage
164
+ *
165
+ * ```typescript
166
+ * import * as pulumi from "@pulumi/pulumi";
167
+ * import * as scaleway from "@pulumiverse/scaleway";
168
+ *
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
+ * // Retrieve audit trail for a specific resource
184
+ * const findByResourceId = scaleway.audittrail.getEvent({
185
+ * resourceId: "11111111-1111-1111-1111-111111111111",
186
+ * });
187
+ * // Retrieve audit trail for a specific Scaleway product
188
+ * const findByProductName = scaleway.audittrail.getEvent({
189
+ * productName: "secret-manager",
190
+ * });
191
+ * // Retrieve audit trail events with various filtering
192
+ * const findWithFilters = scaleway.audittrail.getEvent({
193
+ * region: "fr-par",
194
+ * serviceName: "instance",
195
+ * methodName: "CreateServer",
196
+ * principalId: "11111111-1111-1111-1111-111111111111",
197
+ * sourceIp: "192.0.2.1",
198
+ * status: 200,
199
+ * recordedAfter: "2025-10-01T00:00:00Z",
200
+ * recordedBefore: "2025-12-31T23:59:59Z",
201
+ * orderBy: "recorded_at_desc",
202
+ * });
203
+ * ```
204
+ */
205
+ export declare function getEventOutput(args?: GetEventOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventResult>;
206
+ /**
207
+ * A collection of arguments for invoking getEvent.
208
+ */
209
+ export interface GetEventOutputArgs {
210
+ /**
211
+ * Name of the method of the API call performed.
212
+ */
213
+ methodName?: pulumi.Input<string>;
214
+ /**
215
+ * Defines the order in which events are returned. Possible values are `recordedAtAsc` and `recordedAtDesc`. Default value: `recordedAtDesc`.
216
+ */
217
+ orderBy?: pulumi.Input<string>;
218
+ /**
219
+ * `organizationId`) ID of the Organization containing the Audit Trail events.
220
+ */
221
+ organizationId?: pulumi.Input<string>;
222
+ /**
223
+ * ID of the User or IAM application at the origin of the event.
224
+ */
225
+ principalId?: pulumi.Input<string>;
226
+ /**
227
+ * Name of the Scaleway product in a hyphenated format.
228
+ */
229
+ productName?: pulumi.Input<string>;
230
+ /**
231
+ * ID of the Project containing the Audit Trail events.
232
+ */
233
+ projectId?: pulumi.Input<string>;
234
+ /**
235
+ * The `recordedAfter` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default (Format ISO 8601).
236
+ */
237
+ recordedAfter?: pulumi.Input<string>;
238
+ /**
239
+ * The `recordedBefore` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returns `now` by default (Format ISO 8601).
240
+ */
241
+ recordedBefore?: pulumi.Input<string>;
242
+ /**
243
+ * The region you want to target. Defaults to the region specified in the provider configuration.
244
+ */
245
+ region?: pulumi.Input<string>;
246
+ /**
247
+ * ID of the Scaleway resource associated with the listed events.
248
+ */
249
+ resourceId?: pulumi.Input<string>;
250
+ /**
251
+ * Type of the scaleway resources associated with the listed events. Possible values are: `secmSecret`, `secmSecretVersion`, `kubeCluster`, `kubePool`, `kubeNode`, `kubeAcl`, `keymKey`, `iamUser`, `iamApplication`, `iamGroup`, `iamPolicy`, `iamApiKey`, `iamSshKey`, `iamRule`, `iamSaml`, `iamSamlCertificate`, `secretManagerSecret`, `secretManagerVersion`, `keyManagerKey`, `accountUser`, `accountOrganization`, `accountProject`, `instanceServer`, `instancePlacementGroup`, `instanceSecurityGroup`, `instanceVolume`, `instanceSnapshot`, `instanceImage`, `appleSiliconServer`, `baremetalServer`, `baremetalSetting`, `ipamIp`, `sbsVolume`, `sbsSnapshot`, `loadBalancerLb`, `loadBalancerIp`, `loadBalancerFrontend`, `loadBalancerBackend`, `loadBalancerRoute`, `loadBalancerAcl`, `loadBalancerCertificate`, `sfsFilesystem`, or `vpcPrivateNetwork`.
252
+ */
253
+ resourceType?: pulumi.Input<string>;
254
+ /**
255
+ * Name of the service of the API call performed.
256
+ */
257
+ serviceName?: pulumi.Input<string>;
258
+ /**
259
+ * IP address at the origin of the event.
260
+ */
261
+ sourceIp?: pulumi.Input<string>;
262
+ /**
263
+ * HTTP status code of the request.
264
+ */
265
+ status?: pulumi.Input<number>;
266
+ }
@@ -0,0 +1,142 @@
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.getEventOutput = exports.getEvent = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
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/).
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as scaleway from "@pulumiverse/scaleway";
17
+ *
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
+ * // Retrieve audit trail for a specific resource
33
+ * const findByResourceId = scaleway.audittrail.getEvent({
34
+ * resourceId: "11111111-1111-1111-1111-111111111111",
35
+ * });
36
+ * // Retrieve audit trail for a specific Scaleway product
37
+ * const findByProductName = scaleway.audittrail.getEvent({
38
+ * productName: "secret-manager",
39
+ * });
40
+ * // Retrieve audit trail events with various filtering
41
+ * const findWithFilters = scaleway.audittrail.getEvent({
42
+ * region: "fr-par",
43
+ * serviceName: "instance",
44
+ * methodName: "CreateServer",
45
+ * principalId: "11111111-1111-1111-1111-111111111111",
46
+ * sourceIp: "192.0.2.1",
47
+ * status: 200,
48
+ * recordedAfter: "2025-10-01T00:00:00Z",
49
+ * recordedBefore: "2025-12-31T23:59:59Z",
50
+ * orderBy: "recorded_at_desc",
51
+ * });
52
+ * ```
53
+ */
54
+ function getEvent(args, opts) {
55
+ args = args || {};
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
57
+ return pulumi.runtime.invoke("scaleway:audittrail/getEvent:getEvent", {
58
+ "methodName": args.methodName,
59
+ "orderBy": args.orderBy,
60
+ "organizationId": args.organizationId,
61
+ "principalId": args.principalId,
62
+ "productName": args.productName,
63
+ "projectId": args.projectId,
64
+ "recordedAfter": args.recordedAfter,
65
+ "recordedBefore": args.recordedBefore,
66
+ "region": args.region,
67
+ "resourceId": args.resourceId,
68
+ "resourceType": args.resourceType,
69
+ "serviceName": args.serviceName,
70
+ "sourceIp": args.sourceIp,
71
+ "status": args.status,
72
+ }, opts);
73
+ }
74
+ exports.getEvent = getEvent;
75
+ /**
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/).
78
+ *
79
+ * ## Example Usage
80
+ *
81
+ * ```typescript
82
+ * import * as pulumi from "@pulumi/pulumi";
83
+ * import * as scaleway from "@pulumiverse/scaleway";
84
+ *
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
+ * // Retrieve audit trail for a specific resource
100
+ * const findByResourceId = scaleway.audittrail.getEvent({
101
+ * resourceId: "11111111-1111-1111-1111-111111111111",
102
+ * });
103
+ * // Retrieve audit trail for a specific Scaleway product
104
+ * const findByProductName = scaleway.audittrail.getEvent({
105
+ * productName: "secret-manager",
106
+ * });
107
+ * // Retrieve audit trail events with various filtering
108
+ * const findWithFilters = scaleway.audittrail.getEvent({
109
+ * region: "fr-par",
110
+ * serviceName: "instance",
111
+ * methodName: "CreateServer",
112
+ * principalId: "11111111-1111-1111-1111-111111111111",
113
+ * sourceIp: "192.0.2.1",
114
+ * status: 200,
115
+ * recordedAfter: "2025-10-01T00:00:00Z",
116
+ * recordedBefore: "2025-12-31T23:59:59Z",
117
+ * orderBy: "recorded_at_desc",
118
+ * });
119
+ * ```
120
+ */
121
+ function getEventOutput(args, opts) {
122
+ args = args || {};
123
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
124
+ return pulumi.runtime.invokeOutput("scaleway:audittrail/getEvent:getEvent", {
125
+ "methodName": args.methodName,
126
+ "orderBy": args.orderBy,
127
+ "organizationId": args.organizationId,
128
+ "principalId": args.principalId,
129
+ "productName": args.productName,
130
+ "projectId": args.projectId,
131
+ "recordedAfter": args.recordedAfter,
132
+ "recordedBefore": args.recordedBefore,
133
+ "region": args.region,
134
+ "resourceId": args.resourceId,
135
+ "resourceType": args.resourceType,
136
+ "serviceName": args.serviceName,
137
+ "sourceIp": args.sourceIp,
138
+ "status": args.status,
139
+ }, opts);
140
+ }
141
+ exports.getEventOutput = getEventOutput;
142
+ //# sourceMappingURL=getEvent.js.map
@@ -0,0 +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,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,4BAmBC;AAgHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,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,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"}
@@ -0,0 +1,3 @@
1
+ export { GetEventArgs, GetEventResult, GetEventOutputArgs } from "./getEvent";
2
+ export declare const getEvent: typeof import("./getEvent").getEvent;
3
+ export declare const getEventOutput: typeof import("./getEvent").getEventOutput;
@@ -0,0 +1,10 @@
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.getEventOutput = exports.getEvent = void 0;
6
+ const utilities = require("../utilities");
7
+ exports.getEvent = null;
8
+ exports.getEventOutput = null;
9
+ utilities.lazyLoad(exports, ["getEvent", "getEventOutput"], () => require("./getEvent"));
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../audittrail/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC"}
@@ -10,6 +10,68 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * ### With option
12
12
  *
13
+ * ### With cloud-init
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ * import * as std from "@pulumi/std";
19
+ *
20
+ * const mySshKey = scaleway.iam.getSshKey({
21
+ * name: "main",
22
+ * });
23
+ * const myOs = scaleway.elasticmetal.getOs({
24
+ * zone: "fr-par-1",
25
+ * name: "Ubuntu",
26
+ * version: "22.04 LTS (Jammy Jellyfish)",
27
+ * });
28
+ * const myOffer = scaleway.elasticmetal.getOffer({
29
+ * zone: "fr-par-2",
30
+ * name: "EM-I220E-NVME",
31
+ * });
32
+ * const myServerCi = new scaleway.elasticmetal.Server("my_server_ci", {
33
+ * zone: "fr-par-2",
34
+ * offer: myOffer.then(myOffer => myOffer.offerId),
35
+ * os: myOs.then(myOs => myOs.osId),
36
+ * sshKeyIds: [mySshKey.then(mySshKey => mySshKey.id)],
37
+ * cloudInit: std.index.file({
38
+ * input: "userdata.yaml",
39
+ * }).result,
40
+ * });
41
+ * ```
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as scaleway from "@pulumiverse/scaleway";
46
+ *
47
+ * const mySshKey = scaleway.iam.getSshKey({
48
+ * name: "main",
49
+ * });
50
+ * const myOffer = scaleway.elasticmetal.getOffer({
51
+ * zone: "fr-par-2",
52
+ * name: "EM-I220E-NVME",
53
+ * });
54
+ * const myOs = scaleway.elasticmetal.getOs({
55
+ * zone: "fr-par-1",
56
+ * name: "Ubuntu",
57
+ * version: "22.04 LTS (Jammy Jellyfish)",
58
+ * });
59
+ * const myServerCi = new scaleway.elasticmetal.Server("my_server_ci", {
60
+ * zone: "fr-par-2",
61
+ * offer: myOffer.then(myOffer => myOffer.offerId),
62
+ * os: myOs.then(myOs => myOs.osId),
63
+ * sshKeyIds: [mySshKey.then(mySshKey => mySshKey.id)],
64
+ * cloudInit: `#cloud-config
65
+ * packages:
66
+ * - htop
67
+ * - curl
68
+ *
69
+ * runcmd:
70
+ * - echo \\"Hello from raw cloud-init!\\" > /home/ubuntu/message.txt
71
+ * `,
72
+ * });
73
+ * ```
74
+ *
13
75
  * ### With private network
14
76
  *
15
77
  * ### With IPAM IP IDs
@@ -142,6 +204,10 @@ export declare class BaremetalServer extends pulumi.CustomResource {
142
204
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
143
205
  */
144
206
  static isInstance(obj: any): obj is BaremetalServer;
207
+ /**
208
+ * Configuration data to pass to cloud-init such as a YAML cloud config or a user-data script. Accepts either a string containing the content or a path to a file (for example `file("cloud-init.yml")`). Max length: 127998 characters. Updates to `cloudInit` will update the server user-data via the API and do not trigger a reinstall; however, a reboot of the server is required for the OS to re-run cloud-init and apply the changes. Only supported for Offers that have cloud-init enabled. You can check available offers with `scw baremetal list offers` command.
209
+ */
210
+ readonly cloudInit: pulumi.Output<string>;
145
211
  /**
146
212
  * A description for the server.
147
213
  */
@@ -275,6 +341,10 @@ export declare class BaremetalServer extends pulumi.CustomResource {
275
341
  * Input properties used for looking up and filtering BaremetalServer resources.
276
342
  */
277
343
  export interface BaremetalServerState {
344
+ /**
345
+ * Configuration data to pass to cloud-init such as a YAML cloud config or a user-data script. Accepts either a string containing the content or a path to a file (for example `file("cloud-init.yml")`). Max length: 127998 characters. Updates to `cloudInit` will update the server user-data via the API and do not trigger a reinstall; however, a reboot of the server is required for the OS to re-run cloud-init and apply the changes. Only supported for Offers that have cloud-init enabled. You can check available offers with `scw baremetal list offers` command.
346
+ */
347
+ cloudInit?: pulumi.Input<string>;
278
348
  /**
279
349
  * A description for the server.
280
350
  */
@@ -399,6 +469,10 @@ export interface BaremetalServerState {
399
469
  * The set of arguments for constructing a BaremetalServer resource.
400
470
  */
401
471
  export interface BaremetalServerArgs {
472
+ /**
473
+ * Configuration data to pass to cloud-init such as a YAML cloud config or a user-data script. Accepts either a string containing the content or a path to a file (for example `file("cloud-init.yml")`). Max length: 127998 characters. Updates to `cloudInit` will update the server user-data via the API and do not trigger a reinstall; however, a reboot of the server is required for the OS to re-run cloud-init and apply the changes. Only supported for Offers that have cloud-init enabled. You can check available offers with `scw baremetal list offers` command.
474
+ */
475
+ cloudInit?: pulumi.Input<string>;
402
476
  /**
403
477
  * A description for the server.
404
478
  */
@@ -14,6 +14,68 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * ### With option
16
16
  *
17
+ * ### With cloud-init
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as scaleway from "@pulumiverse/scaleway";
22
+ * import * as std from "@pulumi/std";
23
+ *
24
+ * const mySshKey = scaleway.iam.getSshKey({
25
+ * name: "main",
26
+ * });
27
+ * const myOs = scaleway.elasticmetal.getOs({
28
+ * zone: "fr-par-1",
29
+ * name: "Ubuntu",
30
+ * version: "22.04 LTS (Jammy Jellyfish)",
31
+ * });
32
+ * const myOffer = scaleway.elasticmetal.getOffer({
33
+ * zone: "fr-par-2",
34
+ * name: "EM-I220E-NVME",
35
+ * });
36
+ * const myServerCi = new scaleway.elasticmetal.Server("my_server_ci", {
37
+ * zone: "fr-par-2",
38
+ * offer: myOffer.then(myOffer => myOffer.offerId),
39
+ * os: myOs.then(myOs => myOs.osId),
40
+ * sshKeyIds: [mySshKey.then(mySshKey => mySshKey.id)],
41
+ * cloudInit: std.index.file({
42
+ * input: "userdata.yaml",
43
+ * }).result,
44
+ * });
45
+ * ```
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as scaleway from "@pulumiverse/scaleway";
50
+ *
51
+ * const mySshKey = scaleway.iam.getSshKey({
52
+ * name: "main",
53
+ * });
54
+ * const myOffer = scaleway.elasticmetal.getOffer({
55
+ * zone: "fr-par-2",
56
+ * name: "EM-I220E-NVME",
57
+ * });
58
+ * const myOs = scaleway.elasticmetal.getOs({
59
+ * zone: "fr-par-1",
60
+ * name: "Ubuntu",
61
+ * version: "22.04 LTS (Jammy Jellyfish)",
62
+ * });
63
+ * const myServerCi = new scaleway.elasticmetal.Server("my_server_ci", {
64
+ * zone: "fr-par-2",
65
+ * offer: myOffer.then(myOffer => myOffer.offerId),
66
+ * os: myOs.then(myOs => myOs.osId),
67
+ * sshKeyIds: [mySshKey.then(mySshKey => mySshKey.id)],
68
+ * cloudInit: `#cloud-config
69
+ * packages:
70
+ * - htop
71
+ * - curl
72
+ *
73
+ * runcmd:
74
+ * - echo \\"Hello from raw cloud-init!\\" > /home/ubuntu/message.txt
75
+ * `,
76
+ * });
77
+ * ```
78
+ *
17
79
  * ### With private network
18
80
  *
19
81
  * ### With IPAM IP IDs
@@ -161,6 +223,7 @@ class BaremetalServer extends pulumi.CustomResource {
161
223
  opts = opts || {};
162
224
  if (opts.id) {
163
225
  const state = argsOrState;
226
+ resourceInputs["cloudInit"] = state?.cloudInit;
164
227
  resourceInputs["description"] = state?.description;
165
228
  resourceInputs["domain"] = state?.domain;
166
229
  resourceInputs["hostname"] = state?.hostname;
@@ -195,6 +258,7 @@ class BaremetalServer extends pulumi.CustomResource {
195
258
  if (args?.offer === undefined && !opts.urn) {
196
259
  throw new Error("Missing required property 'offer'");
197
260
  }
261
+ resourceInputs["cloudInit"] = args?.cloudInit;
198
262
  resourceInputs["description"] = args?.description;
199
263
  resourceInputs["hostname"] = args?.hostname;
200
264
  resourceInputs["installConfigAfterward"] = args?.installConfigAfterward;
@@ -1 +1 @@
1
- {"version":3,"file":"baremetalServer.js","sourceRoot":"","sources":["../baremetalServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4HG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mJAAmJ,CAAC,CAAA;QACpK,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAmID,qIAAqI;IACrI,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mJAAmJ,CAAC,CAAA;QACpK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,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