Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
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 dictionarydata "scaleway_databases_get_instance_log" "name" {
# arguments
}The following arguments are supported:
- Instance
Log stringId - 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 stringId - 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_ stringid - 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 StringId - 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 stringId - 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_ strid - 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.
- instance
Log StringId - 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:
- 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 stringId - Node
Name 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 stringId - Node
Name 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_ stringid - node_
name 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 StringId - node
Name 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 stringId - node
Name 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_ strid - node_
name str - Name of the underlying node.
- region str
- status str
- 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 StringId - node
Name 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
scalewayTerraform Provider.
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse