published on Wednesday, Sep 9, 2026 by pulumiverse
published on Wednesday, Sep 9, 2026 by pulumiverse
Gets information about an Edge Services DNS stage.
A DNS stage defines the Fully Qualified Domain Names (FQDNs) attached to an Edge Services pipeline and links them to the next processing stage.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Retrieve an Edge Services DNS stage by its ID
const byId = scaleway.edgeservices.getDnsStage({
dnsStageId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Retrieve an Edge Services DNS stage by its ID
by_id = scaleway.edgeservices.get_dns_stage(dns_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 DNS stage by its ID
_, err := edgeservices.LookupDnsStage(ctx, &edgeservices.LookupDnsStageArgs{
DnsStageId: 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 DNS stage by its ID
var byId = Scaleway.Edgeservices.GetDnsStage.Invoke(new()
{
DnsStageId = "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.GetDnsStageArgs;
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 DNS stage by its ID
final var byId = EdgeservicesFunctions.getDnsStage(GetDnsStageArgs.builder()
.dnsStageId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Retrieve an Edge Services DNS stage by its ID
byId:
fn::invoke:
function: scaleway:edgeservices:getDnsStage
arguments:
dnsStageId: 11111111-1111-1111-1111-111111111111
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_edgeservices_getdnsstage" "byId" {
dns_stage_id = "11111111-1111-1111-1111-111111111111"
}
# Retrieve an Edge Services DNS stage by its ID
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Retrieve an Edge Services DNS stage by pipeline ID and FQDN
const byFqdn = scaleway.edgeservices.getDnsStage({
pipelineId: main.id,
fqdn: "cdn.example.com",
});
import pulumi
import pulumi_scaleway as scaleway
# Retrieve an Edge Services DNS stage by pipeline ID and FQDN
by_fqdn = scaleway.edgeservices.get_dns_stage(pipeline_id=main["id"],
fqdn="cdn.example.com")
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 DNS stage by pipeline ID and FQDN
_, err := edgeservices.LookupDnsStage(ctx, &edgeservices.LookupDnsStageArgs{
PipelineId: pulumi.StringRef(main.Id),
Fqdn: pulumi.StringRef("cdn.example.com"),
}, 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 DNS stage by pipeline ID and FQDN
var byFqdn = Scaleway.Edgeservices.GetDnsStage.Invoke(new()
{
PipelineId = main.Id,
Fqdn = "cdn.example.com",
});
});
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.GetDnsStageArgs;
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 DNS stage by pipeline ID and FQDN
final var byFqdn = EdgeservicesFunctions.getDnsStage(GetDnsStageArgs.builder()
.pipelineId(main.id())
.fqdn("cdn.example.com")
.build());
}
}
variables:
# Retrieve an Edge Services DNS stage by pipeline ID and FQDN
byFqdn:
fn::invoke:
function: scaleway:edgeservices:getDnsStage
arguments:
pipelineId: ${main.id}
fqdn: cdn.example.com
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_edgeservices_getdnsstage" "byFqdn" {
pipeline_id = main.id
fqdn = "cdn.example.com"
}
# Retrieve an Edge Services DNS stage by pipeline ID and FQDN
Using getDnsStage
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 getDnsStage(args: GetDnsStageArgs, opts?: InvokeOptions): Promise<GetDnsStageResult>
function getDnsStageOutput(args: GetDnsStageOutputArgs, opts?: InvokeOutputOptions): Output<GetDnsStageResult>def get_dns_stage(dns_stage_id: Optional[str] = None,
fqdn: Optional[str] = None,
pipeline_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsStageResult
def get_dns_stage_output(dns_stage_id: pulumi.Input[Optional[str]] = None,
fqdn: pulumi.Input[Optional[str]] = None,
pipeline_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDnsStageResult]func LookupDnsStage(ctx *Context, args *LookupDnsStageArgs, opts ...InvokeOption) (*LookupDnsStageResult, error)
func LookupDnsStageOutput(ctx *Context, args *LookupDnsStageOutputArgs, opts ...InvokeOption) LookupDnsStageResultOutput> Note: This function is named LookupDnsStage in the Go SDK.
public static class GetDnsStage
{
public static Task<GetDnsStageResult> InvokeAsync(GetDnsStageArgs args, InvokeOptions? opts = null)
public static Output<GetDnsStageResult> Invoke(GetDnsStageInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDnsStageResult> Invoke(GetDnsStageInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDnsStageResult> getDnsStage(GetDnsStageArgs args, InvokeOptions options)
public static Output<GetDnsStageResult> getDnsStage(GetDnsStageArgs args, InvokeOptions options)
public static Output<GetDnsStageResult> getDnsStage(GetDnsStageArgs args, InvokeOutputOptions options)
fn::invoke:
function: scaleway:edgeservices/getDnsStage:getDnsStage
arguments:
# arguments dictionarydata "scaleway_edgeservices_get_dns_stage" "name" {
# arguments
}The following arguments are supported:
- Dns
Stage stringId The ID of the DNS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
dnsStageId):- Fqdn string
- FQDN to filter for (in the format subdomain.example.com).
- Pipeline
Id string - The ID of the pipeline.
- Dns
Stage stringId The ID of the DNS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
dnsStageId):- Fqdn string
- FQDN to filter for (in the format subdomain.example.com).
- Pipeline
Id string - The ID of the pipeline.
- dns_
stage_ stringid The ID of the DNS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
dnsStageId):- fqdn string
- FQDN to filter for (in the format subdomain.example.com).
- pipeline_
id string - The ID of the pipeline.
- dns
Stage StringId The ID of the DNS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
dnsStageId):- fqdn String
- FQDN to filter for (in the format subdomain.example.com).
- pipeline
Id String - The ID of the pipeline.
- dns
Stage stringId The ID of the DNS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
dnsStageId):- fqdn string
- FQDN to filter for (in the format subdomain.example.com).
- pipeline
Id string - The ID of the pipeline.
- dns_
stage_ strid The ID of the DNS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
dnsStageId):- fqdn str
- FQDN to filter for (in the format subdomain.example.com).
- pipeline_
id str - The ID of the pipeline.
- dns
Stage StringId The ID of the DNS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
dnsStageId):- fqdn String
- FQDN to filter for (in the format subdomain.example.com).
- pipeline
Id String - The ID of the pipeline.
getDnsStage Result
The following output properties are available:
- Backend
Stage stringId - Cache
Stage stringId - Created
At string - Default
Fqdn string - Fqdns List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Tls
Stage stringId - Type string
- Updated
At string - Wildcard
Domain bool - Dns
Stage stringId - Fqdn string
- Pipeline
Id string
- Backend
Stage stringId - Cache
Stage stringId - Created
At string - Default
Fqdn string - Fqdns []string
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Tls
Stage stringId - Type string
- Updated
At string - Wildcard
Domain bool - Dns
Stage stringId - Fqdn string
- Pipeline
Id string
- backend_
stage_ stringid - cache_
stage_ stringid - created_
at string - default_
fqdn string - fqdns list(string)
- id string
- The provider-assigned unique ID for this managed resource.
- project_
id string - tls_
stage_ stringid - type string
- updated_
at string - wildcard_
domain bool - dns_
stage_ stringid - fqdn string
- pipeline_
id string
- backend
Stage StringId - cache
Stage StringId - created
At String - default
Fqdn String - fqdns List<String>
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - tls
Stage StringId - type String
- updated
At String - wildcard
Domain Boolean - dns
Stage StringId - fqdn String
- pipeline
Id String
- backend
Stage stringId - cache
Stage stringId - created
At string - default
Fqdn string - fqdns string[]
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - tls
Stage stringId - type string
- updated
At string - wildcard
Domain boolean - dns
Stage stringId - fqdn string
- pipeline
Id string
- backend_
stage_ strid - cache_
stage_ strid - created_
at str - default_
fqdn str - fqdns Sequence[str]
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - tls_
stage_ strid - type str
- updated_
at str - wildcard_
domain bool - dns_
stage_ strid - fqdn str
- pipeline_
id str
- backend
Stage StringId - cache
Stage StringId - created
At String - default
Fqdn String - fqdns List<String>
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - tls
Stage StringId - type String
- updated
At String - wildcard
Domain Boolean - dns
Stage StringId - fqdn String
- pipeline
Id String
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