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 the list of Db System Os Patch History Entries in Oracle Cloud Infrastructure Database service.
Gets the history of the OS patch actions performed on the specified DB system.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbSystemOsPatchHistoryEntries = oci.Database.getDbSystemOsPatchHistoryEntries({
dbSystemId: testDbSystem.id,
action: dbSystemOsPatchHistoryEntryAction,
state: dbSystemOsPatchHistoryEntryState,
});
import pulumi
import pulumi_oci as oci
test_db_system_os_patch_history_entries = oci.Database.get_db_system_os_patch_history_entries(db_system_id=test_db_system["id"],
action=db_system_os_patch_history_entry_action,
state=db_system_os_patch_history_entry_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.GetDbSystemOsPatchHistoryEntries(ctx, &database.GetDbSystemOsPatchHistoryEntriesArgs{
DbSystemId: testDbSystem.Id,
Action: pulumi.StringRef(dbSystemOsPatchHistoryEntryAction),
State: pulumi.StringRef(dbSystemOsPatchHistoryEntryState),
}, 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 testDbSystemOsPatchHistoryEntries = Oci.Database.GetDbSystemOsPatchHistoryEntries.Invoke(new()
{
DbSystemId = testDbSystem.Id,
Action = dbSystemOsPatchHistoryEntryAction,
State = dbSystemOsPatchHistoryEntryState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetDbSystemOsPatchHistoryEntriesArgs;
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 testDbSystemOsPatchHistoryEntries = DatabaseFunctions.getDbSystemOsPatchHistoryEntries(GetDbSystemOsPatchHistoryEntriesArgs.builder()
.dbSystemId(testDbSystem.id())
.action(dbSystemOsPatchHistoryEntryAction)
.state(dbSystemOsPatchHistoryEntryState)
.build());
}
}
variables:
testDbSystemOsPatchHistoryEntries:
fn::invoke:
function: oci:Database:getDbSystemOsPatchHistoryEntries
arguments:
dbSystemId: ${testDbSystem.id}
action: ${dbSystemOsPatchHistoryEntryAction}
state: ${dbSystemOsPatchHistoryEntryState}
Using getDbSystemOsPatchHistoryEntries
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 getDbSystemOsPatchHistoryEntries(args: GetDbSystemOsPatchHistoryEntriesArgs, opts?: InvokeOptions): Promise<GetDbSystemOsPatchHistoryEntriesResult>
function getDbSystemOsPatchHistoryEntriesOutput(args: GetDbSystemOsPatchHistoryEntriesOutputArgs, opts?: InvokeOptions): Output<GetDbSystemOsPatchHistoryEntriesResult>def get_db_system_os_patch_history_entries(action: Optional[str] = None,
db_system_id: Optional[str] = None,
filters: Optional[Sequence[GetDbSystemOsPatchHistoryEntriesFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbSystemOsPatchHistoryEntriesResult
def get_db_system_os_patch_history_entries_output(action: Optional[pulumi.Input[str]] = None,
db_system_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDbSystemOsPatchHistoryEntriesFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbSystemOsPatchHistoryEntriesResult]func GetDbSystemOsPatchHistoryEntries(ctx *Context, args *GetDbSystemOsPatchHistoryEntriesArgs, opts ...InvokeOption) (*GetDbSystemOsPatchHistoryEntriesResult, error)
func GetDbSystemOsPatchHistoryEntriesOutput(ctx *Context, args *GetDbSystemOsPatchHistoryEntriesOutputArgs, opts ...InvokeOption) GetDbSystemOsPatchHistoryEntriesResultOutput> Note: This function is named GetDbSystemOsPatchHistoryEntries in the Go SDK.
public static class GetDbSystemOsPatchHistoryEntries
{
public static Task<GetDbSystemOsPatchHistoryEntriesResult> InvokeAsync(GetDbSystemOsPatchHistoryEntriesArgs args, InvokeOptions? opts = null)
public static Output<GetDbSystemOsPatchHistoryEntriesResult> Invoke(GetDbSystemOsPatchHistoryEntriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbSystemOsPatchHistoryEntriesResult> getDbSystemOsPatchHistoryEntries(GetDbSystemOsPatchHistoryEntriesArgs args, InvokeOptions options)
public static Output<GetDbSystemOsPatchHistoryEntriesResult> getDbSystemOsPatchHistoryEntries(GetDbSystemOsPatchHistoryEntriesArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getDbSystemOsPatchHistoryEntries:getDbSystemOsPatchHistoryEntries
arguments:
# arguments dictionaryThe following arguments are supported:
- Db
System stringId - The DB system OCID.
- Action string
- A filter to return only OS patch history entries that match the specified OS patch action.
- Filters
List<Get
Db System Os Patch History Entries Filter> - State string
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- Db
System stringId - The DB system OCID.
- Action string
- A filter to return only OS patch history entries that match the specified OS patch action.
- Filters
[]Get
Db System Os Patch History Entries Filter - State string
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- db
System StringId - The DB system OCID.
- action String
- A filter to return only OS patch history entries that match the specified OS patch action.
- filters
List<Get
Db System Os Patch History Entries Filter> - state String
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- db
System stringId - The DB system OCID.
- action string
- A filter to return only OS patch history entries that match the specified OS patch action.
- filters
Get
Db System Os Patch History Entries Filter[] - state string
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- db_
system_ strid - The DB system OCID.
- action str
- A filter to return only OS patch history entries that match the specified OS patch action.
- filters
Sequence[Get
Db System Os Patch History Entries Filter] - state str
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- db
System StringId - The DB system OCID.
- action String
- A filter to return only OS patch history entries that match the specified OS patch action.
- filters List<Property Map>
- state String
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
getDbSystemOsPatchHistoryEntries Result
The following output properties are available:
- Db
System stringId - The OCID of the DB system.
- Db
System List<GetOs Patch History Entry Collections Db System Os Patch History Entries Db System Os Patch History Entry Collection> - The list of db_system_os_patch_history_entry_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Action string
- The action being performed or was completed.
- Filters
List<Get
Db System Os Patch History Entries Filter> - State string
- The current state of the action.
- Db
System stringId - The OCID of the DB system.
- Db
System []GetOs Patch History Entry Collections Db System Os Patch History Entries Db System Os Patch History Entry Collection - The list of db_system_os_patch_history_entry_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Action string
- The action being performed or was completed.
- Filters
[]Get
Db System Os Patch History Entries Filter - State string
- The current state of the action.
- db
System StringId - The OCID of the DB system.
- db
System List<GetOs Patch History Entry Collections Db System Os Patch History Entries Db System Os Patch History Entry Collection> - The list of db_system_os_patch_history_entry_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- action String
- The action being performed or was completed.
- filters
List<Get
Db System Os Patch History Entries Filter> - state String
- The current state of the action.
- db
System stringId - The OCID of the DB system.
- db
System GetOs Patch History Entry Collections Db System Os Patch History Entries Db System Os Patch History Entry Collection[] - The list of db_system_os_patch_history_entry_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- action string
- The action being performed or was completed.
- filters
Get
Db System Os Patch History Entries Filter[] - state string
- The current state of the action.
- db_
system_ strid - The OCID of the DB system.
- db_
system_ Sequence[Getos_ patch_ history_ entry_ collections Db System Os Patch History Entries Db System Os Patch History Entry Collection] - The list of db_system_os_patch_history_entry_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- action str
- The action being performed or was completed.
- filters
Sequence[Get
Db System Os Patch History Entries Filter] - state str
- The current state of the action.
- db
System StringId - The OCID of the DB system.
- db
System List<Property Map>Os Patch History Entry Collections - The list of db_system_os_patch_history_entry_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- action String
- The action being performed or was completed.
- filters List<Property Map>
- state String
- The current state of the action.
Supporting Types
GetDbSystemOsPatchHistoryEntriesDbSystemOsPatchHistoryEntryCollection
- Items
List<Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item> - Array of OS patch details for a DB System.
- Items
[]Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item - Array of OS patch details for a DB System.
- items
List<Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item> - Array of OS patch details for a DB System.
- items
Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item[] - Array of OS patch details for a DB System.
- items
Sequence[Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item] - Array of OS patch details for a DB System.
- items List<Property Map>
- Array of OS patch details for a DB System.
GetDbSystemOsPatchHistoryEntriesDbSystemOsPatchHistoryEntryCollectionItem
- Action string
- A filter to return only OS patch history entries that match the specified OS patch action.
- Db
System stringId - The DB system OCID.
- Id string
- The OCID of the OS patch history entry.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- Os
Patch List<GetDetails Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail> - Results of OS patch details for a DB System.
- State string
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- Time
Ended string - The date and time when the patch action completed
- Time
Started string - The date and time when the patch action started.
- Action string
- A filter to return only OS patch history entries that match the specified OS patch action.
- Db
System stringId - The DB system OCID.
- Id string
- The OCID of the OS patch history entry.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- Os
Patch []GetDetails Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail - Results of OS patch details for a DB System.
- State string
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- Time
Ended string - The date and time when the patch action completed
- Time
Started string - The date and time when the patch action started.
- action String
- A filter to return only OS patch history entries that match the specified OS patch action.
- db
System StringId - The DB system OCID.
- id String
- The OCID of the OS patch history entry.
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- os
Patch List<GetDetails Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail> - Results of OS patch details for a DB System.
- state String
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- time
Ended String - The date and time when the patch action completed
- time
Started String - The date and time when the patch action started.
- action string
- A filter to return only OS patch history entries that match the specified OS patch action.
- db
System stringId - The DB system OCID.
- id string
- The OCID of the OS patch history entry.
- lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- os
Patch GetDetails Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail[] - Results of OS patch details for a DB System.
- state string
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- time
Ended string - The date and time when the patch action completed
- time
Started string - The date and time when the patch action started.
- action str
- A filter to return only OS patch history entries that match the specified OS patch action.
- db_
system_ strid - The DB system OCID.
- id str
- The OCID of the OS patch history entry.
- lifecycle_
details str - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- os_
patch_ Sequence[Getdetails Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail] - Results of OS patch details for a DB System.
- state str
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- time_
ended str - The date and time when the patch action completed
- time_
started str - The date and time when the patch action started.
- action String
- A filter to return only OS patch history entries that match the specified OS patch action.
- db
System StringId - The DB system OCID.
- id String
- The OCID of the OS patch history entry.
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- os
Patch List<Property Map>Details - Results of OS patch details for a DB System.
- state String
- A filter to return only OS patch history entries that match the given lifecycle state exactly.
- time
Ended String - The date and time when the patch action completed
- time
Started String - The date and time when the patch action started.
GetDbSystemOsPatchHistoryEntriesDbSystemOsPatchHistoryEntryCollectionItemOsPatchDetail
- Items
List<Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail Item> - Array of OS patch details for a DB System.
- Items
[]Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail Item - Array of OS patch details for a DB System.
- items
List<Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail Item> - Array of OS patch details for a DB System.
- items
Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail Item[] - Array of OS patch details for a DB System.
- items
Sequence[Get
Db System Os Patch History Entries Db System Os Patch History Entry Collection Item Os Patch Detail Item] - Array of OS patch details for a DB System.
- items List<Property Map>
- Array of OS patch details for a DB System.
GetDbSystemOsPatchHistoryEntriesDbSystemOsPatchHistoryEntryCollectionItemOsPatchDetailItem
- Db
Node stringId - The OCID of the DB node targeted for this patch action.
- Is
Reboot boolRequired - Indicates whether a reboot is required after applying the patch.
- Rpms List<string>
- List of OS package identifiers (e.g., RPM strings).
- Db
Node stringId - The OCID of the DB node targeted for this patch action.
- Is
Reboot boolRequired - Indicates whether a reboot is required after applying the patch.
- Rpms []string
- List of OS package identifiers (e.g., RPM strings).
- db
Node StringId - The OCID of the DB node targeted for this patch action.
- is
Reboot BooleanRequired - Indicates whether a reboot is required after applying the patch.
- rpms List<String>
- List of OS package identifiers (e.g., RPM strings).
- db
Node stringId - The OCID of the DB node targeted for this patch action.
- is
Reboot booleanRequired - Indicates whether a reboot is required after applying the patch.
- rpms string[]
- List of OS package identifiers (e.g., RPM strings).
- db_
node_ strid - The OCID of the DB node targeted for this patch action.
- is_
reboot_ boolrequired - Indicates whether a reboot is required after applying the patch.
- rpms Sequence[str]
- List of OS package identifiers (e.g., RPM strings).
- db
Node StringId - The OCID of the DB node targeted for this patch action.
- is
Reboot BooleanRequired - Indicates whether a reboot is required after applying the patch.
- rpms List<String>
- List of OS package identifiers (e.g., RPM strings).
GetDbSystemOsPatchHistoryEntriesFilter
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
