Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getVmClusterPatchHistoryEntries
Explore with Pulumi AI
This data source provides the list of Vm Cluster Patch History Entries in Oracle Cloud Infrastructure Database service.
Gets the history of the patch actions performed on the specified VM cluster in an Exadata Cloud@Customer system.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterPatchHistoryEntries = oci.Database.getVmClusterPatchHistoryEntries({
    vmClusterId: testVmCluster.id,
});
import pulumi
import pulumi_oci as oci
test_vm_cluster_patch_history_entries = oci.Database.get_vm_cluster_patch_history_entries(vm_cluster_id=test_vm_cluster["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.GetVmClusterPatchHistoryEntries(ctx, &database.GetVmClusterPatchHistoryEntriesArgs{
			VmClusterId: testVmCluster.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 testVmClusterPatchHistoryEntries = Oci.Database.GetVmClusterPatchHistoryEntries.Invoke(new()
    {
        VmClusterId = testVmCluster.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.GetVmClusterPatchHistoryEntriesArgs;
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 testVmClusterPatchHistoryEntries = DatabaseFunctions.getVmClusterPatchHistoryEntries(GetVmClusterPatchHistoryEntriesArgs.builder()
            .vmClusterId(testVmCluster.id())
            .build());
    }
}
variables:
  testVmClusterPatchHistoryEntries:
    fn::invoke:
      function: oci:Database:getVmClusterPatchHistoryEntries
      arguments:
        vmClusterId: ${testVmCluster.id}
Using getVmClusterPatchHistoryEntries
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 getVmClusterPatchHistoryEntries(args: GetVmClusterPatchHistoryEntriesArgs, opts?: InvokeOptions): Promise<GetVmClusterPatchHistoryEntriesResult>
function getVmClusterPatchHistoryEntriesOutput(args: GetVmClusterPatchHistoryEntriesOutputArgs, opts?: InvokeOptions): Output<GetVmClusterPatchHistoryEntriesResult>def get_vm_cluster_patch_history_entries(filters: Optional[Sequence[GetVmClusterPatchHistoryEntriesFilter]] = None,
                                         vm_cluster_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetVmClusterPatchHistoryEntriesResult
def get_vm_cluster_patch_history_entries_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVmClusterPatchHistoryEntriesFilterArgs]]]] = None,
                                         vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterPatchHistoryEntriesResult]func GetVmClusterPatchHistoryEntries(ctx *Context, args *GetVmClusterPatchHistoryEntriesArgs, opts ...InvokeOption) (*GetVmClusterPatchHistoryEntriesResult, error)
func GetVmClusterPatchHistoryEntriesOutput(ctx *Context, args *GetVmClusterPatchHistoryEntriesOutputArgs, opts ...InvokeOption) GetVmClusterPatchHistoryEntriesResultOutput> Note: This function is named GetVmClusterPatchHistoryEntries in the Go SDK.
public static class GetVmClusterPatchHistoryEntries 
{
    public static Task<GetVmClusterPatchHistoryEntriesResult> InvokeAsync(GetVmClusterPatchHistoryEntriesArgs args, InvokeOptions? opts = null)
    public static Output<GetVmClusterPatchHistoryEntriesResult> Invoke(GetVmClusterPatchHistoryEntriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmClusterPatchHistoryEntriesResult> getVmClusterPatchHistoryEntries(GetVmClusterPatchHistoryEntriesArgs args, InvokeOptions options)
public static Output<GetVmClusterPatchHistoryEntriesResult> getVmClusterPatchHistoryEntries(GetVmClusterPatchHistoryEntriesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getVmClusterPatchHistoryEntries:getVmClusterPatchHistoryEntries
  arguments:
    # arguments dictionaryThe following arguments are supported:
- VmCluster stringId 
- The VM cluster OCID.
- Filters
List<GetVm Cluster Patch History Entries Filter> 
- VmCluster stringId 
- The VM cluster OCID.
- Filters
[]GetVm Cluster Patch History Entries Filter 
- vmCluster StringId 
- The VM cluster OCID.
- filters
List<GetVm Cluster Patch History Entries Filter> 
- vmCluster stringId 
- The VM cluster OCID.
- filters
GetVm Cluster Patch History Entries Filter[] 
- vm_cluster_ strid 
- The VM cluster OCID.
- filters
Sequence[GetVm Cluster Patch History Entries Filter] 
- vmCluster StringId 
- The VM cluster OCID.
- filters List<Property Map>
getVmClusterPatchHistoryEntries Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- PatchHistory List<GetEntries Vm Cluster Patch History Entries Patch History Entry> 
- The list of patch_history_entries.
- VmCluster stringId 
- Filters
List<GetVm Cluster Patch History Entries Filter> 
- Id string
- The provider-assigned unique ID for this managed resource.
- PatchHistory []GetEntries Vm Cluster Patch History Entries Patch History Entry 
- The list of patch_history_entries.
- VmCluster stringId 
- Filters
[]GetVm Cluster Patch History Entries Filter 
- id String
- The provider-assigned unique ID for this managed resource.
- patchHistory List<GetEntries Vm Cluster Patch History Entries Patch History Entry> 
- The list of patch_history_entries.
- vmCluster StringId 
- filters
List<GetVm Cluster Patch History Entries Filter> 
- id string
- The provider-assigned unique ID for this managed resource.
- patchHistory GetEntries Vm Cluster Patch History Entries Patch History Entry[] 
- The list of patch_history_entries.
- vmCluster stringId 
- filters
GetVm Cluster Patch History Entries Filter[] 
- id str
- The provider-assigned unique ID for this managed resource.
- patch_history_ Sequence[Getentries Vm Cluster Patch History Entries Patch History Entry] 
- The list of patch_history_entries.
- vm_cluster_ strid 
- filters
Sequence[GetVm Cluster Patch History Entries Filter] 
- id String
- The provider-assigned unique ID for this managed resource.
- patchHistory List<Property Map>Entries 
- The list of patch_history_entries.
- vmCluster StringId 
- filters List<Property Map>
Supporting Types
GetVmClusterPatchHistoryEntriesFilter      
GetVmClusterPatchHistoryEntriesPatchHistoryEntry        
- Action string
- The action being performed or was completed.
- Id string
- The OCID of the patch history entry.
- LifecycleDetails string
- A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- PatchId string
- The OCID of the patch.
- State string
- The current state of the action.
- TimeEnded string
- The date and time when the patch action completed
- TimeStarted string
- The date and time when the patch action started.
- Action string
- The action being performed or was completed.
- Id string
- The OCID of the patch history entry.
- LifecycleDetails string
- A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- PatchId string
- The OCID of the patch.
- State string
- The current state of the action.
- TimeEnded string
- The date and time when the patch action completed
- TimeStarted string
- The date and time when the patch action started.
- action String
- The action being performed or was completed.
- id String
- The OCID of the patch history entry.
- lifecycleDetails String
- A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patchId String
- The OCID of the patch.
- state String
- The current state of the action.
- timeEnded String
- The date and time when the patch action completed
- timeStarted String
- The date and time when the patch action started.
- action string
- The action being performed or was completed.
- id string
- The OCID of the patch history entry.
- lifecycleDetails string
- A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patchId string
- The OCID of the patch.
- state string
- The current state of the action.
- timeEnded string
- The date and time when the patch action completed
- timeStarted string
- The date and time when the patch action started.
- action str
- The action being performed or was completed.
- id str
- The OCID of the patch history entry.
- lifecycle_details str
- A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patch_id str
- The OCID of the patch.
- 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.
- id String
- The OCID of the patch history entry.
- lifecycleDetails String
- A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patchId String
- The OCID of the patch.
- state String
- The current state of the action.
- timeEnded String
- The date and time when the patch action completed
- timeStarted String
- The date and time when the patch action started.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.