1. Registry
  2. Packages
  3. Scaleway
  4. API Docs
  5. databases
  6. getInstanceLog
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse

    Gets information about a specific Scaleway Managed Database Instance log.

    Refer to the Managed Databases for PostgreSQL and MySQL documentation and API documentation for more information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const byId = scaleway.databases.getInstanceLog({
        instanceLogId: "11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    by_id = scaleway.databases.get_instance_log(instance_log_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/databases"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databases.GetInstanceLog(ctx, &databases.GetInstanceLogArgs{
    			InstanceLogId: "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 byId = Scaleway.Databases.GetInstanceLog.Invoke(new()
        {
            InstanceLogId = "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.databases.DatabasesFunctions;
    import com.pulumi.scaleway.databases.inputs.GetInstanceLogArgs;
    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) {
            final var byId = DatabasesFunctions.getInstanceLog(GetInstanceLogArgs.builder()
                .instanceLogId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      byId:
        fn::invoke:
          function: scaleway:databases:getInstanceLog
          arguments:
            instanceLogId: 11111111-1111-1111-1111-111111111111
    
    pulumi {
      required_providers {
        scaleway = {
          source = "pulumi/scaleway"
        }
      }
    }
    
    data "scaleway_databases_getinstancelog" "byId" {
      instance_log_id = "11111111-1111-1111-1111-111111111111"
    }
    

    Using getInstanceLog

    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 getInstanceLog(args: GetInstanceLogArgs, opts?: InvokeOptions): Promise<GetInstanceLogResult>
    function getInstanceLogOutput(args: GetInstanceLogOutputArgs, opts?: InvokeOutputOptions): Output<GetInstanceLogResult>
    def get_instance_log(instance_log_id: Optional[str] = None,
                         region: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetInstanceLogResult
    def get_instance_log_output(instance_log_id: pulumi.Input[Optional[str]] = None,
                         region: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetInstanceLogResult]
    func GetInstanceLog(ctx *Context, args *GetInstanceLogArgs, opts ...InvokeOption) (*GetInstanceLogResult, error)
    func GetInstanceLogOutput(ctx *Context, args *GetInstanceLogOutputArgs, opts ...InvokeOption) GetInstanceLogResultOutput

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

    public static class GetInstanceLog 
    {
        public static Task<GetInstanceLogResult> InvokeAsync(GetInstanceLogArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceLogResult> Invoke(GetInstanceLogInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceLogResult> Invoke(GetInstanceLogInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetInstanceLogResult> getInstanceLog(GetInstanceLogArgs args, InvokeOptions options)
    public static Output<GetInstanceLogResult> getInstanceLog(GetInstanceLogArgs args, InvokeOptions options)
    public static Output<GetInstanceLogResult> getInstanceLog(GetInstanceLogArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scaleway:databases/getInstanceLog:getInstanceLog
      arguments:
        # arguments dictionary
    data "scaleway_databases_get_instance_log" "name" {
        # arguments
    }

    The following arguments are supported:

    InstanceLogId string
    The ID of the Database Instance log. Can be a plain UUID or a regional ID ({region}/{id}).
    Region string
    region) The region in which the log exists.
    InstanceLogId string
    The ID of the Database Instance log. Can be a plain UUID or a regional ID ({region}/{id}).
    Region string
    region) The region in which the log exists.
    instance_log_id string
    The ID of the Database Instance log. Can be a plain UUID or a regional ID ({region}/{id}).
    region string
    region) The region in which the log exists.
    instanceLogId String
    The ID of the Database Instance log. Can be a plain UUID or a regional ID ({region}/{id}).
    region String
    region) The region in which the log exists.
    instanceLogId string
    The ID of the Database Instance log. Can be a plain UUID or a regional ID ({region}/{id}).
    region string
    region) The region in which the log exists.
    instance_log_id str
    The ID of the Database Instance log. Can be a plain UUID or a regional ID ({region}/{id}).
    region str
    region) The region in which the log exists.
    instanceLogId String
    The ID of the Database Instance log. Can be a plain UUID or a regional ID ({region}/{id}).
    region String
    region) The region in which the log exists.

    getInstanceLog Result

    The following output properties are available:

    CreatedAt string
    Creation date of the log (RFC 3339 format).
    DownloadUrl string
    (Sensitive) Presigned Object Storage URL to download the log file.
    ExpiresAt string
    Expiration date of the log (RFC 3339 format).
    Id string
    The ID of the Database Instance log, in the {region}/{id} format.
    InstanceLogId string
    NodeName string
    Name of the underlying node.
    Region string
    Status string
    Status of the log (unknown, ready, creating, error).
    CreatedAt string
    Creation date of the log (RFC 3339 format).
    DownloadUrl string
    (Sensitive) Presigned Object Storage URL to download the log file.
    ExpiresAt string
    Expiration date of the log (RFC 3339 format).
    Id string
    The ID of the Database Instance log, in the {region}/{id} format.
    InstanceLogId string
    NodeName string
    Name of the underlying node.
    Region string
    Status string
    Status of the log (unknown, ready, creating, error).
    created_at string
    Creation date of the log (RFC 3339 format).
    download_url string
    (Sensitive) Presigned Object Storage URL to download the log file.
    expires_at string
    Expiration date of the log (RFC 3339 format).
    id string
    The ID of the Database Instance log, in the {region}/{id} format.
    instance_log_id string
    node_name string
    Name of the underlying node.
    region string
    status string
    Status of the log (unknown, ready, creating, error).
    createdAt String
    Creation date of the log (RFC 3339 format).
    downloadUrl String
    (Sensitive) Presigned Object Storage URL to download the log file.
    expiresAt String
    Expiration date of the log (RFC 3339 format).
    id String
    The ID of the Database Instance log, in the {region}/{id} format.
    instanceLogId String
    nodeName String
    Name of the underlying node.
    region String
    status String
    Status of the log (unknown, ready, creating, error).
    createdAt string
    Creation date of the log (RFC 3339 format).
    downloadUrl string
    (Sensitive) Presigned Object Storage URL to download the log file.
    expiresAt string
    Expiration date of the log (RFC 3339 format).
    id string
    The ID of the Database Instance log, in the {region}/{id} format.
    instanceLogId string
    nodeName string
    Name of the underlying node.
    region string
    status string
    Status of the log (unknown, ready, creating, error).
    created_at str
    Creation date of the log (RFC 3339 format).
    download_url str
    (Sensitive) Presigned Object Storage URL to download the log file.
    expires_at str
    Expiration date of the log (RFC 3339 format).
    id str
    The ID of the Database Instance log, in the {region}/{id} format.
    instance_log_id str
    node_name str
    Name of the underlying node.
    region str
    status str
    Status of the log (unknown, ready, creating, error).
    createdAt String
    Creation date of the log (RFC 3339 format).
    downloadUrl String
    (Sensitive) Presigned Object Storage URL to download the log file.
    expiresAt String
    Expiration date of the log (RFC 3339 format).
    id String
    The ID of the Database Instance log, in the {region}/{id} format.
    instanceLogId String
    nodeName String
    Name of the underlying node.
    region String
    status String
    Status of the log (unknown, ready, creating, error).

    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.60.0
    published on Saturday, Oct 24, 2026 by pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial