getSupportedDatabaseFlags

Use this data source to get information about the supported alloydb database flags in a location.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const qa = gcp.alloydb.getSupportedDatabaseFlags({
location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
qa = gcp.alloydb.get_supported_database_flags(location="us-central1")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var qa = Gcp.Alloydb.GetSupportedDatabaseFlags.Invoke(new()
{
Location = "us-central1",
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/alloydb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := alloydb.GetSupportedDatabaseFlags(ctx, &alloydb.GetSupportedDatabaseFlagsArgs{
Location: "us-central1",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.alloydb.AlloydbFunctions;
import com.pulumi.gcp.alloydb.inputs.GetSupportedDatabaseFlagsArgs;
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 qa = AlloydbFunctions.getSupportedDatabaseFlags(GetSupportedDatabaseFlagsArgs.builder()
.location("us-central1")
.build());
}
}
variables:
qa:
fn::invoke:
function: gcp:alloydb:getSupportedDatabaseFlags
arguments:
location: us-central1

Return

A collection of values returned by getSupportedDatabaseFlags.

Parameters

argument

A collection of arguments for invoking getSupportedDatabaseFlags.


Return

A collection of values returned by getSupportedDatabaseFlags.

Parameters

location

The canonical id of the location. For example: us-east1.

project

The ID of the project.

See also


Return

A collection of values returned by getSupportedDatabaseFlags.

Parameters

argument

Builder for com.pulumi.gcp.alloydb.kotlin.inputs.GetSupportedDatabaseFlagsPlainArgs.

See also