1. Packages
  2. Packages
  3. Scaleway
  4. API Docs
  5. observability
  6. Exporter
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse

    The scaleway.observability.Exporter resource allows you to create and manage data exports in Scaleway’s Cockpit. Data exports send metrics and logs from Scaleway products to external destinations like Datadog or OTLP-compatible endpoints.

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

    Example Usage

    Datadog destination

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const project = scaleway.account.getProject({
        name: "default",
    });
    const scalewayMetrics = project.then(project => scaleway.observability.getSources({
        projectId: project.id,
        origin: "scaleway",
        type: "metrics",
    }));
    const main = new scaleway.observability.Exporter("main", {
        projectId: project.then(project => project.id),
        datasourceId: scalewayMetrics.then(scalewayMetrics => scalewayMetrics.sources?.[0]?.id),
        name: "my-datadog-exporter",
        exportedProducts: ["all"],
        datadogDestination: {
            apiKey: datadogApiKey,
            endpoint: "https://api.datadoghq.com",
        },
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    import pulumiverse_scaleway as scaleway
    
    project = scaleway.account.get_project(name="default")
    scaleway_metrics = scaleway.observability.get_sources(project_id=project.id,
        origin="scaleway",
        type="metrics")
    main = scaleway.observability.Exporter("main",
        project_id=project.id,
        datasource_id=scaleway_metrics.sources[0].id,
        name="my-datadog-exporter",
        exported_products=["all"],
        datadog_destination={
            "api_key": datadog_api_key,
            "endpoint": "https://api.datadoghq.com",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/account"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := account.LookupProject(ctx, &account.LookupProjectArgs{
    			Name: pulumi.StringRef("default"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		scalewayMetrics, err := observability.GetSources(ctx, &observability.GetSourcesArgs{
    			ProjectId: pulumi.StringRef(project.Id),
    			Origin:    pulumi.StringRef("scaleway"),
    			Type:      pulumi.StringRef("metrics"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = observability.NewExporter(ctx, "main", &observability.ExporterArgs{
    			ProjectId:    pulumi.String(pulumi.String(project.Id)),
    			DatasourceId: pulumi.String(pulumi.String(scalewayMetrics.Sources[0].Id)),
    			Name:         pulumi.String("my-datadog-exporter"),
    			ExportedProducts: pulumi.StringArray{
    				pulumi.String("all"),
    			},
    			DatadogDestination: &observability.ExporterDatadogDestinationArgs{
    				ApiKey:   pulumi.Any(datadogApiKey),
    				Endpoint: pulumi.String("https://api.datadoghq.com"),
    			},
    		})
    		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 project = Scaleway.Account.GetProject.Invoke(new()
        {
            Name = "default",
        });
    
        var scalewayMetrics = Scaleway.Observability.GetSources.Invoke(new()
        {
            ProjectId = project.Apply(getProjectResult => getProjectResult.Id),
            Origin = "scaleway",
            Type = "metrics",
        });
    
        var main = new Scaleway.Observability.Exporter("main", new()
        {
            ProjectId = project.Apply(getProjectResult => getProjectResult.Id),
            DatasourceId = scalewayMetrics.Apply(getSourcesResult => getSourcesResult.Sources[0]?.Id),
            Name = "my-datadog-exporter",
            ExportedProducts = new[]
            {
                "all",
            },
            DatadogDestination = new Scaleway.Observability.Inputs.ExporterDatadogDestinationArgs
            {
                ApiKey = datadogApiKey,
                Endpoint = "https://api.datadoghq.com",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.account.AccountFunctions;
    import com.pulumi.scaleway.account.inputs.GetProjectArgs;
    import com.pulumi.scaleway.observability.ObservabilityFunctions;
    import com.pulumi.scaleway.observability.inputs.GetSourcesArgs;
    import com.pulumi.scaleway.observability.Exporter;
    import com.pulumi.scaleway.observability.ExporterArgs;
    import com.pulumi.scaleway.observability.inputs.ExporterDatadogDestinationArgs;
    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 project = AccountFunctions.getProject(GetProjectArgs.builder()
                .name("default")
                .build());
    
            final var scalewayMetrics = ObservabilityFunctions.getSources(GetSourcesArgs.builder()
                .projectId(project.id())
                .origin("scaleway")
                .type("metrics")
                .build());
    
            var main = new Exporter("main", ExporterArgs.builder()
                .projectId(project.id())
                .datasourceId(scalewayMetrics.sources()[0].id())
                .name("my-datadog-exporter")
                .exportedProducts("all")
                .datadogDestination(ExporterDatadogDestinationArgs.builder()
                    .apiKey(datadogApiKey)
                    .endpoint("https://api.datadoghq.com")
                    .build())
                .build());
    
        }
    }
    
    resources:
      main:
        type: scaleway:observability:Exporter
        properties:
          projectId: ${project.id}
          datasourceId: ${scalewayMetrics.sources[0].id}
          name: my-datadog-exporter
          exportedProducts:
            - all
          datadogDestination:
            apiKey: ${datadogApiKey}
            endpoint: https://api.datadoghq.com
    variables:
      project:
        fn::invoke:
          function: scaleway:account:getProject
          arguments:
            name: default
      scalewayMetrics:
        fn::invoke:
          function: scaleway:observability:getSources
          arguments:
            projectId: ${project.id}
            origin: scaleway
            type: metrics
    

    OTLP destination

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const project = scaleway.account.getProject({
        name: "default",
    });
    const scalewayMetrics = project.then(project => scaleway.observability.getSources({
        projectId: project.id,
        origin: "scaleway",
        type: "metrics",
    }));
    const otlpTarget = new scaleway.observability.Source("otlp_target", {
        projectId: project.then(project => project.id),
        name: "otlp-target",
        type: "metrics",
        retentionDays: 31,
    });
    const main = new scaleway.observability.Exporter("main", {
        projectId: project.then(project => project.id),
        datasourceId: scalewayMetrics.then(scalewayMetrics => scalewayMetrics.sources?.[0]?.id),
        name: "my-otlp-exporter",
        exportedProducts: [
            "lb",
            "object-storage",
            "rdb",
        ],
        otlpDestination: {
            endpoint: otlpTarget.pushUrl,
        },
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    import pulumiverse_scaleway as scaleway
    
    project = scaleway.account.get_project(name="default")
    scaleway_metrics = scaleway.observability.get_sources(project_id=project.id,
        origin="scaleway",
        type="metrics")
    otlp_target = scaleway.observability.Source("otlp_target",
        project_id=project.id,
        name="otlp-target",
        type="metrics",
        retention_days=31)
    main = scaleway.observability.Exporter("main",
        project_id=project.id,
        datasource_id=scaleway_metrics.sources[0].id,
        name="my-otlp-exporter",
        exported_products=[
            "lb",
            "object-storage",
            "rdb",
        ],
        otlp_destination={
            "endpoint": otlp_target.push_url,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/account"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := account.LookupProject(ctx, &account.LookupProjectArgs{
    			Name: pulumi.StringRef("default"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		scalewayMetrics, err := observability.GetSources(ctx, &observability.GetSourcesArgs{
    			ProjectId: pulumi.StringRef(project.Id),
    			Origin:    pulumi.StringRef("scaleway"),
    			Type:      pulumi.StringRef("metrics"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		otlpTarget, err := observability.NewSource(ctx, "otlp_target", &observability.SourceArgs{
    			ProjectId:     pulumi.String(pulumi.String(project.Id)),
    			Name:          pulumi.String("otlp-target"),
    			Type:          pulumi.String("metrics"),
    			RetentionDays: pulumi.Int(31),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = observability.NewExporter(ctx, "main", &observability.ExporterArgs{
    			ProjectId:    pulumi.String(pulumi.String(project.Id)),
    			DatasourceId: pulumi.String(pulumi.String(scalewayMetrics.Sources[0].Id)),
    			Name:         pulumi.String("my-otlp-exporter"),
    			ExportedProducts: pulumi.StringArray{
    				pulumi.String("lb"),
    				pulumi.String("object-storage"),
    				pulumi.String("rdb"),
    			},
    			OtlpDestination: &observability.ExporterOtlpDestinationArgs{
    				Endpoint: otlpTarget.PushUrl,
    			},
    		})
    		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 project = Scaleway.Account.GetProject.Invoke(new()
        {
            Name = "default",
        });
    
        var scalewayMetrics = Scaleway.Observability.GetSources.Invoke(new()
        {
            ProjectId = project.Apply(getProjectResult => getProjectResult.Id),
            Origin = "scaleway",
            Type = "metrics",
        });
    
        var otlpTarget = new Scaleway.Observability.Source("otlp_target", new()
        {
            ProjectId = project.Apply(getProjectResult => getProjectResult.Id),
            Name = "otlp-target",
            Type = "metrics",
            RetentionDays = 31,
        });
    
        var main = new Scaleway.Observability.Exporter("main", new()
        {
            ProjectId = project.Apply(getProjectResult => getProjectResult.Id),
            DatasourceId = scalewayMetrics.Apply(getSourcesResult => getSourcesResult.Sources[0]?.Id),
            Name = "my-otlp-exporter",
            ExportedProducts = new[]
            {
                "lb",
                "object-storage",
                "rdb",
            },
            OtlpDestination = new Scaleway.Observability.Inputs.ExporterOtlpDestinationArgs
            {
                Endpoint = otlpTarget.PushUrl,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.account.AccountFunctions;
    import com.pulumi.scaleway.account.inputs.GetProjectArgs;
    import com.pulumi.scaleway.observability.ObservabilityFunctions;
    import com.pulumi.scaleway.observability.inputs.GetSourcesArgs;
    import com.pulumi.scaleway.observability.Source;
    import com.pulumi.scaleway.observability.SourceArgs;
    import com.pulumi.scaleway.observability.Exporter;
    import com.pulumi.scaleway.observability.ExporterArgs;
    import com.pulumi.scaleway.observability.inputs.ExporterOtlpDestinationArgs;
    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 project = AccountFunctions.getProject(GetProjectArgs.builder()
                .name("default")
                .build());
    
            final var scalewayMetrics = ObservabilityFunctions.getSources(GetSourcesArgs.builder()
                .projectId(project.id())
                .origin("scaleway")
                .type("metrics")
                .build());
    
            var otlpTarget = new Source("otlpTarget", SourceArgs.builder()
                .projectId(project.id())
                .name("otlp-target")
                .type("metrics")
                .retentionDays(31)
                .build());
    
            var main = new Exporter("main", ExporterArgs.builder()
                .projectId(project.id())
                .datasourceId(scalewayMetrics.sources()[0].id())
                .name("my-otlp-exporter")
                .exportedProducts(            
                    "lb",
                    "object-storage",
                    "rdb")
                .otlpDestination(ExporterOtlpDestinationArgs.builder()
                    .endpoint(otlpTarget.pushUrl())
                    .build())
                .build());
    
        }
    }
    
    resources:
      otlpTarget:
        type: scaleway:observability:Source
        name: otlp_target
        properties:
          projectId: ${project.id}
          name: otlp-target
          type: metrics
          retentionDays: 31
      main:
        type: scaleway:observability:Exporter
        properties:
          projectId: ${project.id}
          datasourceId: ${scalewayMetrics.sources[0].id}
          name: my-otlp-exporter
          exportedProducts:
            - lb
            - object-storage
            - rdb
          otlpDestination:
            endpoint: ${otlpTarget.pushUrl}
    variables:
      project:
        fn::invoke:
          function: scaleway:account:getProject
          arguments:
            name: default
      scalewayMetrics:
        fn::invoke:
          function: scaleway:observability:getSources
          arguments:
            projectId: ${project.id}
            origin: scaleway
            type: metrics
    

    Create Exporter Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Exporter(name: string, args: ExporterArgs, opts?: CustomResourceOptions);
    @overload
    def Exporter(resource_name: str,
                 args: ExporterArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Exporter(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 datasource_id: Optional[str] = None,
                 datadog_destination: Optional[ExporterDatadogDestinationArgs] = None,
                 description: Optional[str] = None,
                 exported_products: Optional[Sequence[str]] = None,
                 name: Optional[str] = None,
                 otlp_destination: Optional[ExporterOtlpDestinationArgs] = None,
                 project_id: Optional[str] = None,
                 region: Optional[str] = None)
    func NewExporter(ctx *Context, name string, args ExporterArgs, opts ...ResourceOption) (*Exporter, error)
    public Exporter(string name, ExporterArgs args, CustomResourceOptions? opts = null)
    public Exporter(String name, ExporterArgs args)
    public Exporter(String name, ExporterArgs args, CustomResourceOptions options)
    
    type: scaleway:observability:Exporter
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ExporterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExporterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExporterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExporterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExporterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exporterResource = new Scaleway.Observability.Exporter("exporterResource", new()
    {
        DatasourceId = "string",
        DatadogDestination = new Scaleway.Observability.Inputs.ExporterDatadogDestinationArgs
        {
            ApiKey = "string",
            Endpoint = "string",
        },
        Description = "string",
        ExportedProducts = new[]
        {
            "string",
        },
        Name = "string",
        OtlpDestination = new Scaleway.Observability.Inputs.ExporterOtlpDestinationArgs
        {
            Endpoint = "string",
            Headers = 
            {
                { "string", "string" },
            },
        },
        ProjectId = "string",
        Region = "string",
    });
    
    example, err := observability.NewExporter(ctx, "exporterResource", &observability.ExporterArgs{
    	DatasourceId: pulumi.String("string"),
    	DatadogDestination: &observability.ExporterDatadogDestinationArgs{
    		ApiKey:   pulumi.String("string"),
    		Endpoint: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	ExportedProducts: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	OtlpDestination: &observability.ExporterOtlpDestinationArgs{
    		Endpoint: pulumi.String("string"),
    		Headers: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	ProjectId: pulumi.String("string"),
    	Region:    pulumi.String("string"),
    })
    
    var exporterResource = new Exporter("exporterResource", ExporterArgs.builder()
        .datasourceId("string")
        .datadogDestination(ExporterDatadogDestinationArgs.builder()
            .apiKey("string")
            .endpoint("string")
            .build())
        .description("string")
        .exportedProducts("string")
        .name("string")
        .otlpDestination(ExporterOtlpDestinationArgs.builder()
            .endpoint("string")
            .headers(Map.of("string", "string"))
            .build())
        .projectId("string")
        .region("string")
        .build());
    
    exporter_resource = scaleway.observability.Exporter("exporterResource",
        datasource_id="string",
        datadog_destination={
            "api_key": "string",
            "endpoint": "string",
        },
        description="string",
        exported_products=["string"],
        name="string",
        otlp_destination={
            "endpoint": "string",
            "headers": {
                "string": "string",
            },
        },
        project_id="string",
        region="string")
    
    const exporterResource = new scaleway.observability.Exporter("exporterResource", {
        datasourceId: "string",
        datadogDestination: {
            apiKey: "string",
            endpoint: "string",
        },
        description: "string",
        exportedProducts: ["string"],
        name: "string",
        otlpDestination: {
            endpoint: "string",
            headers: {
                string: "string",
            },
        },
        projectId: "string",
        region: "string",
    });
    
    type: scaleway:observability:Exporter
    properties:
        datadogDestination:
            apiKey: string
            endpoint: string
        datasourceId: string
        description: string
        exportedProducts:
            - string
        name: string
        otlpDestination:
            endpoint: string
            headers:
                string: string
        projectId: string
        region: string
    

    Exporter Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Exporter resource accepts the following input properties:

    DatasourceId string
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    DatadogDestination Pulumiverse.Scaleway.Observability.Inputs.ExporterDatadogDestination
    Datadog destination configuration. Cannot be used with otlpDestination.
    Description string
    Description of the data export.
    ExportedProducts List<string>
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    Name string
    Name of the data export.
    OtlpDestination Pulumiverse.Scaleway.Observability.Inputs.ExporterOtlpDestination
    OTLP destination configuration. Cannot be used with datadogDestination.
    ProjectId string
    ) The ID of the Project.
    Region string
    ) The region where the exporter is located.
    DatasourceId string
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    DatadogDestination ExporterDatadogDestinationArgs
    Datadog destination configuration. Cannot be used with otlpDestination.
    Description string
    Description of the data export.
    ExportedProducts []string
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    Name string
    Name of the data export.
    OtlpDestination ExporterOtlpDestinationArgs
    OTLP destination configuration. Cannot be used with datadogDestination.
    ProjectId string
    ) The ID of the Project.
    Region string
    ) The region where the exporter is located.
    datasourceId String
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    datadogDestination ExporterDatadogDestination
    Datadog destination configuration. Cannot be used with otlpDestination.
    description String
    Description of the data export.
    exportedProducts List<String>
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name String
    Name of the data export.
    otlpDestination ExporterOtlpDestination
    OTLP destination configuration. Cannot be used with datadogDestination.
    projectId String
    ) The ID of the Project.
    region String
    ) The region where the exporter is located.
    datasourceId string
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    datadogDestination ExporterDatadogDestination
    Datadog destination configuration. Cannot be used with otlpDestination.
    description string
    Description of the data export.
    exportedProducts string[]
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name string
    Name of the data export.
    otlpDestination ExporterOtlpDestination
    OTLP destination configuration. Cannot be used with datadogDestination.
    projectId string
    ) The ID of the Project.
    region string
    ) The region where the exporter is located.
    datasource_id str
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    datadog_destination ExporterDatadogDestinationArgs
    Datadog destination configuration. Cannot be used with otlpDestination.
    description str
    Description of the data export.
    exported_products Sequence[str]
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name str
    Name of the data export.
    otlp_destination ExporterOtlpDestinationArgs
    OTLP destination configuration. Cannot be used with datadogDestination.
    project_id str
    ) The ID of the Project.
    region str
    ) The region where the exporter is located.
    datasourceId String
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    datadogDestination Property Map
    Datadog destination configuration. Cannot be used with otlpDestination.
    description String
    Description of the data export.
    exportedProducts List<String>
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name String
    Name of the data export.
    otlpDestination Property Map
    OTLP destination configuration. Cannot be used with datadogDestination.
    projectId String
    ) The ID of the Project.
    region String
    ) The region where the exporter is located.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Exporter resource produces the following output properties:

    CreatedAt string
    Date and time of creation (RFC 3339 format).
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the data export (creating, ready, error).
    UpdatedAt string
    Date and time of last update (RFC 3339 format).
    CreatedAt string
    Date and time of creation (RFC 3339 format).
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the data export (creating, ready, error).
    UpdatedAt string
    Date and time of last update (RFC 3339 format).
    createdAt String
    Date and time of creation (RFC 3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the data export (creating, ready, error).
    updatedAt String
    Date and time of last update (RFC 3339 format).
    createdAt string
    Date and time of creation (RFC 3339 format).
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Status of the data export (creating, ready, error).
    updatedAt string
    Date and time of last update (RFC 3339 format).
    created_at str
    Date and time of creation (RFC 3339 format).
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Status of the data export (creating, ready, error).
    updated_at str
    Date and time of last update (RFC 3339 format).
    createdAt String
    Date and time of creation (RFC 3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the data export (creating, ready, error).
    updatedAt String
    Date and time of last update (RFC 3339 format).

    Look up Existing Exporter Resource

    Get an existing Exporter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ExporterState, opts?: CustomResourceOptions): Exporter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            datadog_destination: Optional[ExporterDatadogDestinationArgs] = None,
            datasource_id: Optional[str] = None,
            description: Optional[str] = None,
            exported_products: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            otlp_destination: Optional[ExporterOtlpDestinationArgs] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            updated_at: Optional[str] = None) -> Exporter
    func GetExporter(ctx *Context, name string, id IDInput, state *ExporterState, opts ...ResourceOption) (*Exporter, error)
    public static Exporter Get(string name, Input<string> id, ExporterState? state, CustomResourceOptions? opts = null)
    public static Exporter get(String name, Output<String> id, ExporterState state, CustomResourceOptions options)
    resources:  _:    type: scaleway:observability:Exporter    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    Date and time of creation (RFC 3339 format).
    DatadogDestination Pulumiverse.Scaleway.Observability.Inputs.ExporterDatadogDestination
    Datadog destination configuration. Cannot be used with otlpDestination.
    DatasourceId string
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    Description string
    Description of the data export.
    ExportedProducts List<string>
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    Name string
    Name of the data export.
    OtlpDestination Pulumiverse.Scaleway.Observability.Inputs.ExporterOtlpDestination
    OTLP destination configuration. Cannot be used with datadogDestination.
    ProjectId string
    ) The ID of the Project.
    Region string
    ) The region where the exporter is located.
    Status string
    Status of the data export (creating, ready, error).
    UpdatedAt string
    Date and time of last update (RFC 3339 format).
    CreatedAt string
    Date and time of creation (RFC 3339 format).
    DatadogDestination ExporterDatadogDestinationArgs
    Datadog destination configuration. Cannot be used with otlpDestination.
    DatasourceId string
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    Description string
    Description of the data export.
    ExportedProducts []string
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    Name string
    Name of the data export.
    OtlpDestination ExporterOtlpDestinationArgs
    OTLP destination configuration. Cannot be used with datadogDestination.
    ProjectId string
    ) The ID of the Project.
    Region string
    ) The region where the exporter is located.
    Status string
    Status of the data export (creating, ready, error).
    UpdatedAt string
    Date and time of last update (RFC 3339 format).
    createdAt String
    Date and time of creation (RFC 3339 format).
    datadogDestination ExporterDatadogDestination
    Datadog destination configuration. Cannot be used with otlpDestination.
    datasourceId String
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    description String
    Description of the data export.
    exportedProducts List<String>
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name String
    Name of the data export.
    otlpDestination ExporterOtlpDestination
    OTLP destination configuration. Cannot be used with datadogDestination.
    projectId String
    ) The ID of the Project.
    region String
    ) The region where the exporter is located.
    status String
    Status of the data export (creating, ready, error).
    updatedAt String
    Date and time of last update (RFC 3339 format).
    createdAt string
    Date and time of creation (RFC 3339 format).
    datadogDestination ExporterDatadogDestination
    Datadog destination configuration. Cannot be used with otlpDestination.
    datasourceId string
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    description string
    Description of the data export.
    exportedProducts string[]
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name string
    Name of the data export.
    otlpDestination ExporterOtlpDestination
    OTLP destination configuration. Cannot be used with datadogDestination.
    projectId string
    ) The ID of the Project.
    region string
    ) The region where the exporter is located.
    status string
    Status of the data export (creating, ready, error).
    updatedAt string
    Date and time of last update (RFC 3339 format).
    created_at str
    Date and time of creation (RFC 3339 format).
    datadog_destination ExporterDatadogDestinationArgs
    Datadog destination configuration. Cannot be used with otlpDestination.
    datasource_id str
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    description str
    Description of the data export.
    exported_products Sequence[str]
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name str
    Name of the data export.
    otlp_destination ExporterOtlpDestinationArgs
    OTLP destination configuration. Cannot be used with datadogDestination.
    project_id str
    ) The ID of the Project.
    region str
    ) The region where the exporter is located.
    status str
    Status of the data export (creating, ready, error).
    updated_at str
    Date and time of last update (RFC 3339 format).
    createdAt String
    Date and time of creation (RFC 3339 format).
    datadogDestination Property Map
    Datadog destination configuration. Cannot be used with otlpDestination.
    datasourceId String
    ID of the data source linked to the data export. Use scaleway.observability.getSources to find available data sources.
    description String
    Description of the data export.
    exportedProducts List<String>
    List of Scaleway products to export. Use ["all"] to export all products. Use scaleway.observability.getProducts for valid product names. Defaults to ["all"].
    name String
    Name of the data export.
    otlpDestination Property Map
    OTLP destination configuration. Cannot be used with datadogDestination.
    projectId String
    ) The ID of the Project.
    region String
    ) The region where the exporter is located.
    status String
    Status of the data export (creating, ready, error).
    updatedAt String
    Date and time of last update (RFC 3339 format).

    Supporting Types

    ExporterDatadogDestination, ExporterDatadogDestinationArgs

    ApiKey string
    Datadog API key. Sensitive.
    Endpoint string
    Datadog endpoint URL. Defaults to https://api.datadoghq.com.
    ApiKey string
    Datadog API key. Sensitive.
    Endpoint string
    Datadog endpoint URL. Defaults to https://api.datadoghq.com.
    apiKey String
    Datadog API key. Sensitive.
    endpoint String
    Datadog endpoint URL. Defaults to https://api.datadoghq.com.
    apiKey string
    Datadog API key. Sensitive.
    endpoint string
    Datadog endpoint URL. Defaults to https://api.datadoghq.com.
    api_key str
    Datadog API key. Sensitive.
    endpoint str
    Datadog endpoint URL. Defaults to https://api.datadoghq.com.
    apiKey String
    Datadog API key. Sensitive.
    endpoint String
    Datadog endpoint URL. Defaults to https://api.datadoghq.com.

    ExporterOtlpDestination, ExporterOtlpDestinationArgs

    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.

    Import

    Import an exporter using the regional ID:

    $ pulumi import scaleway:observability/exporter:Exporter main fr-par/11111111-1111-1111-1111-111111111111
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.48.0
    published on Wednesday, Apr 29, 2026 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.