@pulumiverse/scaleway 1.25.0 → 1.26.0-alpha.1743166124

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 (144) hide show
  1. package/appleSiliconServer.d.ts +28 -0
  2. package/appleSiliconServer.js +8 -0
  3. package/appleSiliconServer.js.map +1 -1
  4. package/applesilicon/server.d.ts +28 -0
  5. package/applesilicon/server.js +8 -0
  6. package/applesilicon/server.js.map +1 -1
  7. package/domain/index.d.ts +3 -0
  8. package/domain/index.js +6 -1
  9. package/domain/index.js.map +1 -1
  10. package/domain/registration.d.ts +275 -0
  11. package/domain/registration.js +193 -0
  12. package/domain/registration.js.map +1 -0
  13. package/edgeServicesBackendStage.d.ts +171 -0
  14. package/edgeServicesBackendStage.js +131 -0
  15. package/edgeServicesBackendStage.js.map +1 -0
  16. package/edgeServicesCacheStage.d.ts +153 -0
  17. package/edgeServicesCacheStage.js +93 -0
  18. package/edgeServicesCacheStage.js.map +1 -0
  19. package/edgeServicesDnsStage.d.ts +159 -0
  20. package/edgeServicesDnsStage.js +95 -0
  21. package/edgeServicesDnsStage.js.map +1 -0
  22. package/edgeServicesHeadStage.d.ts +96 -0
  23. package/edgeServicesHeadStage.js +90 -0
  24. package/edgeServicesHeadStage.js.map +1 -0
  25. package/edgeServicesPipeline.d.ts +160 -0
  26. package/edgeServicesPipeline.js +123 -0
  27. package/edgeServicesPipeline.js.map +1 -0
  28. package/edgeServicesPlan.d.ts +84 -0
  29. package/edgeServicesPlan.js +75 -0
  30. package/edgeServicesPlan.js.map +1 -0
  31. package/edgeServicesRouteStage.d.ts +142 -0
  32. package/edgeServicesRouteStage.js +102 -0
  33. package/edgeServicesRouteStage.js.map +1 -0
  34. package/edgeServicesTlsStage.d.ts +176 -0
  35. package/edgeServicesTlsStage.js +110 -0
  36. package/edgeServicesTlsStage.js.map +1 -0
  37. package/edgeServicesWafStage.d.ts +140 -0
  38. package/edgeServicesWafStage.js +95 -0
  39. package/edgeServicesWafStage.js.map +1 -0
  40. package/elasticmetal/ip.d.ts +6 -3
  41. package/elasticmetal/ip.js +3 -0
  42. package/elasticmetal/ip.js.map +1 -1
  43. package/flexibleIp.d.ts +6 -3
  44. package/flexibleIp.js +3 -0
  45. package/flexibleIp.js.map +1 -1
  46. package/getLbFrontend.d.ts +1 -0
  47. package/getLbFrontend.js.map +1 -1
  48. package/getLbRoute.d.ts +1 -0
  49. package/getLbRoute.js.map +1 -1
  50. package/getSecret.d.ts +1 -0
  51. package/getSecret.js.map +1 -1
  52. package/getVpcPublicGateway.d.ts +3 -0
  53. package/getVpcPublicGateway.js.map +1 -1
  54. package/getVpcPublicGatewayDhcp.d.ts +8 -0
  55. package/getVpcPublicGatewayDhcp.js +8 -0
  56. package/getVpcPublicGatewayDhcp.js.map +1 -1
  57. package/getVpcPublicGatewayDhcpReservation.d.ts +8 -0
  58. package/getVpcPublicGatewayDhcpReservation.js +8 -0
  59. package/getVpcPublicGatewayDhcpReservation.js.map +1 -1
  60. package/index.d.ts +27 -0
  61. package/index.js +52 -7
  62. package/index.js.map +1 -1
  63. package/loadbalancerBackend.d.ts +1 -1
  64. package/loadbalancerBackend.js +1 -1
  65. package/loadbalancerFrontend.d.ts +12 -0
  66. package/loadbalancerFrontend.js +2 -0
  67. package/loadbalancerFrontend.js.map +1 -1
  68. package/loadbalancerRoute.d.ts +12 -0
  69. package/loadbalancerRoute.js +2 -0
  70. package/loadbalancerRoute.js.map +1 -1
  71. package/loadbalancers/backend.d.ts +1 -1
  72. package/loadbalancers/backend.js +1 -1
  73. package/loadbalancers/frontend.d.ts +12 -0
  74. package/loadbalancers/frontend.js +2 -0
  75. package/loadbalancers/frontend.js.map +1 -1
  76. package/loadbalancers/getFrontend.d.ts +1 -0
  77. package/loadbalancers/getFrontend.js.map +1 -1
  78. package/loadbalancers/getRoute.d.ts +1 -0
  79. package/loadbalancers/getRoute.js.map +1 -1
  80. package/loadbalancers/route.d.ts +12 -0
  81. package/loadbalancers/route.js +2 -0
  82. package/loadbalancers/route.js.map +1 -1
  83. package/network/acl.d.ts +138 -0
  84. package/network/acl.js +106 -0
  85. package/network/acl.js.map +1 -0
  86. package/network/gatewayNetwork.d.ts +54 -64
  87. package/network/gatewayNetwork.js +2 -48
  88. package/network/gatewayNetwork.js.map +1 -1
  89. package/network/getPublicGateway.d.ts +3 -0
  90. package/network/getPublicGateway.js.map +1 -1
  91. package/network/getPublicGatewayDhcp.d.ts +8 -0
  92. package/network/getPublicGatewayDhcp.js +8 -0
  93. package/network/getPublicGatewayDhcp.js.map +1 -1
  94. package/network/getPublicGatewayDhcpReservation.d.ts +8 -0
  95. package/network/getPublicGatewayDhcpReservation.js +8 -0
  96. package/network/getPublicGatewayDhcpReservation.js.map +1 -1
  97. package/network/index.d.ts +3 -0
  98. package/network/index.js +6 -1
  99. package/network/index.js.map +1 -1
  100. package/network/publicGateway.d.ts +33 -5
  101. package/network/publicGateway.js +7 -1
  102. package/network/publicGateway.js.map +1 -1
  103. package/network/publicGatewayDhcp.d.ts +4 -0
  104. package/network/publicGatewayDhcp.js +4 -0
  105. package/network/publicGatewayDhcp.js.map +1 -1
  106. package/network/publicGatewayDhcpReservation.d.ts +4 -0
  107. package/network/publicGatewayDhcpReservation.js +4 -0
  108. package/network/publicGatewayDhcpReservation.js.map +1 -1
  109. package/package.json +2 -2
  110. package/secret.d.ts +2 -0
  111. package/secret.js +2 -0
  112. package/secret.js.map +1 -1
  113. package/secrets/getSecret.d.ts +1 -0
  114. package/secrets/getSecret.js.map +1 -1
  115. package/secrets/secret.d.ts +2 -0
  116. package/secrets/secret.js +2 -0
  117. package/secrets/secret.js.map +1 -1
  118. package/tem/blockedList.d.ts +139 -0
  119. package/tem/blockedList.js +99 -0
  120. package/tem/blockedList.js.map +1 -0
  121. package/tem/domain.d.ts +3 -0
  122. package/tem/domain.js.map +1 -1
  123. package/tem/getOfferSubscription.d.ts +102 -0
  124. package/tem/getOfferSubscription.js +52 -0
  125. package/tem/getOfferSubscription.js.map +1 -0
  126. package/tem/index.d.ts +6 -0
  127. package/tem/index.js +9 -1
  128. package/tem/index.js.map +1 -1
  129. package/temDomain.d.ts +3 -0
  130. package/temDomain.js.map +1 -1
  131. package/types/input.d.ts +718 -0
  132. package/types/output.d.ts +790 -2
  133. package/vpcGatewayNetwork.d.ts +54 -64
  134. package/vpcGatewayNetwork.js +2 -48
  135. package/vpcGatewayNetwork.js.map +1 -1
  136. package/vpcPublicGateway.d.ts +33 -5
  137. package/vpcPublicGateway.js +7 -1
  138. package/vpcPublicGateway.js.map +1 -1
  139. package/vpcPublicGatewayDhcp.d.ts +4 -0
  140. package/vpcPublicGatewayDhcp.js +4 -0
  141. package/vpcPublicGatewayDhcp.js.map +1 -1
  142. package/vpcPublicGatewayDhcpReservation.d.ts +4 -0
  143. package/vpcPublicGatewayDhcpReservation.js +4 -0
  144. package/vpcPublicGatewayDhcpReservation.js.map +1 -1
@@ -0,0 +1,160 @@
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.EdgeServicesPipeline("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.EdgeServicesPipeline("main", {
26
+ * name: "pipeline-name",
27
+ * description: "pipeline description",
28
+ * });
29
+ * const mainEdgeServicesBackendStage = new scaleway.EdgeServicesBackendStage("main", {
30
+ * pipelineId: main.id,
31
+ * s3BackendConfig: {
32
+ * bucketName: "my-bucket-name",
33
+ * bucketRegion: "fr-par",
34
+ * },
35
+ * });
36
+ * const mainEdgeServicesCacheStage = new scaleway.EdgeServicesCacheStage("main", {
37
+ * pipelineId: main.id,
38
+ * backendStageId: mainEdgeServicesBackendStage.id,
39
+ * });
40
+ * const mainEdgeServicesTlsStage = new scaleway.EdgeServicesTlsStage("main", {
41
+ * pipelineId: main.id,
42
+ * cacheStageId: mainEdgeServicesCacheStage.id,
43
+ * managedCertificate: true,
44
+ * });
45
+ * const mainEdgeServicesDnsStage = new scaleway.EdgeServicesDnsStage("main", {
46
+ * pipelineId: main.id,
47
+ * tlsStageId: mainEdgeServicesTlsStage.id,
48
+ * fqdns: ["subdomain.example.com"],
49
+ * });
50
+ * const mainEdgeServicesHeadStage = new scaleway.EdgeServicesHeadStage("main", {
51
+ * pipelineId: main.id,
52
+ * headStageId: mainEdgeServicesDnsStage.id,
53
+ * });
54
+ * ```
55
+ *
56
+ * ## Import
57
+ *
58
+ * Pipelines can be imported using the `{id}`, e.g.
59
+ *
60
+ * bash
61
+ *
62
+ * ```sh
63
+ * $ pulumi import scaleway:index/edgeServicesPipeline:EdgeServicesPipeline basic 11111111-1111-1111-1111-111111111111
64
+ * ```
65
+ */
66
+ export declare class EdgeServicesPipeline extends pulumi.CustomResource {
67
+ /**
68
+ * Get an existing EdgeServicesPipeline resource's state with the given name, ID, and optional extra
69
+ * properties used to qualify the lookup.
70
+ *
71
+ * @param name The _unique_ name of the resulting resource.
72
+ * @param id The _unique_ provider ID of the resource to lookup.
73
+ * @param state Any extra arguments used during the lookup.
74
+ * @param opts Optional settings to control the behavior of the CustomResource.
75
+ */
76
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeServicesPipelineState, opts?: pulumi.CustomResourceOptions): EdgeServicesPipeline;
77
+ /**
78
+ * Returns true if the given object is an instance of EdgeServicesPipeline. This is designed to work even
79
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
80
+ */
81
+ static isInstance(obj: any): obj is EdgeServicesPipeline;
82
+ /**
83
+ * The date and time of the creation of the pipeline.
84
+ */
85
+ readonly createdAt: pulumi.Output<string>;
86
+ /**
87
+ * The description of the pipeline.
88
+ */
89
+ readonly description: pulumi.Output<string | undefined>;
90
+ /**
91
+ * The name of the pipeline.
92
+ */
93
+ readonly name: pulumi.Output<string>;
94
+ /**
95
+ * `projectId`) The ID of the project the pipeline is associated with.
96
+ */
97
+ readonly projectId: pulumi.Output<string>;
98
+ /**
99
+ * The status of user pipeline.
100
+ */
101
+ readonly status: pulumi.Output<string>;
102
+ /**
103
+ * The date and time of the last update of the pipeline.
104
+ */
105
+ readonly updatedAt: pulumi.Output<string>;
106
+ /**
107
+ * Create a EdgeServicesPipeline resource with the given unique name, arguments, and options.
108
+ *
109
+ * @param name The _unique_ name of the resource.
110
+ * @param args The arguments to use to populate this resource's properties.
111
+ * @param opts A bag of options that control this resource's behavior.
112
+ */
113
+ constructor(name: string, args?: EdgeServicesPipelineArgs, opts?: pulumi.CustomResourceOptions);
114
+ }
115
+ /**
116
+ * Input properties used for looking up and filtering EdgeServicesPipeline resources.
117
+ */
118
+ export interface EdgeServicesPipelineState {
119
+ /**
120
+ * The date and time of the creation of the pipeline.
121
+ */
122
+ createdAt?: pulumi.Input<string>;
123
+ /**
124
+ * The description of the pipeline.
125
+ */
126
+ description?: pulumi.Input<string>;
127
+ /**
128
+ * The name of the pipeline.
129
+ */
130
+ name?: pulumi.Input<string>;
131
+ /**
132
+ * `projectId`) The ID of the project the pipeline is associated with.
133
+ */
134
+ projectId?: pulumi.Input<string>;
135
+ /**
136
+ * The status of user pipeline.
137
+ */
138
+ status?: pulumi.Input<string>;
139
+ /**
140
+ * The date and time of the last update of the pipeline.
141
+ */
142
+ updatedAt?: pulumi.Input<string>;
143
+ }
144
+ /**
145
+ * The set of arguments for constructing a EdgeServicesPipeline resource.
146
+ */
147
+ export interface EdgeServicesPipelineArgs {
148
+ /**
149
+ * The description of the pipeline.
150
+ */
151
+ description?: pulumi.Input<string>;
152
+ /**
153
+ * The name of the pipeline.
154
+ */
155
+ name?: pulumi.Input<string>;
156
+ /**
157
+ * `projectId`) The ID of the project the pipeline is associated with.
158
+ */
159
+ projectId?: pulumi.Input<string>;
160
+ }
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.EdgeServicesPipeline = 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.EdgeServicesPipeline("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.EdgeServicesPipeline("main", {
32
+ * name: "pipeline-name",
33
+ * description: "pipeline description",
34
+ * });
35
+ * const mainEdgeServicesBackendStage = new scaleway.EdgeServicesBackendStage("main", {
36
+ * pipelineId: main.id,
37
+ * s3BackendConfig: {
38
+ * bucketName: "my-bucket-name",
39
+ * bucketRegion: "fr-par",
40
+ * },
41
+ * });
42
+ * const mainEdgeServicesCacheStage = new scaleway.EdgeServicesCacheStage("main", {
43
+ * pipelineId: main.id,
44
+ * backendStageId: mainEdgeServicesBackendStage.id,
45
+ * });
46
+ * const mainEdgeServicesTlsStage = new scaleway.EdgeServicesTlsStage("main", {
47
+ * pipelineId: main.id,
48
+ * cacheStageId: mainEdgeServicesCacheStage.id,
49
+ * managedCertificate: true,
50
+ * });
51
+ * const mainEdgeServicesDnsStage = new scaleway.EdgeServicesDnsStage("main", {
52
+ * pipelineId: main.id,
53
+ * tlsStageId: mainEdgeServicesTlsStage.id,
54
+ * fqdns: ["subdomain.example.com"],
55
+ * });
56
+ * const mainEdgeServicesHeadStage = new scaleway.EdgeServicesHeadStage("main", {
57
+ * pipelineId: main.id,
58
+ * headStageId: mainEdgeServicesDnsStage.id,
59
+ * });
60
+ * ```
61
+ *
62
+ * ## Import
63
+ *
64
+ * Pipelines can be imported using the `{id}`, e.g.
65
+ *
66
+ * bash
67
+ *
68
+ * ```sh
69
+ * $ pulumi import scaleway:index/edgeServicesPipeline:EdgeServicesPipeline basic 11111111-1111-1111-1111-111111111111
70
+ * ```
71
+ */
72
+ class EdgeServicesPipeline extends pulumi.CustomResource {
73
+ /**
74
+ * Get an existing EdgeServicesPipeline resource's state with the given name, ID, and optional extra
75
+ * properties used to qualify the lookup.
76
+ *
77
+ * @param name The _unique_ name of the resulting resource.
78
+ * @param id The _unique_ provider ID of the resource to lookup.
79
+ * @param state Any extra arguments used during the lookup.
80
+ * @param opts Optional settings to control the behavior of the CustomResource.
81
+ */
82
+ static get(name, id, state, opts) {
83
+ return new EdgeServicesPipeline(name, state, Object.assign(Object.assign({}, opts), { id: id }));
84
+ }
85
+ /**
86
+ * Returns true if the given object is an instance of EdgeServicesPipeline. This is designed to work even
87
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
88
+ */
89
+ static isInstance(obj) {
90
+ if (obj === undefined || obj === null) {
91
+ return false;
92
+ }
93
+ return obj['__pulumiType'] === EdgeServicesPipeline.__pulumiType;
94
+ }
95
+ constructor(name, argsOrState, opts) {
96
+ let resourceInputs = {};
97
+ opts = opts || {};
98
+ if (opts.id) {
99
+ const state = argsOrState;
100
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
101
+ resourceInputs["description"] = state ? state.description : undefined;
102
+ resourceInputs["name"] = state ? state.name : undefined;
103
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
104
+ resourceInputs["status"] = state ? state.status : undefined;
105
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
106
+ }
107
+ else {
108
+ const args = argsOrState;
109
+ resourceInputs["description"] = args ? args.description : undefined;
110
+ resourceInputs["name"] = args ? args.name : undefined;
111
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
112
+ resourceInputs["createdAt"] = undefined /*out*/;
113
+ resourceInputs["status"] = undefined /*out*/;
114
+ resourceInputs["updatedAt"] = undefined /*out*/;
115
+ }
116
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
117
+ super(EdgeServicesPipeline.__pulumiType, name, resourceInputs, opts);
118
+ }
119
+ }
120
+ exports.EdgeServicesPipeline = EdgeServicesPipeline;
121
+ /** @internal */
122
+ EdgeServicesPipeline.__pulumiType = 'scaleway:index/edgeServicesPipeline:EdgeServicesPipeline';
123
+ //# sourceMappingURL=edgeServicesPipeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edgeServicesPipeline.js","sourceRoot":"","sources":["../edgeServicesPipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAnFL,oDAoFC;AAtEG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
@@ -0,0 +1,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates and manages Scaleway Edge Services plans.
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.EdgeServicesPlan("main", {name: "starter"});
14
+ * ```
15
+ *
16
+ * ## Import
17
+ *
18
+ * Plans can be imported using `{project_id}/{plan_name}`, e.g.
19
+ *
20
+ * bash
21
+ *
22
+ * ```sh
23
+ * $ pulumi import scaleway:index/edgeServicesPlan:EdgeServicesPlan main 11111111-1111-1111-1111-111111111111/starter
24
+ * ```
25
+ */
26
+ export declare class EdgeServicesPlan extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing EdgeServicesPlan resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeServicesPlanState, opts?: pulumi.CustomResourceOptions): EdgeServicesPlan;
37
+ /**
38
+ * Returns true if the given object is an instance of EdgeServicesPlan. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is EdgeServicesPlan;
42
+ /**
43
+ * The name of the plan.
44
+ */
45
+ readonly name: pulumi.Output<string>;
46
+ /**
47
+ * `projectId`) The ID of the project the plan is associated with.
48
+ */
49
+ readonly projectId: pulumi.Output<string>;
50
+ /**
51
+ * Create a EdgeServicesPlan resource with the given unique name, arguments, and options.
52
+ *
53
+ * @param name The _unique_ name of the resource.
54
+ * @param args The arguments to use to populate this resource's properties.
55
+ * @param opts A bag of options that control this resource's behavior.
56
+ */
57
+ constructor(name: string, args?: EdgeServicesPlanArgs, opts?: pulumi.CustomResourceOptions);
58
+ }
59
+ /**
60
+ * Input properties used for looking up and filtering EdgeServicesPlan resources.
61
+ */
62
+ export interface EdgeServicesPlanState {
63
+ /**
64
+ * The name of the plan.
65
+ */
66
+ name?: pulumi.Input<string>;
67
+ /**
68
+ * `projectId`) The ID of the project the plan is associated with.
69
+ */
70
+ projectId?: pulumi.Input<string>;
71
+ }
72
+ /**
73
+ * The set of arguments for constructing a EdgeServicesPlan resource.
74
+ */
75
+ export interface EdgeServicesPlanArgs {
76
+ /**
77
+ * The name of the plan.
78
+ */
79
+ name?: pulumi.Input<string>;
80
+ /**
81
+ * `projectId`) The ID of the project the plan is associated with.
82
+ */
83
+ projectId?: pulumi.Input<string>;
84
+ }
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.EdgeServicesPlan = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Creates and manages Scaleway Edge Services plans.
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.EdgeServicesPlan("main", {name: "starter"});
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * Plans can be imported using `{project_id}/{plan_name}`, e.g.
25
+ *
26
+ * bash
27
+ *
28
+ * ```sh
29
+ * $ pulumi import scaleway:index/edgeServicesPlan:EdgeServicesPlan main 11111111-1111-1111-1111-111111111111/starter
30
+ * ```
31
+ */
32
+ class EdgeServicesPlan extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing EdgeServicesPlan resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, state, opts) {
43
+ return new EdgeServicesPlan(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of EdgeServicesPlan. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === EdgeServicesPlan.__pulumiType;
54
+ }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["name"] = state ? state.name : undefined;
61
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
62
+ }
63
+ else {
64
+ const args = argsOrState;
65
+ resourceInputs["name"] = args ? args.name : undefined;
66
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
67
+ }
68
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
69
+ super(EdgeServicesPlan.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.EdgeServicesPlan = EdgeServicesPlan;
73
+ /** @internal */
74
+ EdgeServicesPlan.__pulumiType = 'scaleway:index/edgeServicesPlan:EdgeServicesPlan';
75
+ //# sourceMappingURL=edgeServicesPlan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edgeServicesPlan.js","sourceRoot":"","sources":["../edgeServicesPlan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA3DL,4CA4DC;AA9CG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,142 @@
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 Route Stages.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as scaleway from "@pulumiverse/scaleway";
14
+ *
15
+ * const main = new scaleway.EdgeServicesRouteStage("main", {
16
+ * pipelineId: mainScalewayEdgeServicesPipeline.id,
17
+ * wafStageId: waf.id,
18
+ * rules: [{
19
+ * backendStageId: backend.id,
20
+ * ruleHttpMatch: {
21
+ * methodFilters: [
22
+ * "get",
23
+ * "post",
24
+ * ],
25
+ * pathFilter: {
26
+ * pathFilterType: "regex",
27
+ * value: ".*",
28
+ * },
29
+ * },
30
+ * }],
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * Route stages can be imported using the `{id}`, e.g.
37
+ *
38
+ * bash
39
+ *
40
+ * ```sh
41
+ * $ pulumi import scaleway:index/edgeServicesRouteStage:EdgeServicesRouteStage basic 11111111-1111-1111-1111-111111111111
42
+ * ```
43
+ */
44
+ export declare class EdgeServicesRouteStage extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing EdgeServicesRouteStage 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: string, id: pulumi.Input<pulumi.ID>, state?: EdgeServicesRouteStageState, opts?: pulumi.CustomResourceOptions): EdgeServicesRouteStage;
55
+ /**
56
+ * Returns true if the given object is an instance of EdgeServicesRouteStage. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is EdgeServicesRouteStage;
60
+ /**
61
+ * The date and time of the creation of the route stage.
62
+ */
63
+ readonly createdAt: pulumi.Output<string>;
64
+ /**
65
+ * The ID of the pipeline.
66
+ */
67
+ readonly pipelineId: pulumi.Output<string>;
68
+ /**
69
+ * `projectId`) The ID of the project the route stage is associated with.
70
+ */
71
+ readonly projectId: pulumi.Output<string>;
72
+ /**
73
+ * The list of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `wafStageId`.
74
+ */
75
+ readonly rules: pulumi.Output<outputs.EdgeServicesRouteStageRule[] | undefined>;
76
+ /**
77
+ * The date and time of the last update of the route stage.
78
+ */
79
+ readonly updatedAt: pulumi.Output<string>;
80
+ /**
81
+ * The ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
82
+ */
83
+ readonly wafStageId: pulumi.Output<string | undefined>;
84
+ /**
85
+ * Create a EdgeServicesRouteStage resource with the given unique name, arguments, and options.
86
+ *
87
+ * @param name The _unique_ name of the resource.
88
+ * @param args The arguments to use to populate this resource's properties.
89
+ * @param opts A bag of options that control this resource's behavior.
90
+ */
91
+ constructor(name: string, args: EdgeServicesRouteStageArgs, opts?: pulumi.CustomResourceOptions);
92
+ }
93
+ /**
94
+ * Input properties used for looking up and filtering EdgeServicesRouteStage resources.
95
+ */
96
+ export interface EdgeServicesRouteStageState {
97
+ /**
98
+ * The date and time of the creation of the route stage.
99
+ */
100
+ createdAt?: pulumi.Input<string>;
101
+ /**
102
+ * The ID of the pipeline.
103
+ */
104
+ pipelineId?: pulumi.Input<string>;
105
+ /**
106
+ * `projectId`) The ID of the project the route stage is associated with.
107
+ */
108
+ projectId?: pulumi.Input<string>;
109
+ /**
110
+ * The list of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `wafStageId`.
111
+ */
112
+ rules?: pulumi.Input<pulumi.Input<inputs.EdgeServicesRouteStageRule>[]>;
113
+ /**
114
+ * The date and time of the last update of the route stage.
115
+ */
116
+ updatedAt?: pulumi.Input<string>;
117
+ /**
118
+ * The ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
119
+ */
120
+ wafStageId?: pulumi.Input<string>;
121
+ }
122
+ /**
123
+ * The set of arguments for constructing a EdgeServicesRouteStage resource.
124
+ */
125
+ export interface EdgeServicesRouteStageArgs {
126
+ /**
127
+ * The ID of the pipeline.
128
+ */
129
+ pipelineId: pulumi.Input<string>;
130
+ /**
131
+ * `projectId`) The ID of the project the route stage is associated with.
132
+ */
133
+ projectId?: pulumi.Input<string>;
134
+ /**
135
+ * The list of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `wafStageId`.
136
+ */
137
+ rules?: pulumi.Input<pulumi.Input<inputs.EdgeServicesRouteStageRule>[]>;
138
+ /**
139
+ * The ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
140
+ */
141
+ wafStageId?: pulumi.Input<string>;
142
+ }