Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Configuration resource in Oracle Cloud Infrastructure Psql service.
Gets a configuration by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testConfiguration = oci.Psql.getConfiguration({
configurationId: testConfigurationOciPsqlConfiguration.id,
});
import pulumi
import pulumi_oci as oci
test_configuration = oci.Psql.get_configuration(configuration_id=test_configuration_oci_psql_configuration["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/psql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := psql.GetConfiguration(ctx, &psql.GetConfigurationArgs{
ConfigurationId: testConfigurationOciPsqlConfiguration.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testConfiguration = Oci.Psql.GetConfiguration.Invoke(new()
{
ConfigurationId = testConfigurationOciPsqlConfiguration.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Psql.PsqlFunctions;
import com.pulumi.oci.Psql.inputs.GetConfigurationArgs;
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 testConfiguration = PsqlFunctions.getConfiguration(GetConfigurationArgs.builder()
.configurationId(testConfigurationOciPsqlConfiguration.id())
.build());
}
}
variables:
testConfiguration:
fn::invoke:
function: oci:Psql:getConfiguration
arguments:
configurationId: ${testConfigurationOciPsqlConfiguration.id}
Using getConfiguration
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 getConfiguration(args: GetConfigurationArgs, opts?: InvokeOptions): Promise<GetConfigurationResult>
function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: InvokeOptions): Output<GetConfigurationResult>def get_configuration(configuration_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigurationResult
def get_configuration_output(configuration_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationResult]func LookupConfiguration(ctx *Context, args *LookupConfigurationArgs, opts ...InvokeOption) (*LookupConfigurationResult, error)
func LookupConfigurationOutput(ctx *Context, args *LookupConfigurationOutputArgs, opts ...InvokeOption) LookupConfigurationResultOutput> Note: This function is named LookupConfiguration in the Go SDK.
public static class GetConfiguration
{
public static Task<GetConfigurationResult> InvokeAsync(GetConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetConfigurationResult> Invoke(GetConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConfigurationResult> getConfiguration(GetConfigurationArgs args, InvokeOptions options)
public static Output<GetConfigurationResult> getConfiguration(GetConfigurationArgs args, InvokeOptions options)
fn::invoke:
function: oci:Psql/getConfiguration:getConfiguration
arguments:
# arguments dictionaryThe following arguments are supported:
- Configuration
Id string - A unique identifier for the configuration.
- Configuration
Id string - A unique identifier for the configuration.
- configuration
Id String - A unique identifier for the configuration.
- configuration
Id string - A unique identifier for the configuration.
- configuration_
id str - A unique identifier for the configuration.
- configuration
Id String - A unique identifier for the configuration.
getConfiguration Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the configuration.
- Compatible
Shapes List<string> - Indicates the collection of compatible shapes for this configuration.
- Config
Type string - The type of configuration. Either user-created or a default configuration.
- Configuration
Details List<GetConfiguration Configuration Detail> - List of configuration details.
- Configuration
Id string - Db
Configuration List<GetOverrides Configuration Db Configuration Override> - Db
Version string - Version of the PostgreSQL database.
- Default
Config stringId - The Default configuration used for this configuration.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- A description for the configuration.
- Display
Name string - A user-friendly display name for the configuration. Avoid entering confidential information.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- A unique identifier for the configuration. Immutable on creation.
- Instance
Memory intSize In Gbs - Memory size in gigabytes with 1GB increment.
- Instance
Ocpu intCount - CPU core count.
- Is
Flexible bool - Whether the configuration supports flexible shapes.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Shape string
- The name of the shape for the configuration.
- State string
- The current state of the configuration.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the configuration was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment that contains the configuration.
- Compatible
Shapes []string - Indicates the collection of compatible shapes for this configuration.
- Config
Type string - The type of configuration. Either user-created or a default configuration.
- Configuration
Details []GetConfiguration Configuration Detail - List of configuration details.
- Configuration
Id string - Db
Configuration []GetOverrides Configuration Db Configuration Override - Db
Version string - Version of the PostgreSQL database.
- Default
Config stringId - The Default configuration used for this configuration.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- A description for the configuration.
- Display
Name string - A user-friendly display name for the configuration. Avoid entering confidential information.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- A unique identifier for the configuration. Immutable on creation.
- Instance
Memory intSize In Gbs - Memory size in gigabytes with 1GB increment.
- Instance
Ocpu intCount - CPU core count.
- Is
Flexible bool - Whether the configuration supports flexible shapes.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Shape string
- The name of the shape for the configuration.
- State string
- The current state of the configuration.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the configuration was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment that contains the configuration.
- compatible
Shapes List<String> - Indicates the collection of compatible shapes for this configuration.
- config
Type String - The type of configuration. Either user-created or a default configuration.
- configuration
Details List<GetConfiguration Configuration Detail> - List of configuration details.
- configuration
Id String - db
Configuration List<GetOverrides Configuration Db Configuration Override> - db
Version String - Version of the PostgreSQL database.
- default
Config StringId - The Default configuration used for this configuration.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- A description for the configuration.
- display
Name String - A user-friendly display name for the configuration. Avoid entering confidential information.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- A unique identifier for the configuration. Immutable on creation.
- instance
Memory IntegerSize In Gbs - Memory size in gigabytes with 1GB increment.
- instance
Ocpu IntegerCount - CPU core count.
- is
Flexible Boolean - Whether the configuration supports flexible shapes.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape String
- The name of the shape for the configuration.
- state String
- The current state of the configuration.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the configuration was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment that contains the configuration.
- compatible
Shapes string[] - Indicates the collection of compatible shapes for this configuration.
- config
Type string - The type of configuration. Either user-created or a default configuration.
- configuration
Details GetConfiguration Configuration Detail[] - List of configuration details.
- configuration
Id string - db
Configuration GetOverrides Configuration Db Configuration Override[] - db
Version string - Version of the PostgreSQL database.
- default
Config stringId - The Default configuration used for this configuration.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- A description for the configuration.
- display
Name string - A user-friendly display name for the configuration. Avoid entering confidential information.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- A unique identifier for the configuration. Immutable on creation.
- instance
Memory numberSize In Gbs - Memory size in gigabytes with 1GB increment.
- instance
Ocpu numberCount - CPU core count.
- is
Flexible boolean - Whether the configuration supports flexible shapes.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape string
- The name of the shape for the configuration.
- state string
- The current state of the configuration.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time that the configuration was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The OCID of the compartment that contains the configuration.
- compatible_
shapes Sequence[str] - Indicates the collection of compatible shapes for this configuration.
- config_
type str - The type of configuration. Either user-created or a default configuration.
- configuration_
details Sequence[GetConfiguration Configuration Detail] - List of configuration details.
- configuration_
id str - db_
configuration_ Sequence[Getoverrides Configuration Db Configuration Override] - db_
version str - Version of the PostgreSQL database.
- default_
config_ strid - The Default configuration used for this configuration.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description str
- A description for the configuration.
- display_
name str - A user-friendly display name for the configuration. Avoid entering confidential information.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- A unique identifier for the configuration. Immutable on creation.
- instance_
memory_ intsize_ in_ gbs - Memory size in gigabytes with 1GB increment.
- instance_
ocpu_ intcount - CPU core count.
- is_
flexible bool - Whether the configuration supports flexible shapes.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape str
- The name of the shape for the configuration.
- state str
- The current state of the configuration.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time that the configuration was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment that contains the configuration.
- compatible
Shapes List<String> - Indicates the collection of compatible shapes for this configuration.
- config
Type String - The type of configuration. Either user-created or a default configuration.
- configuration
Details List<Property Map> - List of configuration details.
- configuration
Id String - db
Configuration List<Property Map>Overrides - db
Version String - Version of the PostgreSQL database.
- default
Config StringId - The Default configuration used for this configuration.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- A description for the configuration.
- display
Name String - A user-friendly display name for the configuration. Avoid entering confidential information.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- A unique identifier for the configuration. Immutable on creation.
- instance
Memory NumberSize In Gbs - Memory size in gigabytes with 1GB increment.
- instance
Ocpu NumberCount - CPU core count.
- is
Flexible Boolean - Whether the configuration supports flexible shapes.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape String
- The name of the shape for the configuration.
- state String
- The current state of the configuration.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the configuration was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
Supporting Types
GetConfigurationConfigurationDetail
- Items
List<Get
Configuration Configuration Detail Item> - List of ConfigParms object.
- Items
[]Get
Configuration Configuration Detail Item - List of ConfigParms object.
- items
List<Get
Configuration Configuration Detail Item> - List of ConfigParms object.
- items
Get
Configuration Configuration Detail Item[] - List of ConfigParms object.
- items
Sequence[Get
Configuration Configuration Detail Item] - List of ConfigParms object.
- items List<Property Map>
- List of ConfigParms object.
GetConfigurationConfigurationDetailItem
- Allowed
Values string - Range or list of allowed values.
- Config
Key string - The configuration variable name.
- Data
Type string - Data type of the variable.
- Default
Config stringValue - Default value for the configuration variable.
- Description string
- A description for the configuration.
- Is
Overridable bool - Whether the value can be overridden or not.
- Is
Restart boolRequired - If true, modifying this configuration value will require a restart of the database.
- Overriden
Config stringValue - User-selected configuration variable value.
- Allowed
Values string - Range or list of allowed values.
- Config
Key string - The configuration variable name.
- Data
Type string - Data type of the variable.
- Default
Config stringValue - Default value for the configuration variable.
- Description string
- A description for the configuration.
- Is
Overridable bool - Whether the value can be overridden or not.
- Is
Restart boolRequired - If true, modifying this configuration value will require a restart of the database.
- Overriden
Config stringValue - User-selected configuration variable value.
- allowed
Values String - Range or list of allowed values.
- config
Key String - The configuration variable name.
- data
Type String - Data type of the variable.
- default
Config StringValue - Default value for the configuration variable.
- description String
- A description for the configuration.
- is
Overridable Boolean - Whether the value can be overridden or not.
- is
Restart BooleanRequired - If true, modifying this configuration value will require a restart of the database.
- overriden
Config StringValue - User-selected configuration variable value.
- allowed
Values string - Range or list of allowed values.
- config
Key string - The configuration variable name.
- data
Type string - Data type of the variable.
- default
Config stringValue - Default value for the configuration variable.
- description string
- A description for the configuration.
- is
Overridable boolean - Whether the value can be overridden or not.
- is
Restart booleanRequired - If true, modifying this configuration value will require a restart of the database.
- overriden
Config stringValue - User-selected configuration variable value.
- allowed_
values str - Range or list of allowed values.
- config_
key str - The configuration variable name.
- data_
type str - Data type of the variable.
- default_
config_ strvalue - Default value for the configuration variable.
- description str
- A description for the configuration.
- is_
overridable bool - Whether the value can be overridden or not.
- is_
restart_ boolrequired - If true, modifying this configuration value will require a restart of the database.
- overriden_
config_ strvalue - User-selected configuration variable value.
- allowed
Values String - Range or list of allowed values.
- config
Key String - The configuration variable name.
- data
Type String - Data type of the variable.
- default
Config StringValue - Default value for the configuration variable.
- description String
- A description for the configuration.
- is
Overridable Boolean - Whether the value can be overridden or not.
- is
Restart BooleanRequired - If true, modifying this configuration value will require a restart of the database.
- overriden
Config StringValue - User-selected configuration variable value.
GetConfigurationDbConfigurationOverride
- Items
List<Get
Configuration Db Configuration Override Item> - List of ConfigParms object.
- Items
[]Get
Configuration Db Configuration Override Item - List of ConfigParms object.
- items
List<Get
Configuration Db Configuration Override Item> - List of ConfigParms object.
- items
Get
Configuration Db Configuration Override Item[] - List of ConfigParms object.
- items
Sequence[Get
Configuration Db Configuration Override Item] - List of ConfigParms object.
- items List<Property Map>
- List of ConfigParms object.
GetConfigurationDbConfigurationOverrideItem
- Config
Key string - The configuration variable name.
- Overriden
Config stringValue - User-selected configuration variable value.
- Config
Key string - The configuration variable name.
- Overriden
Config stringValue - User-selected configuration variable value.
- config
Key String - The configuration variable name.
- overriden
Config StringValue - User-selected configuration variable value.
- config
Key string - The configuration variable name.
- overriden
Config stringValue - User-selected configuration variable value.
- config_
key str - The configuration variable name.
- overriden_
config_ strvalue - User-selected configuration variable value.
- config
Key String - The configuration variable name.
- overriden
Config StringValue - User-selected configuration variable value.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
