published on Wednesday, Sep 9, 2026 by pulumiverse
published on Wednesday, Sep 9, 2026 by pulumiverse
Gets information about an Edge Services WAF (Web Application Firewall) stage.
A WAF stage provides web application firewall protection for an Edge Services pipeline, inspecting HTTP requests and blocking malicious traffic based on a configurable paranoia level.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Retrieve an Edge Services WAF stage by its ID
const byId = scaleway.edgeservices.getWafStage({
wafStageId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Retrieve an Edge Services WAF stage by its ID
by_id = scaleway.edgeservices.get_waf_stage(waf_stage_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/edgeservices"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Retrieve an Edge Services WAF stage by its ID
_, err := edgeservices.LookupWafStage(ctx, &edgeservices.LookupWafStageArgs{
WafStageId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Retrieve an Edge Services WAF stage by its ID
var byId = Scaleway.Edgeservices.GetWafStage.Invoke(new()
{
WafStageId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.edgeservices.EdgeservicesFunctions;
import com.pulumi.scaleway.edgeservices.inputs.GetWafStageArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Retrieve an Edge Services WAF stage by its ID
final var byId = EdgeservicesFunctions.getWafStage(GetWafStageArgs.builder()
.wafStageId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Retrieve an Edge Services WAF stage by its ID
byId:
fn::invoke:
function: scaleway:edgeservices:getWafStage
arguments:
wafStageId: 11111111-1111-1111-1111-111111111111
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_edgeservices_getwafstage" "byId" {
waf_stage_id = "11111111-1111-1111-1111-111111111111"
}
# Retrieve an Edge Services WAF stage by its ID
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Retrieve an Edge Services WAF stage by pipeline ID
const byPipeline = scaleway.edgeservices.getWafStage({
pipelineId: main.id,
});
import pulumi
import pulumi_scaleway as scaleway
# Retrieve an Edge Services WAF stage by pipeline ID
by_pipeline = scaleway.edgeservices.get_waf_stage(pipeline_id=main["id"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/edgeservices"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Retrieve an Edge Services WAF stage by pipeline ID
_, err := edgeservices.LookupWafStage(ctx, &edgeservices.LookupWafStageArgs{
PipelineId: pulumi.StringRef(main.Id),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Retrieve an Edge Services WAF stage by pipeline ID
var byPipeline = Scaleway.Edgeservices.GetWafStage.Invoke(new()
{
PipelineId = main.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.edgeservices.EdgeservicesFunctions;
import com.pulumi.scaleway.edgeservices.inputs.GetWafStageArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Retrieve an Edge Services WAF stage by pipeline ID
final var byPipeline = EdgeservicesFunctions.getWafStage(GetWafStageArgs.builder()
.pipelineId(main.id())
.build());
}
}
variables:
# Retrieve an Edge Services WAF stage by pipeline ID
byPipeline:
fn::invoke:
function: scaleway:edgeservices:getWafStage
arguments:
pipelineId: ${main.id}
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_edgeservices_getwafstage" "byPipeline" {
pipeline_id = main.id
}
# Retrieve an Edge Services WAF stage by pipeline ID
Using getWafStage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWafStage(args: GetWafStageArgs, opts?: InvokeOptions): Promise<GetWafStageResult>
function getWafStageOutput(args: GetWafStageOutputArgs, opts?: InvokeOutputOptions): Output<GetWafStageResult>def get_waf_stage(pipeline_id: Optional[str] = None,
waf_stage_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWafStageResult
def get_waf_stage_output(pipeline_id: pulumi.Input[Optional[str]] = None,
waf_stage_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWafStageResult]func LookupWafStage(ctx *Context, args *LookupWafStageArgs, opts ...InvokeOption) (*LookupWafStageResult, error)
func LookupWafStageOutput(ctx *Context, args *LookupWafStageOutputArgs, opts ...InvokeOption) LookupWafStageResultOutput> Note: This function is named LookupWafStage in the Go SDK.
public static class GetWafStage
{
public static Task<GetWafStageResult> InvokeAsync(GetWafStageArgs args, InvokeOptions? opts = null)
public static Output<GetWafStageResult> Invoke(GetWafStageInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWafStageResult> Invoke(GetWafStageInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWafStageResult> getWafStage(GetWafStageArgs args, InvokeOptions options)
public static Output<GetWafStageResult> getWafStage(GetWafStageArgs args, InvokeOptions options)
public static Output<GetWafStageResult> getWafStage(GetWafStageArgs args, InvokeOutputOptions options)
fn::invoke:
function: scaleway:edgeservices/getWafStage:getWafStage
arguments:
# arguments dictionarydata "scaleway_edgeservices_get_waf_stage" "name" {
# arguments
}The following arguments are supported:
- Pipeline
Id string - The ID of the pipeline.
- Waf
Stage stringId The ID of the WAF stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
wafStageId):
- Pipeline
Id string - The ID of the pipeline.
- Waf
Stage stringId The ID of the WAF stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
wafStageId):
- pipeline_
id string - The ID of the pipeline.
- waf_
stage_ stringid The ID of the WAF stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
wafStageId):
- pipeline
Id String - The ID of the pipeline.
- waf
Stage StringId The ID of the WAF stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
wafStageId):
- pipeline
Id string - The ID of the pipeline.
- waf
Stage stringId The ID of the WAF stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
wafStageId):
- pipeline_
id str - The ID of the pipeline.
- waf_
stage_ strid The ID of the WAF stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
wafStageId):
- pipeline
Id String - The ID of the pipeline.
- waf
Stage StringId The ID of the WAF stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
wafStageId):
getWafStage Result
The following output properties are available:
- Backend
Stage stringId - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Paranoia
Level int - Project
Id string - Updated
At string - Pipeline
Id string - Waf
Stage stringId
- Backend
Stage stringId - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Paranoia
Level int - Project
Id string - Updated
At string - Pipeline
Id string - Waf
Stage stringId
- backend_
stage_ stringid - created_
at string - id string
- The provider-assigned unique ID for this managed resource.
- mode string
- paranoia_
level number - project_
id string - updated_
at string - pipeline_
id string - waf_
stage_ stringid
- backend
Stage StringId - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- mode String
- paranoia
Level Integer - project
Id String - updated
At String - pipeline
Id String - waf
Stage StringId
- backend
Stage stringId - created
At string - id string
- The provider-assigned unique ID for this managed resource.
- mode string
- paranoia
Level number - project
Id string - updated
At string - pipeline
Id string - waf
Stage stringId
- backend_
stage_ strid - created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- mode str
- paranoia_
level int - project_
id str - updated_
at str - pipeline_
id str - waf_
stage_ strid
- backend
Stage StringId - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- mode String
- paranoia
Level Number - project
Id String - updated
At String - pipeline
Id String - waf
Stage StringId
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Wednesday, Sep 9, 2026 by pulumiverse