@pulumiverse/scaleway 1.39.0-alpha.1763627057 → 1.39.0-alpha.1764841480
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.
- package/audittrail/getEvent.d.ts +266 -0
- package/audittrail/getEvent.js +142 -0
- package/audittrail/getEvent.js.map +1 -0
- package/audittrail/index.d.ts +3 -0
- package/audittrail/index.js +10 -0
- package/audittrail/index.js.map +1 -0
- package/baremetalServer.d.ts +74 -0
- package/baremetalServer.js +64 -0
- package/baremetalServer.js.map +1 -1
- package/block/snapshot.d.ts +39 -0
- package/block/snapshot.js +39 -0
- package/block/snapshot.js.map +1 -1
- package/blockSnapshot.d.ts +39 -0
- package/blockSnapshot.js +39 -0
- package/blockSnapshot.js.map +1 -1
- package/edgeServicesCacheStage.d.ts +14 -0
- package/edgeServicesCacheStage.js +14 -0
- package/edgeServicesCacheStage.js.map +1 -1
- package/elasticmetal/getServer.d.ts +1 -0
- package/elasticmetal/getServer.js.map +1 -1
- package/elasticmetal/server.d.ts +74 -0
- package/elasticmetal/server.js +64 -0
- package/elasticmetal/server.js.map +1 -1
- package/getBaremetalServer.d.ts +1 -0
- package/getBaremetalServer.js.map +1 -1
- package/getLoadbalancerCertificate.d.ts +66 -0
- package/getLoadbalancerCertificate.js +66 -0
- package/getLoadbalancerCertificate.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/inference/deployment.d.ts +18 -0
- package/inference/deployment.js +18 -0
- package/inference/deployment.js.map +1 -1
- package/inference/model.d.ts +3 -3
- package/inferenceDeployment.d.ts +18 -0
- package/inferenceDeployment.js +18 -0
- package/inferenceDeployment.js.map +1 -1
- package/instance/server.d.ts +9 -6
- package/instance/server.js.map +1 -1
- package/instance/userData.d.ts +2 -2
- package/instance/userData.js +2 -2
- package/instanceServer.d.ts +9 -6
- package/instanceServer.js.map +1 -1
- package/instanceUserData.d.ts +2 -2
- package/instanceUserData.js +2 -2
- package/ipam/ip.d.ts +8 -0
- package/ipam/ip.js +2 -0
- package/ipam/ip.js.map +1 -1
- package/ipam/ipReverseDns.d.ts +43 -0
- package/ipam/ipReverseDns.js +43 -0
- package/ipam/ipReverseDns.js.map +1 -1
- package/ipamIp.d.ts +8 -0
- package/ipamIp.js +2 -0
- package/ipamIp.js.map +1 -1
- package/ipamIpReverseDns.d.ts +43 -0
- package/ipamIpReverseDns.js +43 -0
- package/ipamIpReverseDns.js.map +1 -1
- package/kubernetes/cluster.d.ts +15 -0
- package/kubernetes/cluster.js +15 -0
- package/kubernetes/cluster.js.map +1 -1
- package/kubernetesCluster.d.ts +15 -0
- package/kubernetesCluster.js +15 -0
- package/kubernetesCluster.js.map +1 -1
- package/loadbalancers/getCertificate.d.ts +66 -0
- package/loadbalancers/getCertificate.js +66 -0
- package/loadbalancers/getCertificate.js.map +1 -1
- package/object/item.d.ts +21 -3
- package/object/item.js +18 -0
- package/object/item.js.map +1 -1
- package/objectItem.d.ts +21 -3
- package/objectItem.js +18 -0
- package/objectItem.js.map +1 -1
- package/observability/getSources.d.ts +6 -6
- package/observability/getSources.js +4 -4
- package/package.json +2 -2
- package/tem/domain.d.ts +26 -0
- package/tem/domain.js +26 -0
- package/tem/domain.js.map +1 -1
- package/temDomain.d.ts +26 -0
- package/temDomain.js +26 -0
- package/temDomain.js.map +1 -1
- package/types/input.d.ts +2 -0
- package/types/output.d.ts +79 -1
package/block/snapshot.d.ts
CHANGED
|
@@ -29,8 +29,47 @@ import * as outputs from "../types/output";
|
|
|
29
29
|
*
|
|
30
30
|
* ### How to import from Object Storage
|
|
31
31
|
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
35
|
+
*
|
|
36
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
37
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
38
|
+
* bucket: snapshot_bucket.name,
|
|
39
|
+
* key: "my-snapshot.qcow2",
|
|
40
|
+
* file: "imported-snapshot/snapshot.qcow2",
|
|
41
|
+
* });
|
|
42
|
+
* const imported = new scaleway.block.Volume("imported", {
|
|
43
|
+
* iops: 5000,
|
|
44
|
+
* name: "imported-from-qcow",
|
|
45
|
+
* "import": [{
|
|
46
|
+
* bucket: "my-import-bucket",
|
|
47
|
+
* key: "imported-snapshot/snapshot.qcow2",
|
|
48
|
+
* }],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
32
52
|
* ### How to export to Object Storage
|
|
33
53
|
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
57
|
+
*
|
|
58
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
59
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
60
|
+
* bucket: snapshot_bucket.name,
|
|
61
|
+
* key: "export/my-snapshot.qcow2",
|
|
62
|
+
* });
|
|
63
|
+
* const toExport = new scaleway.block.Volume("to_export", {
|
|
64
|
+
* iops: 5000,
|
|
65
|
+
* name: "to-export",
|
|
66
|
+
* "export": [{
|
|
67
|
+
* bucket: "snapshot-bucket-to-import",
|
|
68
|
+
* key: "exports/my-snapshot.qcow2",
|
|
69
|
+
* }],
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
34
73
|
* ## Import
|
|
35
74
|
*
|
|
36
75
|
* This section explains how to import the snapshot of a Block Storage volume using the zoned ID format (`{zone}/{id}`).
|
package/block/snapshot.js
CHANGED
|
@@ -33,8 +33,47 @@ const utilities = require("../utilities");
|
|
|
33
33
|
*
|
|
34
34
|
* ### How to import from Object Storage
|
|
35
35
|
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
39
|
+
*
|
|
40
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
41
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
42
|
+
* bucket: snapshot_bucket.name,
|
|
43
|
+
* key: "my-snapshot.qcow2",
|
|
44
|
+
* file: "imported-snapshot/snapshot.qcow2",
|
|
45
|
+
* });
|
|
46
|
+
* const imported = new scaleway.block.Volume("imported", {
|
|
47
|
+
* iops: 5000,
|
|
48
|
+
* name: "imported-from-qcow",
|
|
49
|
+
* "import": [{
|
|
50
|
+
* bucket: "my-import-bucket",
|
|
51
|
+
* key: "imported-snapshot/snapshot.qcow2",
|
|
52
|
+
* }],
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
36
56
|
* ### How to export to Object Storage
|
|
37
57
|
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
61
|
+
*
|
|
62
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
63
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
64
|
+
* bucket: snapshot_bucket.name,
|
|
65
|
+
* key: "export/my-snapshot.qcow2",
|
|
66
|
+
* });
|
|
67
|
+
* const toExport = new scaleway.block.Volume("to_export", {
|
|
68
|
+
* iops: 5000,
|
|
69
|
+
* name: "to-export",
|
|
70
|
+
* "export": [{
|
|
71
|
+
* bucket: "snapshot-bucket-to-import",
|
|
72
|
+
* key: "exports/my-snapshot.qcow2",
|
|
73
|
+
* }],
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
38
77
|
* ## Import
|
|
39
78
|
*
|
|
40
79
|
* This section explains how to import the snapshot of a Block Storage volume using the zoned ID format (`{zone}/{id}`).
|
package/block/snapshot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../block/snapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../block/snapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,QAAQ,CAAC,GAAG,K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AC"}
|
package/blockSnapshot.d.ts
CHANGED
|
@@ -29,8 +29,47 @@ import * as outputs from "./types/output";
|
|
|
29
29
|
*
|
|
30
30
|
* ### How to import from Object Storage
|
|
31
31
|
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
35
|
+
*
|
|
36
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
37
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
38
|
+
* bucket: snapshot_bucket.name,
|
|
39
|
+
* key: "my-snapshot.qcow2",
|
|
40
|
+
* file: "imported-snapshot/snapshot.qcow2",
|
|
41
|
+
* });
|
|
42
|
+
* const imported = new scaleway.block.Volume("imported", {
|
|
43
|
+
* iops: 5000,
|
|
44
|
+
* name: "imported-from-qcow",
|
|
45
|
+
* "import": [{
|
|
46
|
+
* bucket: "my-import-bucket",
|
|
47
|
+
* key: "imported-snapshot/snapshot.qcow2",
|
|
48
|
+
* }],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
32
52
|
* ### How to export to Object Storage
|
|
33
53
|
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
57
|
+
*
|
|
58
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
59
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
60
|
+
* bucket: snapshot_bucket.name,
|
|
61
|
+
* key: "export/my-snapshot.qcow2",
|
|
62
|
+
* });
|
|
63
|
+
* const toExport = new scaleway.block.Volume("to_export", {
|
|
64
|
+
* iops: 5000,
|
|
65
|
+
* name: "to-export",
|
|
66
|
+
* "export": [{
|
|
67
|
+
* bucket: "snapshot-bucket-to-import",
|
|
68
|
+
* key: "exports/my-snapshot.qcow2",
|
|
69
|
+
* }],
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
34
73
|
* ## Import
|
|
35
74
|
*
|
|
36
75
|
* This section explains how to import the snapshot of a Block Storage volume using the zoned ID format (`{zone}/{id}`).
|
package/blockSnapshot.js
CHANGED
|
@@ -33,8 +33,47 @@ const utilities = require("./utilities");
|
|
|
33
33
|
*
|
|
34
34
|
* ### How to import from Object Storage
|
|
35
35
|
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
39
|
+
*
|
|
40
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
41
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
42
|
+
* bucket: snapshot_bucket.name,
|
|
43
|
+
* key: "my-snapshot.qcow2",
|
|
44
|
+
* file: "imported-snapshot/snapshot.qcow2",
|
|
45
|
+
* });
|
|
46
|
+
* const imported = new scaleway.block.Volume("imported", {
|
|
47
|
+
* iops: 5000,
|
|
48
|
+
* name: "imported-from-qcow",
|
|
49
|
+
* "import": [{
|
|
50
|
+
* bucket: "my-import-bucket",
|
|
51
|
+
* key: "imported-snapshot/snapshot.qcow2",
|
|
52
|
+
* }],
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
36
56
|
* ### How to export to Object Storage
|
|
37
57
|
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
61
|
+
*
|
|
62
|
+
* const my_import_bucket = new scaleway.object.Bucket("my-import-bucket", {name: "snapshot-bucket-to-import"});
|
|
63
|
+
* const qcow_object = new scaleway.object.Item("qcow-object", {
|
|
64
|
+
* bucket: snapshot_bucket.name,
|
|
65
|
+
* key: "export/my-snapshot.qcow2",
|
|
66
|
+
* });
|
|
67
|
+
* const toExport = new scaleway.block.Volume("to_export", {
|
|
68
|
+
* iops: 5000,
|
|
69
|
+
* name: "to-export",
|
|
70
|
+
* "export": [{
|
|
71
|
+
* bucket: "snapshot-bucket-to-import",
|
|
72
|
+
* key: "exports/my-snapshot.qcow2",
|
|
73
|
+
* }],
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
38
77
|
* ## Import
|
|
39
78
|
*
|
|
40
79
|
* This section explains how to import the snapshot of a Block Storage volume using the zoned ID format (`{zone}/{id}`).
|
package/blockSnapshot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockSnapshot.js","sourceRoot":"","sources":["../blockSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"blockSnapshot.js","sourceRoot":"","sources":["../blockSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,0IAA0I,CAAC,CAAA;QAC3J,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IA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IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7FL,sCA8FC;AA/EG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -20,6 +20,20 @@ import * as outputs from "./types/output";
|
|
|
20
20
|
*
|
|
21
21
|
* ### Purge request
|
|
22
22
|
*
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
26
|
+
*
|
|
27
|
+
* const main = new scaleway.EdgeServicesCacheStage("main", {
|
|
28
|
+
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
29
|
+
* backendStageId: mainScalewayEdgeServicesBackendStage.id,
|
|
30
|
+
* purge: [{
|
|
31
|
+
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
32
|
+
* all: true,
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
23
37
|
* ## Import
|
|
24
38
|
*
|
|
25
39
|
* Cache stages can be imported using the `{id}`, e.g.
|
|
@@ -24,6 +24,20 @@ const utilities = require("./utilities");
|
|
|
24
24
|
*
|
|
25
25
|
* ### Purge request
|
|
26
26
|
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
30
|
+
*
|
|
31
|
+
* const main = new scaleway.EdgeServicesCacheStage("main", {
|
|
32
|
+
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
33
|
+
* backendStageId: mainScalewayEdgeServicesBackendStage.id,
|
|
34
|
+
* purge: [{
|
|
35
|
+
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
36
|
+
* all: true,
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
27
41
|
* ## Import
|
|
28
42
|
*
|
|
29
43
|
* Cache stages can be imported using the `{id}`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeServicesCacheStage.js","sourceRoot":"","sources":["../edgeServicesCacheStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"edgeServicesCacheStage.js","sourceRoot":"","sources":["../edgeServicesCacheStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAuDD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IA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,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;
|
|
1
|
+
{"version":3,"file":"getServer.js","sourceRoot":"","sources":["../../elasticmetal/getServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AA4DD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,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,2CAA2C,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC"}
|
package/elasticmetal/server.d.ts
CHANGED
|
@@ -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
|
|
@@ -140,6 +202,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
140
202
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
141
203
|
*/
|
|
142
204
|
static isInstance(obj: any): obj is Server;
|
|
205
|
+
/**
|
|
206
|
+
* 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.
|
|
207
|
+
*/
|
|
208
|
+
readonly cloudInit: pulumi.Output<string>;
|
|
143
209
|
/**
|
|
144
210
|
* A description for the server.
|
|
145
211
|
*/
|
|
@@ -272,6 +338,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
272
338
|
* Input properties used for looking up and filtering Server resources.
|
|
273
339
|
*/
|
|
274
340
|
export interface ServerState {
|
|
341
|
+
/**
|
|
342
|
+
* 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.
|
|
343
|
+
*/
|
|
344
|
+
cloudInit?: pulumi.Input<string>;
|
|
275
345
|
/**
|
|
276
346
|
* A description for the server.
|
|
277
347
|
*/
|
|
@@ -396,6 +466,10 @@ export interface ServerState {
|
|
|
396
466
|
* The set of arguments for constructing a Server resource.
|
|
397
467
|
*/
|
|
398
468
|
export interface ServerArgs {
|
|
469
|
+
/**
|
|
470
|
+
* 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.
|
|
471
|
+
*/
|
|
472
|
+
cloudInit?: pulumi.Input<string>;
|
|
399
473
|
/**
|
|
400
474
|
* A description for the server.
|
|
401
475
|
*/
|
package/elasticmetal/server.js
CHANGED
|
@@ -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
|
|
@@ -156,6 +218,7 @@ class Server extends pulumi.CustomResource {
|
|
|
156
218
|
opts = opts || {};
|
|
157
219
|
if (opts.id) {
|
|
158
220
|
const state = argsOrState;
|
|
221
|
+
resourceInputs["cloudInit"] = state?.cloudInit;
|
|
159
222
|
resourceInputs["description"] = state?.description;
|
|
160
223
|
resourceInputs["domain"] = state?.domain;
|
|
161
224
|
resourceInputs["hostname"] = state?.hostname;
|
|
@@ -190,6 +253,7 @@ class Server extends pulumi.CustomResource {
|
|
|
190
253
|
if (args?.offer === undefined && !opts.urn) {
|
|
191
254
|
throw new Error("Missing required property 'offer'");
|
|
192
255
|
}
|
|
256
|
+
resourceInputs["cloudInit"] = args?.cloudInit;
|
|
193
257
|
resourceInputs["description"] = args?.description;
|
|
194
258
|
resourceInputs["hostname"] = args?.hostname;
|
|
195
259
|
resourceInputs["installConfigAfterward"] = args?.installConfigAfterward;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../elasticmetal/server.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../elasticmetal/server.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCA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oB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,gDAAgD,EAAE,CAAC,EAAE,CAAC;QAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC,EAAE,CAAC;QAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3OL,wBA4OC;AA9NG,gBAAgB;AACO,mBAAY,GAAG,qCAAqC,CAAC"}
|
package/getBaremetalServer.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export interface GetBaremetalServerArgs {
|
|
|
45
45
|
* A collection of values returned by getBaremetalServer.
|
|
46
46
|
*/
|
|
47
47
|
export interface GetBaremetalServerResult {
|
|
48
|
+
readonly cloudInit: string;
|
|
48
49
|
readonly description: string;
|
|
49
50
|
readonly domain: string;
|
|
50
51
|
readonly hostname: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBaremetalServer.js","sourceRoot":"","sources":["../getBaremetalServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iJAAiJ;AACjJ,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kKAAkK,CAAC,CAAA;IACnL,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4DAUC"}
|
|
@@ -8,6 +8,39 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate).
|
|
9
9
|
*
|
|
10
10
|
* ## Examples
|
|
11
|
+
*
|
|
12
|
+
* ### Let's Encrypt
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
17
|
+
* import * as std from "@pulumi/std";
|
|
18
|
+
*
|
|
19
|
+
* const main = new scaleway.loadbalancers.Ip("main", {});
|
|
20
|
+
* const mainLoadBalancer = new scaleway.loadbalancers.LoadBalancer("main", {
|
|
21
|
+
* ipId: main.id,
|
|
22
|
+
* name: "data-test-lb-cert",
|
|
23
|
+
* type: "LB-S",
|
|
24
|
+
* });
|
|
25
|
+
* const mainCertificate = new scaleway.loadbalancers.Certificate("main", {
|
|
26
|
+
* lbId: mainLoadBalancer.id,
|
|
27
|
+
* name: "data-test-lb-cert",
|
|
28
|
+
* letsencrypt: {
|
|
29
|
+
* commonName: pulumi.all([mainLoadBalancer.ipAddress, mainLoadBalancer.region]).apply(([ipAddress, region]) => `${std.index.replace({
|
|
30
|
+
* text: ipAddress,
|
|
31
|
+
* search: ".",
|
|
32
|
+
* replace: "-",
|
|
33
|
+
* }).result}.lb.${region}.scw.cloud`),
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* const byID = scaleway.loadbalancers.getCertificateOutput({
|
|
37
|
+
* certificateId: mainCertificate.id,
|
|
38
|
+
* });
|
|
39
|
+
* const byName = scaleway.loadbalancers.getCertificateOutput({
|
|
40
|
+
* name: mainCertificate.name,
|
|
41
|
+
* lbId: mainLoadBalancer.id,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
11
44
|
*/
|
|
12
45
|
/** @deprecated scaleway.index/getloadbalancercertificate.getLoadbalancerCertificate has been deprecated in favor of scaleway.loadbalancers/getcertificate.getCertificate */
|
|
13
46
|
export declare function getLoadbalancerCertificate(args?: GetLoadbalancerCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadbalancerCertificateResult>;
|
|
@@ -58,6 +91,39 @@ export interface GetLoadbalancerCertificateResult {
|
|
|
58
91
|
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate).
|
|
59
92
|
*
|
|
60
93
|
* ## Examples
|
|
94
|
+
*
|
|
95
|
+
* ### Let's Encrypt
|
|
96
|
+
*
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
100
|
+
* import * as std from "@pulumi/std";
|
|
101
|
+
*
|
|
102
|
+
* const main = new scaleway.loadbalancers.Ip("main", {});
|
|
103
|
+
* const mainLoadBalancer = new scaleway.loadbalancers.LoadBalancer("main", {
|
|
104
|
+
* ipId: main.id,
|
|
105
|
+
* name: "data-test-lb-cert",
|
|
106
|
+
* type: "LB-S",
|
|
107
|
+
* });
|
|
108
|
+
* const mainCertificate = new scaleway.loadbalancers.Certificate("main", {
|
|
109
|
+
* lbId: mainLoadBalancer.id,
|
|
110
|
+
* name: "data-test-lb-cert",
|
|
111
|
+
* letsencrypt: {
|
|
112
|
+
* commonName: pulumi.all([mainLoadBalancer.ipAddress, mainLoadBalancer.region]).apply(([ipAddress, region]) => `${std.index.replace({
|
|
113
|
+
* text: ipAddress,
|
|
114
|
+
* search: ".",
|
|
115
|
+
* replace: "-",
|
|
116
|
+
* }).result}.lb.${region}.scw.cloud`),
|
|
117
|
+
* },
|
|
118
|
+
* });
|
|
119
|
+
* const byID = scaleway.loadbalancers.getCertificateOutput({
|
|
120
|
+
* certificateId: mainCertificate.id,
|
|
121
|
+
* });
|
|
122
|
+
* const byName = scaleway.loadbalancers.getCertificateOutput({
|
|
123
|
+
* name: mainCertificate.name,
|
|
124
|
+
* lbId: mainLoadBalancer.id,
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
61
127
|
*/
|
|
62
128
|
/** @deprecated scaleway.index/getloadbalancercertificate.getLoadbalancerCertificate has been deprecated in favor of scaleway.loadbalancers/getcertificate.getCertificate */
|
|
63
129
|
export declare function getLoadbalancerCertificateOutput(args?: GetLoadbalancerCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadbalancerCertificateResult>;
|