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 Db System Os Patch History Entry resource in Oracle Cloud Infrastructure Database service.
Gets the details of the specified OS patch action for the specified DB system.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbSystemOsPatchHistoryEntry = oci.Database.getDbSystemOsPatchHistoryEntry({
dbSystemId: testDbSystem.id,
osPatchHistoryEntryId: testOsPatchHistoryEntry.id,
});
import pulumi
import pulumi_oci as oci
test_db_system_os_patch_history_entry = oci.Database.get_db_system_os_patch_history_entry(db_system_id=test_db_system["id"],
os_patch_history_entry_id=test_os_patch_history_entry["id"])
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.GetDbSystemOsPatchHistoryEntry(ctx, &database.GetDbSystemOsPatchHistoryEntryArgs{
DbSystemId: testDbSystem.Id,
OsPatchHistoryEntryId: testOsPatchHistoryEntry.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 testDbSystemOsPatchHistoryEntry = Oci.Database.GetDbSystemOsPatchHistoryEntry.Invoke(new()
{
DbSystemId = testDbSystem.Id,
OsPatchHistoryEntryId = testOsPatchHistoryEntry.Id,
});
});
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.GetDbSystemOsPatchHistoryEntryArgs;
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 testDbSystemOsPatchHistoryEntry = DatabaseFunctions.getDbSystemOsPatchHistoryEntry(GetDbSystemOsPatchHistoryEntryArgs.builder()
.dbSystemId(testDbSystem.id())
.osPatchHistoryEntryId(testOsPatchHistoryEntry.id())
.build());
}
}
variables:
testDbSystemOsPatchHistoryEntry:
fn::invoke:
function: oci:Database:getDbSystemOsPatchHistoryEntry
arguments:
dbSystemId: ${testDbSystem.id}
osPatchHistoryEntryId: ${testOsPatchHistoryEntry.id}
Using getDbSystemOsPatchHistoryEntry
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 getDbSystemOsPatchHistoryEntry(args: GetDbSystemOsPatchHistoryEntryArgs, opts?: InvokeOptions): Promise<GetDbSystemOsPatchHistoryEntryResult>
function getDbSystemOsPatchHistoryEntryOutput(args: GetDbSystemOsPatchHistoryEntryOutputArgs, opts?: InvokeOptions): Output<GetDbSystemOsPatchHistoryEntryResult>def get_db_system_os_patch_history_entry(db_system_id: Optional[str] = None,
os_patch_history_entry_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbSystemOsPatchHistoryEntryResult
def get_db_system_os_patch_history_entry_output(db_system_id: Optional[pulumi.Input[str]] = None,
os_patch_history_entry_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbSystemOsPatchHistoryEntryResult]func GetDbSystemOsPatchHistoryEntry(ctx *Context, args *GetDbSystemOsPatchHistoryEntryArgs, opts ...InvokeOption) (*GetDbSystemOsPatchHistoryEntryResult, error)
func GetDbSystemOsPatchHistoryEntryOutput(ctx *Context, args *GetDbSystemOsPatchHistoryEntryOutputArgs, opts ...InvokeOption) GetDbSystemOsPatchHistoryEntryResultOutput> Note: This function is named GetDbSystemOsPatchHistoryEntry in the Go SDK.
public static class GetDbSystemOsPatchHistoryEntry
{
public static Task<GetDbSystemOsPatchHistoryEntryResult> InvokeAsync(GetDbSystemOsPatchHistoryEntryArgs args, InvokeOptions? opts = null)
public static Output<GetDbSystemOsPatchHistoryEntryResult> Invoke(GetDbSystemOsPatchHistoryEntryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbSystemOsPatchHistoryEntryResult> getDbSystemOsPatchHistoryEntry(GetDbSystemOsPatchHistoryEntryArgs args, InvokeOptions options)
public static Output<GetDbSystemOsPatchHistoryEntryResult> getDbSystemOsPatchHistoryEntry(GetDbSystemOsPatchHistoryEntryArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getDbSystemOsPatchHistoryEntry:getDbSystemOsPatchHistoryEntry
arguments:
# arguments dictionaryThe following arguments are supported:
- Db
System stringId - The DB system OCID.
- Os
Patch stringHistory Entry Id - The OCID of the patch history entry.
- Db
System stringId - The DB system OCID.
- Os
Patch stringHistory Entry Id - The OCID of the patch history entry.
- db
System StringId - The DB system OCID.
- os
Patch StringHistory Entry Id - The OCID of the patch history entry.
- db
System stringId - The DB system OCID.
- os
Patch stringHistory Entry Id - The OCID of the patch history entry.
- db_
system_ strid - The DB system OCID.
- os_
patch_ strhistory_ entry_ id - The OCID of the patch history entry.
- db
System StringId - The DB system OCID.
- os
Patch StringHistory Entry Id - The OCID of the patch history entry.
getDbSystemOsPatchHistoryEntry Result
The following output properties are available:
- Action string
- The action being performed or was completed.
- Db
System stringId - The OCID of the DB system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- Os
Patch List<GetDetails Db System Os Patch History Entry Os Patch Detail> - Results of OS patch details for a DB System.
- Os
Patch stringHistory Entry Id - State string
- The current state of the action.
- 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
- The action being performed or was completed.
- Db
System stringId - The OCID of the DB system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- Os
Patch []GetDetails Db System Os Patch History Entry Os Patch Detail - Results of OS patch details for a DB System.
- Os
Patch stringHistory Entry Id - State string
- The current state of the action.
- 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
- The action being performed or was completed.
- db
System StringId - The OCID of the DB system.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- os
Patch List<GetDetails Db System Os Patch History Entry Os Patch Detail> - Results of OS patch details for a DB System.
- os
Patch StringHistory Entry Id - state String
- The current state of the action.
- 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
- The action being performed or was completed.
- db
System stringId - The OCID of the DB system.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- os
Patch GetDetails Db System Os Patch History Entry Os Patch Detail[] - Results of OS patch details for a DB System.
- os
Patch stringHistory Entry Id - state string
- The current state of the action.
- 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
- The action being performed or was completed.
- db_
system_ strid - The OCID of the DB system.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- os_
patch_ Sequence[Getdetails Db System Os Patch History Entry Os Patch Detail] - Results of OS patch details for a DB System.
- os_
patch_ strhistory_ entry_ id - state str
- The current state of the action.
- 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
- The action being performed or was completed.
- db
System StringId - The OCID of the DB system.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- os
Patch StringHistory Entry Id - state String
- The current state of the action.
- time
Ended String - The date and time when the patch action completed
- time
Started String - The date and time when the patch action started.
Supporting Types
GetDbSystemOsPatchHistoryEntryOsPatchDetail
- Items
List<Get
Db System Os Patch History Entry Os Patch Detail Item> - Array of OS patch details for a DB System.
- Items
[]Get
Db System Os Patch History Entry Os Patch Detail Item - Array of OS patch details for a DB System.
- items
List<Get
Db System Os Patch History Entry Os Patch Detail Item> - Array of OS patch details for a DB System.
- items
Get
Db System Os Patch History Entry Os Patch Detail Item[] - Array of OS patch details for a DB System.
- items
Sequence[Get
Db System Os Patch History Entry 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.
GetDbSystemOsPatchHistoryEntryOsPatchDetailItem
- 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).
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
