1. Packages
  2. Packages
  3. Scaleway
  4. API Docs
  5. observability
  6. getExporter
Viewing docs for Scaleway v1.47.0
published on Friday, Apr 17, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.47.0
published on Friday, Apr 17, 2026 by pulumiverse

    Gets information about a data export in Scaleway’s Cockpit.

    Refer to Cockpit’s product documentation and API documentation for more information.

    Example Usage

    By ID

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const main = scaleway.observability.getExporter({
        id: "fr-par/11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    main = scaleway.observability.get_exporter(id="fr-par/11111111-1111-1111-1111-111111111111")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := observability.LookupExporter(ctx, &observability.LookupExporterArgs{
    			Id: pulumi.StringRef("fr-par/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(() => 
    {
        var main = Scaleway.Observability.GetExporter.Invoke(new()
        {
            Id = "fr-par/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.observability.ObservabilityFunctions;
    import com.pulumi.scaleway.observability.inputs.GetExporterArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var main = ObservabilityFunctions.getExporter(GetExporterArgs.builder()
                .id("fr-par/11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          function: scaleway:observability:getExporter
          arguments:
            id: fr-par/11111111-1111-1111-1111-111111111111
    

    By name and project

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const main = scaleway.observability.getExporter({
        projectId: "11111111-1111-1111-1111-111111111111",
        name: "my-datadog-exporter",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    main = scaleway.observability.get_exporter(project_id="11111111-1111-1111-1111-111111111111",
        name="my-datadog-exporter")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := observability.LookupExporter(ctx, &observability.LookupExporterArgs{
    			ProjectId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
    			Name:      pulumi.StringRef("my-datadog-exporter"),
    		}, 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(() => 
    {
        var main = Scaleway.Observability.GetExporter.Invoke(new()
        {
            ProjectId = "11111111-1111-1111-1111-111111111111",
            Name = "my-datadog-exporter",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.observability.ObservabilityFunctions;
    import com.pulumi.scaleway.observability.inputs.GetExporterArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var main = ObservabilityFunctions.getExporter(GetExporterArgs.builder()
                .projectId("11111111-1111-1111-1111-111111111111")
                .name("my-datadog-exporter")
                .build());
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          function: scaleway:observability:getExporter
          arguments:
            projectId: 11111111-1111-1111-1111-111111111111
            name: my-datadog-exporter
    

    Using getExporter

    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 getExporter(args: GetExporterArgs, opts?: InvokeOptions): Promise<GetExporterResult>
    function getExporterOutput(args: GetExporterOutputArgs, opts?: InvokeOptions): Output<GetExporterResult>
    def get_exporter(id: Optional[str] = None,
                     name: Optional[str] = None,
                     project_id: Optional[str] = None,
                     region: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetExporterResult
    def get_exporter_output(id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     project_id: Optional[pulumi.Input[str]] = None,
                     region: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetExporterResult]
    func LookupExporter(ctx *Context, args *LookupExporterArgs, opts ...InvokeOption) (*LookupExporterResult, error)
    func LookupExporterOutput(ctx *Context, args *LookupExporterOutputArgs, opts ...InvokeOption) LookupExporterResultOutput

    > Note: This function is named LookupExporter in the Go SDK.

    public static class GetExporter 
    {
        public static Task<GetExporterResult> InvokeAsync(GetExporterArgs args, InvokeOptions? opts = null)
        public static Output<GetExporterResult> Invoke(GetExporterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExporterResult> getExporter(GetExporterArgs args, InvokeOptions options)
    public static Output<GetExporterResult> getExporter(GetExporterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scaleway:observability/getExporter:getExporter
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The regional ID of the exporter ({region}/{id}). If set, other filters are ignored.
    Name string
    The name of the exporter.
    ProjectId string
    The project ID.
    Region string
    The region. Defaults to the provider region.
    Id string
    The regional ID of the exporter ({region}/{id}). If set, other filters are ignored.
    Name string
    The name of the exporter.
    ProjectId string
    The project ID.
    Region string
    The region. Defaults to the provider region.
    id String
    The regional ID of the exporter ({region}/{id}). If set, other filters are ignored.
    name String
    The name of the exporter.
    projectId String
    The project ID.
    region String
    The region. Defaults to the provider region.
    id string
    The regional ID of the exporter ({region}/{id}). If set, other filters are ignored.
    name string
    The name of the exporter.
    projectId string
    The project ID.
    region string
    The region. Defaults to the provider region.
    id str
    The regional ID of the exporter ({region}/{id}). If set, other filters are ignored.
    name str
    The name of the exporter.
    project_id str
    The project ID.
    region str
    The region. Defaults to the provider region.
    id String
    The regional ID of the exporter ({region}/{id}). If set, other filters are ignored.
    name String
    The name of the exporter.
    projectId String
    The project ID.
    region String
    The region. Defaults to the provider region.

    getExporter Result

    The following output properties are available:

    CreatedAt string
    Creation date (RFC 3339).
    DatadogDestinations List<Pulumiverse.Scaleway.Observability.Outputs.GetExporterDatadogDestination>
    Datadog destination configuration (endpoint only, API key is write-only).
    DatasourceId string
    ID of the linked data source.
    Description string
    Description of the data export.
    ExportedProducts List<string>
    List of exported products.
    OtlpDestinations List<Pulumiverse.Scaleway.Observability.Outputs.GetExporterOtlpDestination>
    OTLP destination configuration.
    Status string
    Status of the data export (creating, ready, error).
    UpdatedAt string
    Last update date (RFC 3339).
    Id string
    The regional ID of the exporter.
    Name string
    Name of the data export.
    ProjectId string
    Region string
    CreatedAt string
    Creation date (RFC 3339).
    DatadogDestinations []GetExporterDatadogDestination
    Datadog destination configuration (endpoint only, API key is write-only).
    DatasourceId string
    ID of the linked data source.
    Description string
    Description of the data export.
    ExportedProducts []string
    List of exported products.
    OtlpDestinations []GetExporterOtlpDestination
    OTLP destination configuration.
    Status string
    Status of the data export (creating, ready, error).
    UpdatedAt string
    Last update date (RFC 3339).
    Id string
    The regional ID of the exporter.
    Name string
    Name of the data export.
    ProjectId string
    Region string
    createdAt String
    Creation date (RFC 3339).
    datadogDestinations List<GetExporterDatadogDestination>
    Datadog destination configuration (endpoint only, API key is write-only).
    datasourceId String
    ID of the linked data source.
    description String
    Description of the data export.
    exportedProducts List<String>
    List of exported products.
    otlpDestinations List<GetExporterOtlpDestination>
    OTLP destination configuration.
    status String
    Status of the data export (creating, ready, error).
    updatedAt String
    Last update date (RFC 3339).
    id String
    The regional ID of the exporter.
    name String
    Name of the data export.
    projectId String
    region String
    createdAt string
    Creation date (RFC 3339).
    datadogDestinations GetExporterDatadogDestination[]
    Datadog destination configuration (endpoint only, API key is write-only).
    datasourceId string
    ID of the linked data source.
    description string
    Description of the data export.
    exportedProducts string[]
    List of exported products.
    otlpDestinations GetExporterOtlpDestination[]
    OTLP destination configuration.
    status string
    Status of the data export (creating, ready, error).
    updatedAt string
    Last update date (RFC 3339).
    id string
    The regional ID of the exporter.
    name string
    Name of the data export.
    projectId string
    region string
    created_at str
    Creation date (RFC 3339).
    datadog_destinations Sequence[GetExporterDatadogDestination]
    Datadog destination configuration (endpoint only, API key is write-only).
    datasource_id str
    ID of the linked data source.
    description str
    Description of the data export.
    exported_products Sequence[str]
    List of exported products.
    otlp_destinations Sequence[GetExporterOtlpDestination]
    OTLP destination configuration.
    status str
    Status of the data export (creating, ready, error).
    updated_at str
    Last update date (RFC 3339).
    id str
    The regional ID of the exporter.
    name str
    Name of the data export.
    project_id str
    region str
    createdAt String
    Creation date (RFC 3339).
    datadogDestinations List<Property Map>
    Datadog destination configuration (endpoint only, API key is write-only).
    datasourceId String
    ID of the linked data source.
    description String
    Description of the data export.
    exportedProducts List<String>
    List of exported products.
    otlpDestinations List<Property Map>
    OTLP destination configuration.
    status String
    Status of the data export (creating, ready, error).
    updatedAt String
    Last update date (RFC 3339).
    id String
    The regional ID of the exporter.
    name String
    Name of the data export.
    projectId String
    region String

    Supporting Types

    GetExporterDatadogDestination

    ApiKey string
    Datadog API key
    Endpoint string
    Datadog endpoint URL
    ApiKey string
    Datadog API key
    Endpoint string
    Datadog endpoint URL
    apiKey String
    Datadog API key
    endpoint String
    Datadog endpoint URL
    apiKey string
    Datadog API key
    endpoint string
    Datadog endpoint URL
    api_key str
    Datadog API key
    endpoint str
    Datadog endpoint URL
    apiKey String
    Datadog API key
    endpoint String
    Datadog endpoint URL

    GetExporterOtlpDestination

    Endpoint string
    OTLP endpoint URL
    Headers Dictionary<string, string>
    Headers to include in requests
    Endpoint string
    OTLP endpoint URL
    Headers map[string]string
    Headers to include in requests
    endpoint String
    OTLP endpoint URL
    headers Map<String,String>
    Headers to include in requests
    endpoint string
    OTLP endpoint URL
    headers {[key: string]: string}
    Headers to include in requests
    endpoint str
    OTLP endpoint URL
    headers Mapping[str, str]
    Headers to include in requests
    endpoint String
    OTLP endpoint URL
    headers Map<String>
    Headers to include in requests

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Viewing docs for Scaleway v1.47.0
    published on Friday, Apr 17, 2026 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.