@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.
Files changed (63) hide show
  1. package/edgeServicesBackendStage.d.ts +9 -6
  2. package/edgeServicesBackendStage.js +11 -6
  3. package/edgeServicesBackendStage.js.map +1 -1
  4. package/edgeServicesCacheStage.d.ts +5 -2
  5. package/edgeServicesCacheStage.js +7 -2
  6. package/edgeServicesCacheStage.js.map +1 -1
  7. package/edgeServicesDnsStage.d.ts +4 -1
  8. package/edgeServicesDnsStage.js +6 -1
  9. package/edgeServicesDnsStage.js.map +1 -1
  10. package/edgeServicesHeadStage.d.ts +7 -4
  11. package/edgeServicesHeadStage.js +9 -4
  12. package/edgeServicesHeadStage.js.map +1 -1
  13. package/edgeServicesPipeline.d.ts +19 -16
  14. package/edgeServicesPipeline.js +21 -16
  15. package/edgeServicesPipeline.js.map +1 -1
  16. package/edgeServicesPlan.d.ts +4 -1
  17. package/edgeServicesPlan.js +6 -1
  18. package/edgeServicesPlan.js.map +1 -1
  19. package/edgeServicesRouteStage.d.ts +4 -1
  20. package/edgeServicesRouteStage.js +6 -1
  21. package/edgeServicesRouteStage.js.map +1 -1
  22. package/edgeServicesTlsStage.d.ts +5 -2
  23. package/edgeServicesTlsStage.js +7 -2
  24. package/edgeServicesTlsStage.js.map +1 -1
  25. package/edgeServicesWafStage.d.ts +4 -1
  26. package/edgeServicesWafStage.js +6 -1
  27. package/edgeServicesWafStage.js.map +1 -1
  28. package/edgeservices/backendStage.d.ts +171 -0
  29. package/edgeservices/backendStage.js +133 -0
  30. package/edgeservices/backendStage.js.map +1 -0
  31. package/edgeservices/cacheStage.d.ts +205 -0
  32. package/edgeservices/cacheStage.js +117 -0
  33. package/edgeservices/cacheStage.js.map +1 -0
  34. package/edgeservices/dnsStage.d.ts +167 -0
  35. package/edgeservices/dnsStage.js +99 -0
  36. package/edgeservices/dnsStage.js.map +1 -0
  37. package/edgeservices/headStage.d.ts +96 -0
  38. package/edgeservices/headStage.js +92 -0
  39. package/edgeservices/headStage.js.map +1 -0
  40. package/edgeservices/index.d.ts +27 -0
  41. package/edgeservices/index.js +62 -0
  42. package/edgeservices/index.js.map +1 -0
  43. package/edgeservices/pipeline.d.ts +183 -0
  44. package/edgeservices/pipeline.js +148 -0
  45. package/edgeservices/pipeline.js.map +1 -0
  46. package/edgeservices/plan.d.ts +84 -0
  47. package/edgeservices/plan.js +77 -0
  48. package/edgeservices/plan.js.map +1 -0
  49. package/edgeservices/routeStage.d.ts +142 -0
  50. package/edgeservices/routeStage.js +104 -0
  51. package/edgeservices/routeStage.js.map +1 -0
  52. package/edgeservices/tlsStage.d.ts +200 -0
  53. package/edgeservices/tlsStage.js +116 -0
  54. package/edgeservices/tlsStage.js.map +1 -0
  55. package/edgeservices/wafStage.d.ts +140 -0
  56. package/edgeservices/wafStage.js +97 -0
  57. package/edgeservices/wafStage.js.map +1 -0
  58. package/index.d.ts +2 -1
  59. package/index.js +3 -1
  60. package/index.js.map +1 -1
  61. package/package.json +2 -2
  62. package/types/input.d.ts +98 -0
  63. package/types/output.d.ts +98 -0
@@ -0,0 +1,96 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Sets the Scaleway Edge Services head stage of your pipeline.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ### Basic
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as scaleway from "@pulumiverse/scaleway";
12
+ *
13
+ * const main = new scaleway.edgeservices.Pipeline("main", {
14
+ * name: "my-edge_services-pipeline",
15
+ * description: "pipeline description",
16
+ * });
17
+ * const mainDnsStage = new scaleway.edgeservices.DnsStage("main", {
18
+ * pipelineId: main.id,
19
+ * tlsStageId: mainScalewayEdgeServicesTlsStage.id,
20
+ * fqdns: ["subdomain.example.com"],
21
+ * });
22
+ * const mainHeadStage = new scaleway.edgeservices.HeadStage("main", {
23
+ * pipelineId: main.id,
24
+ * headStageId: mainDnsStage.id,
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Head stages can be imported using the `{id}`, e.g.
31
+ *
32
+ * bash
33
+ *
34
+ * ```sh
35
+ * $ pulumi import scaleway:edgeservices/headStage:HeadStage main 11111111-1111-1111-1111-111111111111
36
+ * ```
37
+ */
38
+ export declare class HeadStage extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing HeadStage resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HeadStageState, opts?: pulumi.CustomResourceOptions): HeadStage;
49
+ /**
50
+ * Returns true if the given object is an instance of HeadStage. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj: any): obj is HeadStage;
54
+ /**
55
+ * The ID of head stage of the pipeline.
56
+ */
57
+ readonly headStageId: pulumi.Output<string>;
58
+ /**
59
+ * The ID of the pipeline.
60
+ */
61
+ readonly pipelineId: pulumi.Output<string>;
62
+ /**
63
+ * Create a HeadStage resource with the given unique name, arguments, and options.
64
+ *
65
+ * @param name The _unique_ name of the resource.
66
+ * @param args The arguments to use to populate this resource's properties.
67
+ * @param opts A bag of options that control this resource's behavior.
68
+ */
69
+ constructor(name: string, args: HeadStageArgs, opts?: pulumi.CustomResourceOptions);
70
+ }
71
+ /**
72
+ * Input properties used for looking up and filtering HeadStage resources.
73
+ */
74
+ export interface HeadStageState {
75
+ /**
76
+ * The ID of head stage of the pipeline.
77
+ */
78
+ headStageId?: pulumi.Input<string>;
79
+ /**
80
+ * The ID of the pipeline.
81
+ */
82
+ pipelineId?: pulumi.Input<string>;
83
+ }
84
+ /**
85
+ * The set of arguments for constructing a HeadStage resource.
86
+ */
87
+ export interface HeadStageArgs {
88
+ /**
89
+ * The ID of head stage of the pipeline.
90
+ */
91
+ headStageId?: pulumi.Input<string>;
92
+ /**
93
+ * The ID of the pipeline.
94
+ */
95
+ pipelineId: pulumi.Input<string>;
96
+ }
@@ -0,0 +1,92 @@
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.HeadStage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Sets the Scaleway Edge Services head stage of your pipeline.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * const main = new scaleway.edgeservices.Pipeline("main", {
20
+ * name: "my-edge_services-pipeline",
21
+ * description: "pipeline description",
22
+ * });
23
+ * const mainDnsStage = new scaleway.edgeservices.DnsStage("main", {
24
+ * pipelineId: main.id,
25
+ * tlsStageId: mainScalewayEdgeServicesTlsStage.id,
26
+ * fqdns: ["subdomain.example.com"],
27
+ * });
28
+ * const mainHeadStage = new scaleway.edgeservices.HeadStage("main", {
29
+ * pipelineId: main.id,
30
+ * headStageId: mainDnsStage.id,
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * Head stages can be imported using the `{id}`, e.g.
37
+ *
38
+ * bash
39
+ *
40
+ * ```sh
41
+ * $ pulumi import scaleway:edgeservices/headStage:HeadStage main 11111111-1111-1111-1111-111111111111
42
+ * ```
43
+ */
44
+ class HeadStage extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing HeadStage resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name, id, state, opts) {
55
+ return new HeadStage(name, state, { ...opts, id: id });
56
+ }
57
+ /**
58
+ * Returns true if the given object is an instance of HeadStage. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj) {
62
+ if (obj === undefined || obj === null) {
63
+ return false;
64
+ }
65
+ return obj['__pulumiType'] === HeadStage.__pulumiType;
66
+ }
67
+ constructor(name, argsOrState, opts) {
68
+ let resourceInputs = {};
69
+ opts = opts || {};
70
+ if (opts.id) {
71
+ const state = argsOrState;
72
+ resourceInputs["headStageId"] = state?.headStageId;
73
+ resourceInputs["pipelineId"] = state?.pipelineId;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if (args?.pipelineId === undefined && !opts.urn) {
78
+ throw new Error("Missing required property 'pipelineId'");
79
+ }
80
+ resourceInputs["headStageId"] = args?.headStageId;
81
+ resourceInputs["pipelineId"] = args?.pipelineId;
82
+ }
83
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
+ const aliasOpts = { aliases: [{ type: "scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage" }] };
85
+ opts = pulumi.mergeOptions(opts, aliasOpts);
86
+ super(HeadStage.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.HeadStage = HeadStage;
90
+ /** @internal */
91
+ HeadStage.__pulumiType = 'scaleway:edgeservices/headStage:HeadStage';
92
+ //# sourceMappingURL=headStage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"headStage.js","sourceRoot":"","sources":["../../edgeservices/headStage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,SAAU,SAAQ,MAAM,CA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EAAE,4DAA4D,EAAE,CAAC,EAAE,CAAC;QACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAhEL,8BAiEC;AAnDG,gBAAgB;AACO,sBAAY,GAAG,2CAA2C,CAAC"}
@@ -0,0 +1,27 @@
1
+ export { BackendStageArgs, BackendStageState } from "./backendStage";
2
+ export type BackendStage = import("./backendStage").BackendStage;
3
+ export declare const BackendStage: typeof import("./backendStage").BackendStage;
4
+ export { CacheStageArgs, CacheStageState } from "./cacheStage";
5
+ export type CacheStage = import("./cacheStage").CacheStage;
6
+ export declare const CacheStage: typeof import("./cacheStage").CacheStage;
7
+ export { DnsStageArgs, DnsStageState } from "./dnsStage";
8
+ export type DnsStage = import("./dnsStage").DnsStage;
9
+ export declare const DnsStage: typeof import("./dnsStage").DnsStage;
10
+ export { HeadStageArgs, HeadStageState } from "./headStage";
11
+ export type HeadStage = import("./headStage").HeadStage;
12
+ export declare const HeadStage: typeof import("./headStage").HeadStage;
13
+ export { PipelineArgs, PipelineState } from "./pipeline";
14
+ export type Pipeline = import("./pipeline").Pipeline;
15
+ export declare const Pipeline: typeof import("./pipeline").Pipeline;
16
+ export { PlanArgs, PlanState } from "./plan";
17
+ export type Plan = import("./plan").Plan;
18
+ export declare const Plan: typeof import("./plan").Plan;
19
+ export { RouteStageArgs, RouteStageState } from "./routeStage";
20
+ export type RouteStage = import("./routeStage").RouteStage;
21
+ export declare const RouteStage: typeof import("./routeStage").RouteStage;
22
+ export { TlsStageArgs, TlsStageState } from "./tlsStage";
23
+ export type TlsStage = import("./tlsStage").TlsStage;
24
+ export declare const TlsStage: typeof import("./tlsStage").TlsStage;
25
+ export { WafStageArgs, WafStageState } from "./wafStage";
26
+ export type WafStage = import("./wafStage").WafStage;
27
+ export declare const WafStage: typeof import("./wafStage").WafStage;
@@ -0,0 +1,62 @@
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.WafStage = exports.TlsStage = exports.RouteStage = exports.Plan = exports.Pipeline = exports.HeadStage = exports.DnsStage = exports.CacheStage = exports.BackendStage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.BackendStage = null;
9
+ utilities.lazyLoad(exports, ["BackendStage"], () => require("./backendStage"));
10
+ exports.CacheStage = null;
11
+ utilities.lazyLoad(exports, ["CacheStage"], () => require("./cacheStage"));
12
+ exports.DnsStage = null;
13
+ utilities.lazyLoad(exports, ["DnsStage"], () => require("./dnsStage"));
14
+ exports.HeadStage = null;
15
+ utilities.lazyLoad(exports, ["HeadStage"], () => require("./headStage"));
16
+ exports.Pipeline = null;
17
+ utilities.lazyLoad(exports, ["Pipeline"], () => require("./pipeline"));
18
+ exports.Plan = null;
19
+ utilities.lazyLoad(exports, ["Plan"], () => require("./plan"));
20
+ exports.RouteStage = null;
21
+ utilities.lazyLoad(exports, ["RouteStage"], () => require("./routeStage"));
22
+ exports.TlsStage = null;
23
+ utilities.lazyLoad(exports, ["TlsStage"], () => require("./tlsStage"));
24
+ exports.WafStage = null;
25
+ utilities.lazyLoad(exports, ["WafStage"], () => require("./wafStage"));
26
+ const _module = {
27
+ version: utilities.getVersion(),
28
+ construct: (name, type, urn) => {
29
+ switch (type) {
30
+ case "scaleway:edgeservices/backendStage:BackendStage":
31
+ return new exports.BackendStage(name, undefined, { urn });
32
+ case "scaleway:edgeservices/cacheStage:CacheStage":
33
+ return new exports.CacheStage(name, undefined, { urn });
34
+ case "scaleway:edgeservices/dnsStage:DnsStage":
35
+ return new exports.DnsStage(name, undefined, { urn });
36
+ case "scaleway:edgeservices/headStage:HeadStage":
37
+ return new exports.HeadStage(name, undefined, { urn });
38
+ case "scaleway:edgeservices/pipeline:Pipeline":
39
+ return new exports.Pipeline(name, undefined, { urn });
40
+ case "scaleway:edgeservices/plan:Plan":
41
+ return new exports.Plan(name, undefined, { urn });
42
+ case "scaleway:edgeservices/routeStage:RouteStage":
43
+ return new exports.RouteStage(name, undefined, { urn });
44
+ case "scaleway:edgeservices/tlsStage:TlsStage":
45
+ return new exports.TlsStage(name, undefined, { urn });
46
+ case "scaleway:edgeservices/wafStage:WafStage":
47
+ return new exports.WafStage(name, undefined, { urn });
48
+ default:
49
+ throw new Error(`unknown resource type ${type}`);
50
+ }
51
+ },
52
+ };
53
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/backendStage", _module);
54
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/cacheStage", _module);
55
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/dnsStage", _module);
56
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/headStage", _module);
57
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/pipeline", _module);
58
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/plan", _module);
59
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/routeStage", _module);
60
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/tlsStage", _module);
61
+ pulumi.runtime.registerResourceModule("scaleway", "edgeservices/wafStage", _module);
62
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../edgeservices/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ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C;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,183 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates and manages Scaleway Edge Services Pipelines.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ### Basic
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as scaleway from "@pulumiverse/scaleway";
12
+ *
13
+ * const main = new scaleway.edgeservices.Pipeline("main", {
14
+ * name: "pipeline-name",
15
+ * description: "pipeline description",
16
+ * });
17
+ * ```
18
+ *
19
+ * ### Complete pipeline
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as scaleway from "@pulumiverse/scaleway";
24
+ *
25
+ * const main = new scaleway.edgeservices.Pipeline("main", {
26
+ * name: "pipeline-name",
27
+ * description: "pipeline description",
28
+ * });
29
+ * const mainBackendStage = new scaleway.edgeservices.BackendStage("main", {
30
+ * pipelineId: main.id,
31
+ * s3BackendConfig: {
32
+ * bucketName: "my-bucket-name",
33
+ * bucketRegion: "fr-par",
34
+ * },
35
+ * });
36
+ * const mainWafStage = new scaleway.edgeservices.WafStage("main", {
37
+ * pipelineId: main.id,
38
+ * backendStageId: mainBackendStage.id,
39
+ * mode: "enable",
40
+ * paranoiaLevel: 3,
41
+ * });
42
+ * const mainRouteStage = new scaleway.edgeservices.RouteStage("main", {
43
+ * pipelineId: main.id,
44
+ * wafStageId: mainWafStage.id,
45
+ * rules: [{
46
+ * backendStageId: mainBackendStage.id,
47
+ * ruleHttpMatch: {
48
+ * methodFilters: [
49
+ * "get",
50
+ * "post",
51
+ * ],
52
+ * pathFilter: {
53
+ * pathFilterType: "regex",
54
+ * value: ".*",
55
+ * },
56
+ * },
57
+ * }],
58
+ * });
59
+ * const mainCacheStage = new scaleway.edgeservices.CacheStage("main", {
60
+ * pipelineId: main.id,
61
+ * routeStageId: mainRouteStage.id,
62
+ * });
63
+ * const mainTlsStage = new scaleway.edgeservices.TlsStage("main", {
64
+ * pipelineId: main.id,
65
+ * cacheStageId: mainCacheStage.id,
66
+ * managedCertificate: true,
67
+ * });
68
+ * const mainDnsStage = new scaleway.edgeservices.DnsStage("main", {
69
+ * pipelineId: main.id,
70
+ * tlsStageId: mainTlsStage.id,
71
+ * fqdns: ["subdomain.example.com"],
72
+ * });
73
+ * const mainHeadStage = new scaleway.edgeservices.HeadStage("main", {
74
+ * pipelineId: main.id,
75
+ * headStageId: mainDnsStage.id,
76
+ * });
77
+ * ```
78
+ *
79
+ * ## Import
80
+ *
81
+ * Pipelines can be imported using the `{id}`, e.g.
82
+ *
83
+ * bash
84
+ *
85
+ * ```sh
86
+ * $ pulumi import scaleway:edgeservices/pipeline:Pipeline basic 11111111-1111-1111-1111-111111111111
87
+ * ```
88
+ */
89
+ export declare class Pipeline extends pulumi.CustomResource {
90
+ /**
91
+ * Get an existing Pipeline resource's state with the given name, ID, and optional extra
92
+ * properties used to qualify the lookup.
93
+ *
94
+ * @param name The _unique_ name of the resulting resource.
95
+ * @param id The _unique_ provider ID of the resource to lookup.
96
+ * @param state Any extra arguments used during the lookup.
97
+ * @param opts Optional settings to control the behavior of the CustomResource.
98
+ */
99
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PipelineState, opts?: pulumi.CustomResourceOptions): Pipeline;
100
+ /**
101
+ * Returns true if the given object is an instance of Pipeline. This is designed to work even
102
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
103
+ */
104
+ static isInstance(obj: any): obj is Pipeline;
105
+ /**
106
+ * The date and time of the creation of the pipeline.
107
+ */
108
+ readonly createdAt: pulumi.Output<string>;
109
+ /**
110
+ * The description of the pipeline.
111
+ */
112
+ readonly description: pulumi.Output<string | undefined>;
113
+ /**
114
+ * The name of the pipeline.
115
+ */
116
+ readonly name: pulumi.Output<string>;
117
+ /**
118
+ * `projectId`) The ID of the project the pipeline is associated with.
119
+ */
120
+ readonly projectId: pulumi.Output<string>;
121
+ /**
122
+ * The status of user pipeline.
123
+ */
124
+ readonly status: pulumi.Output<string>;
125
+ /**
126
+ * The date and time of the last update of the pipeline.
127
+ */
128
+ readonly updatedAt: pulumi.Output<string>;
129
+ /**
130
+ * Create a Pipeline resource with the given unique name, arguments, and options.
131
+ *
132
+ * @param name The _unique_ name of the resource.
133
+ * @param args The arguments to use to populate this resource's properties.
134
+ * @param opts A bag of options that control this resource's behavior.
135
+ */
136
+ constructor(name: string, args?: PipelineArgs, opts?: pulumi.CustomResourceOptions);
137
+ }
138
+ /**
139
+ * Input properties used for looking up and filtering Pipeline resources.
140
+ */
141
+ export interface PipelineState {
142
+ /**
143
+ * The date and time of the creation of the pipeline.
144
+ */
145
+ createdAt?: pulumi.Input<string>;
146
+ /**
147
+ * The description of the pipeline.
148
+ */
149
+ description?: pulumi.Input<string>;
150
+ /**
151
+ * The name of the pipeline.
152
+ */
153
+ name?: pulumi.Input<string>;
154
+ /**
155
+ * `projectId`) The ID of the project the pipeline is associated with.
156
+ */
157
+ projectId?: pulumi.Input<string>;
158
+ /**
159
+ * The status of user pipeline.
160
+ */
161
+ status?: pulumi.Input<string>;
162
+ /**
163
+ * The date and time of the last update of the pipeline.
164
+ */
165
+ updatedAt?: pulumi.Input<string>;
166
+ }
167
+ /**
168
+ * The set of arguments for constructing a Pipeline resource.
169
+ */
170
+ export interface PipelineArgs {
171
+ /**
172
+ * The description of the pipeline.
173
+ */
174
+ description?: pulumi.Input<string>;
175
+ /**
176
+ * The name of the pipeline.
177
+ */
178
+ name?: pulumi.Input<string>;
179
+ /**
180
+ * `projectId`) The ID of the project the pipeline is associated with.
181
+ */
182
+ projectId?: pulumi.Input<string>;
183
+ }
@@ -0,0 +1,148 @@
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.Pipeline = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Creates and manages Scaleway Edge Services Pipelines.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * const main = new scaleway.edgeservices.Pipeline("main", {
20
+ * name: "pipeline-name",
21
+ * description: "pipeline description",
22
+ * });
23
+ * ```
24
+ *
25
+ * ### Complete pipeline
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as scaleway from "@pulumiverse/scaleway";
30
+ *
31
+ * const main = new scaleway.edgeservices.Pipeline("main", {
32
+ * name: "pipeline-name",
33
+ * description: "pipeline description",
34
+ * });
35
+ * const mainBackendStage = new scaleway.edgeservices.BackendStage("main", {
36
+ * pipelineId: main.id,
37
+ * s3BackendConfig: {
38
+ * bucketName: "my-bucket-name",
39
+ * bucketRegion: "fr-par",
40
+ * },
41
+ * });
42
+ * const mainWafStage = new scaleway.edgeservices.WafStage("main", {
43
+ * pipelineId: main.id,
44
+ * backendStageId: mainBackendStage.id,
45
+ * mode: "enable",
46
+ * paranoiaLevel: 3,
47
+ * });
48
+ * const mainRouteStage = new scaleway.edgeservices.RouteStage("main", {
49
+ * pipelineId: main.id,
50
+ * wafStageId: mainWafStage.id,
51
+ * rules: [{
52
+ * backendStageId: mainBackendStage.id,
53
+ * ruleHttpMatch: {
54
+ * methodFilters: [
55
+ * "get",
56
+ * "post",
57
+ * ],
58
+ * pathFilter: {
59
+ * pathFilterType: "regex",
60
+ * value: ".*",
61
+ * },
62
+ * },
63
+ * }],
64
+ * });
65
+ * const mainCacheStage = new scaleway.edgeservices.CacheStage("main", {
66
+ * pipelineId: main.id,
67
+ * routeStageId: mainRouteStage.id,
68
+ * });
69
+ * const mainTlsStage = new scaleway.edgeservices.TlsStage("main", {
70
+ * pipelineId: main.id,
71
+ * cacheStageId: mainCacheStage.id,
72
+ * managedCertificate: true,
73
+ * });
74
+ * const mainDnsStage = new scaleway.edgeservices.DnsStage("main", {
75
+ * pipelineId: main.id,
76
+ * tlsStageId: mainTlsStage.id,
77
+ * fqdns: ["subdomain.example.com"],
78
+ * });
79
+ * const mainHeadStage = new scaleway.edgeservices.HeadStage("main", {
80
+ * pipelineId: main.id,
81
+ * headStageId: mainDnsStage.id,
82
+ * });
83
+ * ```
84
+ *
85
+ * ## Import
86
+ *
87
+ * Pipelines can be imported using the `{id}`, e.g.
88
+ *
89
+ * bash
90
+ *
91
+ * ```sh
92
+ * $ pulumi import scaleway:edgeservices/pipeline:Pipeline basic 11111111-1111-1111-1111-111111111111
93
+ * ```
94
+ */
95
+ class Pipeline extends pulumi.CustomResource {
96
+ /**
97
+ * Get an existing Pipeline resource's state with the given name, ID, and optional extra
98
+ * properties used to qualify the lookup.
99
+ *
100
+ * @param name The _unique_ name of the resulting resource.
101
+ * @param id The _unique_ provider ID of the resource to lookup.
102
+ * @param state Any extra arguments used during the lookup.
103
+ * @param opts Optional settings to control the behavior of the CustomResource.
104
+ */
105
+ static get(name, id, state, opts) {
106
+ return new Pipeline(name, state, { ...opts, id: id });
107
+ }
108
+ /**
109
+ * Returns true if the given object is an instance of Pipeline. This is designed to work even
110
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
111
+ */
112
+ static isInstance(obj) {
113
+ if (obj === undefined || obj === null) {
114
+ return false;
115
+ }
116
+ return obj['__pulumiType'] === Pipeline.__pulumiType;
117
+ }
118
+ constructor(name, argsOrState, opts) {
119
+ let resourceInputs = {};
120
+ opts = opts || {};
121
+ if (opts.id) {
122
+ const state = argsOrState;
123
+ resourceInputs["createdAt"] = state?.createdAt;
124
+ resourceInputs["description"] = state?.description;
125
+ resourceInputs["name"] = state?.name;
126
+ resourceInputs["projectId"] = state?.projectId;
127
+ resourceInputs["status"] = state?.status;
128
+ resourceInputs["updatedAt"] = state?.updatedAt;
129
+ }
130
+ else {
131
+ const args = argsOrState;
132
+ resourceInputs["description"] = args?.description;
133
+ resourceInputs["name"] = args?.name;
134
+ resourceInputs["projectId"] = args?.projectId;
135
+ resourceInputs["createdAt"] = undefined /*out*/;
136
+ resourceInputs["status"] = undefined /*out*/;
137
+ resourceInputs["updatedAt"] = undefined /*out*/;
138
+ }
139
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
140
+ const aliasOpts = { aliases: [{ type: "scaleway:index/edgeServicesPipeline:EdgeServicesPipeline" }] };
141
+ opts = pulumi.mergeOptions(opts, aliasOpts);
142
+ super(Pipeline.__pulumiType, name, resourceInputs, opts);
143
+ }
144
+ }
145
+ exports.Pipeline = Pipeline;
146
+ /** @internal */
147
+ Pipeline.__pulumiType = 'scaleway:edgeservices/pipeline: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