@pulumiverse/scaleway 1.41.0 → 1.41.1
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/edgeServicesBackendStage.d.ts +9 -6
- package/edgeServicesBackendStage.js +11 -6
- package/edgeServicesBackendStage.js.map +1 -1
- package/edgeServicesCacheStage.d.ts +5 -2
- package/edgeServicesCacheStage.js +7 -2
- package/edgeServicesCacheStage.js.map +1 -1
- package/edgeServicesDnsStage.d.ts +4 -1
- package/edgeServicesDnsStage.js +6 -1
- package/edgeServicesDnsStage.js.map +1 -1
- package/edgeServicesHeadStage.d.ts +7 -4
- package/edgeServicesHeadStage.js +9 -4
- package/edgeServicesHeadStage.js.map +1 -1
- package/edgeServicesPipeline.d.ts +19 -16
- package/edgeServicesPipeline.js +21 -16
- package/edgeServicesPipeline.js.map +1 -1
- package/edgeServicesPlan.d.ts +4 -1
- package/edgeServicesPlan.js +6 -1
- package/edgeServicesPlan.js.map +1 -1
- package/edgeServicesRouteStage.d.ts +4 -1
- package/edgeServicesRouteStage.js +6 -1
- package/edgeServicesRouteStage.js.map +1 -1
- package/edgeServicesTlsStage.d.ts +5 -2
- package/edgeServicesTlsStage.js +7 -2
- package/edgeServicesTlsStage.js.map +1 -1
- package/edgeServicesWafStage.d.ts +4 -1
- package/edgeServicesWafStage.js +6 -1
- package/edgeServicesWafStage.js.map +1 -1
- package/edgeservices/backendStage.d.ts +171 -0
- package/edgeservices/backendStage.js +133 -0
- package/edgeservices/backendStage.js.map +1 -0
- package/edgeservices/cacheStage.d.ts +205 -0
- package/edgeservices/cacheStage.js +117 -0
- package/edgeservices/cacheStage.js.map +1 -0
- package/edgeservices/dnsStage.d.ts +167 -0
- package/edgeservices/dnsStage.js +99 -0
- package/edgeservices/dnsStage.js.map +1 -0
- package/edgeservices/headStage.d.ts +96 -0
- package/edgeservices/headStage.js +92 -0
- package/edgeservices/headStage.js.map +1 -0
- package/edgeservices/index.d.ts +27 -0
- package/edgeservices/index.js +62 -0
- package/edgeservices/index.js.map +1 -0
- package/edgeservices/pipeline.d.ts +183 -0
- package/edgeservices/pipeline.js +148 -0
- package/edgeservices/pipeline.js.map +1 -0
- package/edgeservices/plan.d.ts +84 -0
- package/edgeservices/plan.js +77 -0
- package/edgeservices/plan.js.map +1 -0
- package/edgeservices/routeStage.d.ts +142 -0
- package/edgeservices/routeStage.js +104 -0
- package/edgeservices/routeStage.js.map +1 -0
- package/edgeservices/tlsStage.d.ts +200 -0
- package/edgeservices/tlsStage.js +116 -0
- package/edgeservices/tlsStage.js.map +1 -0
- package/edgeservices/wafStage.d.ts +140 -0
- package/edgeservices/wafStage.js +97 -0
- package/edgeservices/wafStage.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +98 -0
- package/types/output.d.ts +98 -0
package/edgeServicesPlan.js
CHANGED
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
18
|
*
|
|
19
|
-
* const main = new scaleway.
|
|
19
|
+
* const main = new scaleway.edgeservices.Plan("main", {name: "starter"});
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
22
|
* ## Import
|
|
@@ -28,6 +28,8 @@ const utilities = require("./utilities");
|
|
|
28
28
|
* ```sh
|
|
29
29
|
* $ pulumi import scaleway:index/edgeServicesPlan:EdgeServicesPlan main 11111111-1111-1111-1111-111111111111/starter
|
|
30
30
|
* ```
|
|
31
|
+
*
|
|
32
|
+
* @deprecated scaleway.index/edgeservicesplan.EdgeServicesPlan has been deprecated in favor of scaleway.edgeservices/plan.Plan
|
|
31
33
|
*/
|
|
32
34
|
class EdgeServicesPlan extends pulumi.CustomResource {
|
|
33
35
|
/**
|
|
@@ -40,6 +42,7 @@ class EdgeServicesPlan extends pulumi.CustomResource {
|
|
|
40
42
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
43
|
*/
|
|
42
44
|
static get(name, id, state, opts) {
|
|
45
|
+
pulumi.log.warn("EdgeServicesPlan is deprecated: scaleway.index/edgeservicesplan.EdgeServicesPlan has been deprecated in favor of scaleway.edgeservices/plan.Plan");
|
|
43
46
|
return new EdgeServicesPlan(name, state, { ...opts, id: id });
|
|
44
47
|
}
|
|
45
48
|
/**
|
|
@@ -52,7 +55,9 @@ class EdgeServicesPlan extends pulumi.CustomResource {
|
|
|
52
55
|
}
|
|
53
56
|
return obj['__pulumiType'] === EdgeServicesPlan.__pulumiType;
|
|
54
57
|
}
|
|
58
|
+
/** @deprecated scaleway.index/edgeservicesplan.EdgeServicesPlan has been deprecated in favor of scaleway.edgeservices/plan.Plan */
|
|
55
59
|
constructor(name, argsOrState, opts) {
|
|
60
|
+
pulumi.log.warn("EdgeServicesPlan is deprecated: scaleway.index/edgeservicesplan.EdgeServicesPlan has been deprecated in favor of scaleway.edgeservices/plan.Plan");
|
|
56
61
|
let resourceInputs = {};
|
|
57
62
|
opts = opts || {};
|
|
58
63
|
if (opts.id) {
|
package/edgeServicesPlan.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeServicesPlan.js","sourceRoot":"","sources":["../edgeServicesPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"edgeServicesPlan.js","sourceRoot":"","sources":["../edgeServicesPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC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,CAAC"}
|
|
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
14
14
|
*
|
|
15
|
-
* const main = new scaleway.
|
|
15
|
+
* const main = new scaleway.edgeservices.RouteStage("main", {
|
|
16
16
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
17
17
|
* wafStageId: waf.id,
|
|
18
18
|
* rules: [{
|
|
@@ -40,6 +40,8 @@ import * as outputs from "./types/output";
|
|
|
40
40
|
* ```sh
|
|
41
41
|
* $ pulumi import scaleway:index/edgeServicesRouteStage:EdgeServicesRouteStage basic 11111111-1111-1111-1111-111111111111
|
|
42
42
|
* ```
|
|
43
|
+
*
|
|
44
|
+
* @deprecated scaleway.index/edgeservicesroutestage.EdgeServicesRouteStage has been deprecated in favor of scaleway.edgeservices/routestage.RouteStage
|
|
43
45
|
*/
|
|
44
46
|
export declare class EdgeServicesRouteStage extends pulumi.CustomResource {
|
|
45
47
|
/**
|
|
@@ -88,6 +90,7 @@ export declare class EdgeServicesRouteStage extends pulumi.CustomResource {
|
|
|
88
90
|
* @param args The arguments to use to populate this resource's properties.
|
|
89
91
|
* @param opts A bag of options that control this resource's behavior.
|
|
90
92
|
*/
|
|
93
|
+
/** @deprecated scaleway.index/edgeservicesroutestage.EdgeServicesRouteStage has been deprecated in favor of scaleway.edgeservices/routestage.RouteStage */
|
|
91
94
|
constructor(name: string, args: EdgeServicesRouteStageArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
95
|
}
|
|
93
96
|
/**
|
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
18
|
*
|
|
19
|
-
* const main = new scaleway.
|
|
19
|
+
* const main = new scaleway.edgeservices.RouteStage("main", {
|
|
20
20
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
21
21
|
* wafStageId: waf.id,
|
|
22
22
|
* rules: [{
|
|
@@ -44,6 +44,8 @@ const utilities = require("./utilities");
|
|
|
44
44
|
* ```sh
|
|
45
45
|
* $ pulumi import scaleway:index/edgeServicesRouteStage:EdgeServicesRouteStage basic 11111111-1111-1111-1111-111111111111
|
|
46
46
|
* ```
|
|
47
|
+
*
|
|
48
|
+
* @deprecated scaleway.index/edgeservicesroutestage.EdgeServicesRouteStage has been deprecated in favor of scaleway.edgeservices/routestage.RouteStage
|
|
47
49
|
*/
|
|
48
50
|
class EdgeServicesRouteStage extends pulumi.CustomResource {
|
|
49
51
|
/**
|
|
@@ -56,6 +58,7 @@ class EdgeServicesRouteStage extends pulumi.CustomResource {
|
|
|
56
58
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
59
|
*/
|
|
58
60
|
static get(name, id, state, opts) {
|
|
61
|
+
pulumi.log.warn("EdgeServicesRouteStage is deprecated: scaleway.index/edgeservicesroutestage.EdgeServicesRouteStage has been deprecated in favor of scaleway.edgeservices/routestage.RouteStage");
|
|
59
62
|
return new EdgeServicesRouteStage(name, state, { ...opts, id: id });
|
|
60
63
|
}
|
|
61
64
|
/**
|
|
@@ -68,7 +71,9 @@ class EdgeServicesRouteStage extends pulumi.CustomResource {
|
|
|
68
71
|
}
|
|
69
72
|
return obj['__pulumiType'] === EdgeServicesRouteStage.__pulumiType;
|
|
70
73
|
}
|
|
74
|
+
/** @deprecated scaleway.index/edgeservicesroutestage.EdgeServicesRouteStage has been deprecated in favor of scaleway.edgeservices/routestage.RouteStage */
|
|
71
75
|
constructor(name, argsOrState, opts) {
|
|
76
|
+
pulumi.log.warn("EdgeServicesRouteStage is deprecated: scaleway.index/edgeservicesroutestage.EdgeServicesRouteStage has been deprecated in favor of scaleway.edgeservices/routestage.RouteStage");
|
|
72
77
|
let resourceInputs = {};
|
|
73
78
|
opts = opts || {};
|
|
74
79
|
if (opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeServicesRouteStage.js","sourceRoot":"","sources":["../edgeServicesRouteStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"edgeServicesRouteStage.js","sourceRoot":"","sources":["../edgeServicesRouteStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gLAAgL,CAAC,CAAA;QACjM,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;IAoCD,2JAA2J;IAC3J,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gLAAgL,CAAC,CAAA;QACjM,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC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i/pulumi";
|
|
13
13
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
14
14
|
*
|
|
15
|
-
* const main = new scaleway.
|
|
15
|
+
* const main = new scaleway.edgeservices.TlsStage("main", {
|
|
16
16
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
17
17
|
* managedCertificate: true,
|
|
18
18
|
* });
|
|
@@ -24,7 +24,7 @@ import * as outputs from "./types/output";
|
|
|
24
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
25
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
26
26
|
*
|
|
27
|
-
* const main = new scaleway.
|
|
27
|
+
* const main = new scaleway.edgeservices.TlsStage("main", {
|
|
28
28
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
29
29
|
* secrets: [{
|
|
30
30
|
* secretId: "11111111-1111-1111-1111-111111111111",
|
|
@@ -42,6 +42,8 @@ import * as outputs from "./types/output";
|
|
|
42
42
|
* ```sh
|
|
43
43
|
* $ pulumi import scaleway:index/edgeServicesTlsStage:EdgeServicesTlsStage basic 11111111-1111-1111-1111-111111111111
|
|
44
44
|
* ```
|
|
45
|
+
*
|
|
46
|
+
* @deprecated scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage
|
|
45
47
|
*/
|
|
46
48
|
export declare class EdgeServicesTlsStage extends pulumi.CustomResource {
|
|
47
49
|
/**
|
|
@@ -110,6 +112,7 @@ export declare class EdgeServicesTlsStage extends pulumi.CustomResource {
|
|
|
110
112
|
* @param args The arguments to use to populate this resource's properties.
|
|
111
113
|
* @param opts A bag of options that control this resource's behavior.
|
|
112
114
|
*/
|
|
115
|
+
/** @deprecated scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage */
|
|
113
116
|
constructor(name: string, args: EdgeServicesTlsStageArgs, opts?: pulumi.CustomResourceOptions);
|
|
114
117
|
}
|
|
115
118
|
/**
|
package/edgeServicesTlsStage.js
CHANGED
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
18
|
*
|
|
19
|
-
* const main = new scaleway.
|
|
19
|
+
* const main = new scaleway.edgeservices.TlsStage("main", {
|
|
20
20
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
21
21
|
* managedCertificate: true,
|
|
22
22
|
* });
|
|
@@ -28,7 +28,7 @@ const utilities = require("./utilities");
|
|
|
28
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
29
29
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
30
30
|
*
|
|
31
|
-
* const main = new scaleway.
|
|
31
|
+
* const main = new scaleway.edgeservices.TlsStage("main", {
|
|
32
32
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
33
33
|
* secrets: [{
|
|
34
34
|
* secretId: "11111111-1111-1111-1111-111111111111",
|
|
@@ -46,6 +46,8 @@ const utilities = require("./utilities");
|
|
|
46
46
|
* ```sh
|
|
47
47
|
* $ pulumi import scaleway:index/edgeServicesTlsStage:EdgeServicesTlsStage basic 11111111-1111-1111-1111-111111111111
|
|
48
48
|
* ```
|
|
49
|
+
*
|
|
50
|
+
* @deprecated scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage
|
|
49
51
|
*/
|
|
50
52
|
class EdgeServicesTlsStage extends pulumi.CustomResource {
|
|
51
53
|
/**
|
|
@@ -58,6 +60,7 @@ class EdgeServicesTlsStage extends pulumi.CustomResource {
|
|
|
58
60
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
61
|
*/
|
|
60
62
|
static get(name, id, state, opts) {
|
|
63
|
+
pulumi.log.warn("EdgeServicesTlsStage is deprecated: scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage");
|
|
61
64
|
return new EdgeServicesTlsStage(name, state, { ...opts, id: id });
|
|
62
65
|
}
|
|
63
66
|
/**
|
|
@@ -70,7 +73,9 @@ class EdgeServicesTlsStage extends pulumi.CustomResource {
|
|
|
70
73
|
}
|
|
71
74
|
return obj['__pulumiType'] === EdgeServicesTlsStage.__pulumiType;
|
|
72
75
|
}
|
|
76
|
+
/** @deprecated scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage */
|
|
73
77
|
constructor(name, argsOrState, opts) {
|
|
78
|
+
pulumi.log.warn("EdgeServicesTlsStage is deprecated: scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage");
|
|
74
79
|
let resourceInputs = {};
|
|
75
80
|
opts = opts || {};
|
|
76
81
|
if (opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeServicesTlsStage.js","sourceRoot":"","sources":["../edgeServicesTlsStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"edgeServicesTlsStage.js","sourceRoot":"","sources":["../edgeServicesTlsStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,sKAAsK,CAAC,CAAA;QACvL,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAA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
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
12
12
|
*
|
|
13
|
-
* const main = new scaleway.
|
|
13
|
+
* const main = new scaleway.edgeservices.WafStage("main", {
|
|
14
14
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
15
15
|
* mode: "enable",
|
|
16
16
|
* paranoiaLevel: 3,
|
|
@@ -26,6 +26,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
* ```sh
|
|
27
27
|
* $ pulumi import scaleway:index/edgeServicesWafStage:EdgeServicesWafStage basic 11111111-1111-1111-1111-111111111111
|
|
28
28
|
* ```
|
|
29
|
+
*
|
|
30
|
+
* @deprecated scaleway.index/edgeserviceswafstage.EdgeServicesWafStage has been deprecated in favor of scaleway.edgeservices/wafstage.WafStage
|
|
29
31
|
*/
|
|
30
32
|
export declare class EdgeServicesWafStage extends pulumi.CustomResource {
|
|
31
33
|
/**
|
|
@@ -78,6 +80,7 @@ export declare class EdgeServicesWafStage extends pulumi.CustomResource {
|
|
|
78
80
|
* @param args The arguments to use to populate this resource's properties.
|
|
79
81
|
* @param opts A bag of options that control this resource's behavior.
|
|
80
82
|
*/
|
|
83
|
+
/** @deprecated scaleway.index/edgeserviceswafstage.EdgeServicesWafStage has been deprecated in favor of scaleway.edgeservices/wafstage.WafStage */
|
|
81
84
|
constructor(name: string, args: EdgeServicesWafStageArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
85
|
}
|
|
83
86
|
/**
|
package/edgeServicesWafStage.js
CHANGED
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
18
|
*
|
|
19
|
-
* const main = new scaleway.
|
|
19
|
+
* const main = new scaleway.edgeservices.WafStage("main", {
|
|
20
20
|
* pipelineId: mainScalewayEdgeServicesPipeline.id,
|
|
21
21
|
* mode: "enable",
|
|
22
22
|
* paranoiaLevel: 3,
|
|
@@ -32,6 +32,8 @@ const utilities = require("./utilities");
|
|
|
32
32
|
* ```sh
|
|
33
33
|
* $ pulumi import scaleway:index/edgeServicesWafStage:EdgeServicesWafStage basic 11111111-1111-1111-1111-111111111111
|
|
34
34
|
* ```
|
|
35
|
+
*
|
|
36
|
+
* @deprecated scaleway.index/edgeserviceswafstage.EdgeServicesWafStage has been deprecated in favor of scaleway.edgeservices/wafstage.WafStage
|
|
35
37
|
*/
|
|
36
38
|
class EdgeServicesWafStage extends pulumi.CustomResource {
|
|
37
39
|
/**
|
|
@@ -44,6 +46,7 @@ class EdgeServicesWafStage extends pulumi.CustomResource {
|
|
|
44
46
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
47
|
*/
|
|
46
48
|
static get(name, id, state, opts) {
|
|
49
|
+
pulumi.log.warn("EdgeServicesWafStage is deprecated: scaleway.index/edgeserviceswafstage.EdgeServicesWafStage has been deprecated in favor of scaleway.edgeservices/wafstage.WafStage");
|
|
47
50
|
return new EdgeServicesWafStage(name, state, { ...opts, id: id });
|
|
48
51
|
}
|
|
49
52
|
/**
|
|
@@ -56,7 +59,9 @@ class EdgeServicesWafStage extends pulumi.CustomResource {
|
|
|
56
59
|
}
|
|
57
60
|
return obj['__pulumiType'] === EdgeServicesWafStage.__pulumiType;
|
|
58
61
|
}
|
|
62
|
+
/** @deprecated scaleway.index/edgeserviceswafstage.EdgeServicesWafStage has been deprecated in favor of scaleway.edgeservices/wafstage.WafStage */
|
|
59
63
|
constructor(name, argsOrState, opts) {
|
|
64
|
+
pulumi.log.warn("EdgeServicesWafStage is deprecated: scaleway.index/edgeserviceswafstage.EdgeServicesWafStage has been deprecated in favor of scaleway.edgeservices/wafstage.WafStage");
|
|
60
65
|
let resourceInputs = {};
|
|
61
66
|
opts = opts || {};
|
|
62
67
|
if (opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeServicesWafStage.js","sourceRoot":"","sources":["../edgeServicesWafStage.ts"],"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C;IACzE,CAAC;;AAnGL,oDAoGC;AArFG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Creates and manages Scaleway Edge Services Backend Stages.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### With object backend
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
14
|
+
*
|
|
15
|
+
* const main = new scaleway.object.Bucket("main", {
|
|
16
|
+
* name: "my-bucket-name",
|
|
17
|
+
* tags: {
|
|
18
|
+
* foo: "bar",
|
|
19
|
+
* },
|
|
20
|
+
* });
|
|
21
|
+
* const mainPipeline = new scaleway.edgeservices.Pipeline("main", {name: "my-pipeline"});
|
|
22
|
+
* const mainBackendStage = new scaleway.edgeservices.BackendStage("main", {
|
|
23
|
+
* pipelineId: mainPipeline.id,
|
|
24
|
+
* s3BackendConfig: {
|
|
25
|
+
* bucketName: main.name,
|
|
26
|
+
* bucketRegion: "fr-par",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ### With LB backend
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
36
|
+
*
|
|
37
|
+
* const main = new scaleway.loadbalancers.LoadBalancer("main", {
|
|
38
|
+
* ipIds: [mainScalewayLbIp.id],
|
|
39
|
+
* zone: "fr-par-1",
|
|
40
|
+
* type: "LB-S",
|
|
41
|
+
* });
|
|
42
|
+
* const mainFrontend = new scaleway.loadbalancers.Frontend("main", {
|
|
43
|
+
* lbId: main.id,
|
|
44
|
+
* backendId: mainScalewayLbBackend.id,
|
|
45
|
+
* name: "frontend01",
|
|
46
|
+
* inboundPort: 443,
|
|
47
|
+
* certificateIds: [cert01.id],
|
|
48
|
+
* });
|
|
49
|
+
* const mainPipeline = new scaleway.edgeservices.Pipeline("main", {name: "my-pipeline"});
|
|
50
|
+
* const mainBackendStage = new scaleway.edgeservices.BackendStage("main", {
|
|
51
|
+
* pipelineId: mainPipeline.id,
|
|
52
|
+
* lbBackendConfigs: [{
|
|
53
|
+
* lbConfig: {
|
|
54
|
+
* id: main.id,
|
|
55
|
+
* frontendId: id,
|
|
56
|
+
* isSsl: true,
|
|
57
|
+
* zone: "fr-par-1",
|
|
58
|
+
* },
|
|
59
|
+
* }],
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* ## Import
|
|
64
|
+
*
|
|
65
|
+
* Backend stages can be imported using the `{id}`, e.g.
|
|
66
|
+
*
|
|
67
|
+
* bash
|
|
68
|
+
*
|
|
69
|
+
* ```sh
|
|
70
|
+
* $ pulumi import scaleway:edgeservices/backendStage:BackendStage basic 11111111-1111-1111-1111-111111111111
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare class BackendStage extends pulumi.CustomResource {
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing BackendStage resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackendStageState, opts?: pulumi.CustomResourceOptions): BackendStage;
|
|
84
|
+
/**
|
|
85
|
+
* Returns true if the given object is an instance of BackendStage. This is designed to work even
|
|
86
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
87
|
+
*/
|
|
88
|
+
static isInstance(obj: any): obj is BackendStage;
|
|
89
|
+
/**
|
|
90
|
+
* The date and time of the creation of the backend stage.
|
|
91
|
+
*/
|
|
92
|
+
readonly createdAt: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The Scaleway Load Balancer linked to the backend stage.
|
|
95
|
+
*/
|
|
96
|
+
readonly lbBackendConfigs: pulumi.Output<outputs.edgeservices.BackendStageLbBackendConfig[] | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the pipeline.
|
|
99
|
+
*/
|
|
100
|
+
readonly pipelineId: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* `projectId`) The ID of the project the backend stage is associated with.
|
|
103
|
+
*/
|
|
104
|
+
readonly projectId: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
|
|
107
|
+
*/
|
|
108
|
+
readonly s3BackendConfig: pulumi.Output<outputs.edgeservices.BackendStageS3BackendConfig | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* The date and time of the last update of the backend stage.
|
|
111
|
+
*/
|
|
112
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a BackendStage resource with the given unique name, arguments, and options.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resource.
|
|
117
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
118
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
119
|
+
*/
|
|
120
|
+
constructor(name: string, args: BackendStageArgs, opts?: pulumi.CustomResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Input properties used for looking up and filtering BackendStage resources.
|
|
124
|
+
*/
|
|
125
|
+
export interface BackendStageState {
|
|
126
|
+
/**
|
|
127
|
+
* The date and time of the creation of the backend stage.
|
|
128
|
+
*/
|
|
129
|
+
createdAt?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The Scaleway Load Balancer linked to the backend stage.
|
|
132
|
+
*/
|
|
133
|
+
lbBackendConfigs?: pulumi.Input<pulumi.Input<inputs.edgeservices.BackendStageLbBackendConfig>[]>;
|
|
134
|
+
/**
|
|
135
|
+
* The ID of the pipeline.
|
|
136
|
+
*/
|
|
137
|
+
pipelineId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* `projectId`) The ID of the project the backend stage is associated with.
|
|
140
|
+
*/
|
|
141
|
+
projectId?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
|
|
144
|
+
*/
|
|
145
|
+
s3BackendConfig?: pulumi.Input<inputs.edgeservices.BackendStageS3BackendConfig>;
|
|
146
|
+
/**
|
|
147
|
+
* The date and time of the last update of the backend stage.
|
|
148
|
+
*/
|
|
149
|
+
updatedAt?: pulumi.Input<string>;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* The set of arguments for constructing a BackendStage resource.
|
|
153
|
+
*/
|
|
154
|
+
export interface BackendStageArgs {
|
|
155
|
+
/**
|
|
156
|
+
* The Scaleway Load Balancer linked to the backend stage.
|
|
157
|
+
*/
|
|
158
|
+
lbBackendConfigs?: pulumi.Input<pulumi.Input<inputs.edgeservices.BackendStageLbBackendConfig>[]>;
|
|
159
|
+
/**
|
|
160
|
+
* The ID of the pipeline.
|
|
161
|
+
*/
|
|
162
|
+
pipelineId: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* `projectId`) The ID of the project the backend stage is associated with.
|
|
165
|
+
*/
|
|
166
|
+
projectId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
|
|
169
|
+
*/
|
|
170
|
+
s3BackendConfig?: pulumi.Input<inputs.edgeservices.BackendStageS3BackendConfig>;
|
|
171
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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.BackendStage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Edge Services Backend Stages.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### With object backend
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
|
+
*
|
|
19
|
+
* const main = new scaleway.object.Bucket("main", {
|
|
20
|
+
* name: "my-bucket-name",
|
|
21
|
+
* tags: {
|
|
22
|
+
* foo: "bar",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* const mainPipeline = new scaleway.edgeservices.Pipeline("main", {name: "my-pipeline"});
|
|
26
|
+
* const mainBackendStage = new scaleway.edgeservices.BackendStage("main", {
|
|
27
|
+
* pipelineId: mainPipeline.id,
|
|
28
|
+
* s3BackendConfig: {
|
|
29
|
+
* bucketName: main.name,
|
|
30
|
+
* bucketRegion: "fr-par",
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ### With LB backend
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
40
|
+
*
|
|
41
|
+
* const main = new scaleway.loadbalancers.LoadBalancer("main", {
|
|
42
|
+
* ipIds: [mainScalewayLbIp.id],
|
|
43
|
+
* zone: "fr-par-1",
|
|
44
|
+
* type: "LB-S",
|
|
45
|
+
* });
|
|
46
|
+
* const mainFrontend = new scaleway.loadbalancers.Frontend("main", {
|
|
47
|
+
* lbId: main.id,
|
|
48
|
+
* backendId: mainScalewayLbBackend.id,
|
|
49
|
+
* name: "frontend01",
|
|
50
|
+
* inboundPort: 443,
|
|
51
|
+
* certificateIds: [cert01.id],
|
|
52
|
+
* });
|
|
53
|
+
* const mainPipeline = new scaleway.edgeservices.Pipeline("main", {name: "my-pipeline"});
|
|
54
|
+
* const mainBackendStage = new scaleway.edgeservices.BackendStage("main", {
|
|
55
|
+
* pipelineId: mainPipeline.id,
|
|
56
|
+
* lbBackendConfigs: [{
|
|
57
|
+
* lbConfig: {
|
|
58
|
+
* id: main.id,
|
|
59
|
+
* frontendId: id,
|
|
60
|
+
* isSsl: true,
|
|
61
|
+
* zone: "fr-par-1",
|
|
62
|
+
* },
|
|
63
|
+
* }],
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* ## Import
|
|
68
|
+
*
|
|
69
|
+
* Backend stages can be imported using the `{id}`, e.g.
|
|
70
|
+
*
|
|
71
|
+
* bash
|
|
72
|
+
*
|
|
73
|
+
* ```sh
|
|
74
|
+
* $ pulumi import scaleway:edgeservices/backendStage:BackendStage basic 11111111-1111-1111-1111-111111111111
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
class BackendStage extends pulumi.CustomResource {
|
|
78
|
+
/**
|
|
79
|
+
* Get an existing BackendStage resource's state with the given name, ID, and optional extra
|
|
80
|
+
* properties used to qualify the lookup.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resulting resource.
|
|
83
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
84
|
+
* @param state Any extra arguments used during the lookup.
|
|
85
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
86
|
+
*/
|
|
87
|
+
static get(name, id, state, opts) {
|
|
88
|
+
return new BackendStage(name, state, { ...opts, id: id });
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Returns true if the given object is an instance of BackendStage. This is designed to work even
|
|
92
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
93
|
+
*/
|
|
94
|
+
static isInstance(obj) {
|
|
95
|
+
if (obj === undefined || obj === null) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return obj['__pulumiType'] === BackendStage.__pulumiType;
|
|
99
|
+
}
|
|
100
|
+
constructor(name, argsOrState, opts) {
|
|
101
|
+
let resourceInputs = {};
|
|
102
|
+
opts = opts || {};
|
|
103
|
+
if (opts.id) {
|
|
104
|
+
const state = argsOrState;
|
|
105
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
106
|
+
resourceInputs["lbBackendConfigs"] = state?.lbBackendConfigs;
|
|
107
|
+
resourceInputs["pipelineId"] = state?.pipelineId;
|
|
108
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
109
|
+
resourceInputs["s3BackendConfig"] = state?.s3BackendConfig;
|
|
110
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
const args = argsOrState;
|
|
114
|
+
if (args?.pipelineId === undefined && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'pipelineId'");
|
|
116
|
+
}
|
|
117
|
+
resourceInputs["lbBackendConfigs"] = args?.lbBackendConfigs;
|
|
118
|
+
resourceInputs["pipelineId"] = args?.pipelineId;
|
|
119
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
120
|
+
resourceInputs["s3BackendConfig"] = args?.s3BackendConfig;
|
|
121
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
123
|
+
}
|
|
124
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
125
|
+
const aliasOpts = { aliases: [{ type: "scaleway:index/edgeServicesBackendStage:EdgeServicesBackendStage" }] };
|
|
126
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
127
|
+
super(BackendStage.__pulumiType, name, resourceInputs, opts);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.BackendStage = BackendStage;
|
|
131
|
+
/** @internal */
|
|
132
|
+
BackendStage.__pulumiType = 'scaleway:edgeservices/backendStage:BackendStage';
|
|
133
|
+
//# sourceMappingURL=backendStage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backendStage.js","sourceRoot":"","sources":["../../edgeservices/backendStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC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