Viewing docs for Oracle Cloud Infrastructure v4.19.0
published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.19.0
published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi
This data source provides details about a specific Db System Pitr Detail resource in Oracle Cloud Infrastructure Psql service.
Gets the database system PITR details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbSystemPitrDetail = oci.psql.getDbSystemPitrDetail({
dbSystemId: testDbSystem.id,
});
import pulumi
import pulumi_oci as oci
test_db_system_pitr_detail = oci.psql.get_db_system_pitr_detail(db_system_id=test_db_system["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.GetDbSystemPitrDetail(ctx, &psql.GetDbSystemPitrDetailArgs{
DbSystemId: testDbSystem.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 testDbSystemPitrDetail = Oci.Psql.GetDbSystemPitrDetail.Invoke(new()
{
DbSystemId = testDbSystem.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.GetDbSystemPitrDetailArgs;
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 testDbSystemPitrDetail = PsqlFunctions.getDbSystemPitrDetail(GetDbSystemPitrDetailArgs.builder()
.dbSystemId(testDbSystem.id())
.build());
}
}
variables:
testDbSystemPitrDetail:
fn::invoke:
function: oci:Psql:getDbSystemPitrDetail
arguments:
dbSystemId: ${testDbSystem.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_psql_getdbsystempitrdetail" "testDbSystemPitrDetail" {
db_system_id = testDbSystem.id
}
Using getDbSystemPitrDetail
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 getDbSystemPitrDetail(args: GetDbSystemPitrDetailArgs, opts?: InvokeOptions): Promise<GetDbSystemPitrDetailResult>
function getDbSystemPitrDetailOutput(args: GetDbSystemPitrDetailOutputArgs, opts?: InvokeOptions): Output<GetDbSystemPitrDetailResult>def get_db_system_pitr_detail(db_system_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbSystemPitrDetailResult
def get_db_system_pitr_detail_output(db_system_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbSystemPitrDetailResult]func GetDbSystemPitrDetail(ctx *Context, args *GetDbSystemPitrDetailArgs, opts ...InvokeOption) (*GetDbSystemPitrDetailResult, error)
func GetDbSystemPitrDetailOutput(ctx *Context, args *GetDbSystemPitrDetailOutputArgs, opts ...InvokeOption) GetDbSystemPitrDetailResultOutput> Note: This function is named GetDbSystemPitrDetail in the Go SDK.
public static class GetDbSystemPitrDetail
{
public static Task<GetDbSystemPitrDetailResult> InvokeAsync(GetDbSystemPitrDetailArgs args, InvokeOptions? opts = null)
public static Output<GetDbSystemPitrDetailResult> Invoke(GetDbSystemPitrDetailInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbSystemPitrDetailResult> getDbSystemPitrDetail(GetDbSystemPitrDetailArgs args, InvokeOptions options)
public static Output<GetDbSystemPitrDetailResult> getDbSystemPitrDetail(GetDbSystemPitrDetailArgs args, InvokeOptions options)
fn::invoke:
function: oci:Psql/getDbSystemPitrDetail:getDbSystemPitrDetail
arguments:
# arguments dictionarydata "oci_psql_getdbsystempitrdetail" "name" {
# arguments
}The following arguments are supported:
- Db
System stringId - A unique identifier for the database system.
- Db
System stringId - A unique identifier for the database system.
- db_
system_ stringid - A unique identifier for the database system.
- db
System StringId - A unique identifier for the database system.
- db
System stringId - A unique identifier for the database system.
- db_
system_ strid - A unique identifier for the database system.
- db
System StringId - A unique identifier for the database system.
getDbSystemPitrDetail Result
The following output properties are available:
- Db
System stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Pitr
State string - The current state of the point-in-time recovery of the db system.
- Recovery
Time List<GetWindows Db System Pitr Detail Recovery Time Window> - List of point-in-time recovery windows.
- Db
System stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Pitr
State string - The current state of the point-in-time recovery of the db system.
- Recovery
Time []GetWindows Db System Pitr Detail Recovery Time Window - List of point-in-time recovery windows.
- db_
system_ stringid - id string
- The provider-assigned unique ID for this managed resource.
- pitr_
state string - The current state of the point-in-time recovery of the db system.
- recovery_
time_ list(object)windows - List of point-in-time recovery windows.
- db
System StringId - id String
- The provider-assigned unique ID for this managed resource.
- pitr
State String - The current state of the point-in-time recovery of the db system.
- recovery
Time List<GetWindows Db System Pitr Detail Recovery Time Window> - List of point-in-time recovery windows.
- db
System stringId - id string
- The provider-assigned unique ID for this managed resource.
- pitr
State string - The current state of the point-in-time recovery of the db system.
- recovery
Time GetWindows Db System Pitr Detail Recovery Time Window[] - List of point-in-time recovery windows.
- db_
system_ strid - id str
- The provider-assigned unique ID for this managed resource.
- pitr_
state str - The current state of the point-in-time recovery of the db system.
- recovery_
time_ Sequence[Getwindows Db System Pitr Detail Recovery Time Window] - List of point-in-time recovery windows.
- db
System StringId - id String
- The provider-assigned unique ID for this managed resource.
- pitr
State String - The current state of the point-in-time recovery of the db system.
- recovery
Time List<Property Map>Windows - List of point-in-time recovery windows.
Supporting Types
GetDbSystemPitrDetailRecoveryTimeWindow
- Time
Recovery stringWindow End - Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z - Time
Recovery stringWindow Start - Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z
- Time
Recovery stringWindow End - Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z - Time
Recovery stringWindow Start - Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z
- time_
recovery_ stringwindow_ end - Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z - time_
recovery_ stringwindow_ start - Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z
- time
Recovery StringWindow End - Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z - time
Recovery StringWindow Start - Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z
- time
Recovery stringWindow End - Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z - time
Recovery stringWindow Start - Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z
- time_
recovery_ strwindow_ end - Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z - time_
recovery_ strwindow_ start - Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z
- time
Recovery StringWindow End - Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z - time
Recovery StringWindow Start - Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp. Example:
2016-08-25T21:10:29Z
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.19.0
published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi