get Supported Database Flags
suspend fun getSupportedDatabaseFlags(argument: GetSupportedDatabaseFlagsPlainArgs): GetSupportedDatabaseFlagsResult
Use this data source to get information about the supported alloydb database flags in a location.
Example Usage
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());
}
}
Content copied to clipboard
Return
A collection of values returned by getSupportedDatabaseFlags.
Parameters
argument
A collection of arguments for invoking getSupportedDatabaseFlags.
suspend fun getSupportedDatabaseFlags(location: String, project: String? = null): GetSupportedDatabaseFlagsResult
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
suspend fun getSupportedDatabaseFlags(argument: suspend GetSupportedDatabaseFlagsPlainArgsBuilder.() -> Unit): GetSupportedDatabaseFlagsResult
Return
A collection of values returned by getSupportedDatabaseFlags.
Parameters
argument
Builder for com.pulumi.gcp.alloydb.kotlin.inputs.GetSupportedDatabaseFlagsPlainArgs.