Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getVmClusterUpdateHistoryEntries
Explore with Pulumi AI
This data source provides the list of Vm Cluster Update History Entries in Oracle Cloud Infrastructure Database service.
Gets the history of the maintenance update actions performed on the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterUpdateHistoryEntries = oci.Database.getVmClusterUpdateHistoryEntries({
    vmClusterId: testVmCluster.id,
    state: vmClusterUpdateHistoryEntryState,
    updateType: vmClusterUpdateHistoryEntryUpdateType,
});
import pulumi
import pulumi_oci as oci
test_vm_cluster_update_history_entries = oci.Database.get_vm_cluster_update_history_entries(vm_cluster_id=test_vm_cluster["id"],
    state=vm_cluster_update_history_entry_state,
    update_type=vm_cluster_update_history_entry_update_type)
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.GetVmClusterUpdateHistoryEntries(ctx, &database.GetVmClusterUpdateHistoryEntriesArgs{
			VmClusterId: testVmCluster.Id,
			State:       pulumi.StringRef(vmClusterUpdateHistoryEntryState),
			UpdateType:  pulumi.StringRef(vmClusterUpdateHistoryEntryUpdateType),
		}, 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 testVmClusterUpdateHistoryEntries = Oci.Database.GetVmClusterUpdateHistoryEntries.Invoke(new()
    {
        VmClusterId = testVmCluster.Id,
        State = vmClusterUpdateHistoryEntryState,
        UpdateType = vmClusterUpdateHistoryEntryUpdateType,
    });
});
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.GetVmClusterUpdateHistoryEntriesArgs;
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 testVmClusterUpdateHistoryEntries = DatabaseFunctions.getVmClusterUpdateHistoryEntries(GetVmClusterUpdateHistoryEntriesArgs.builder()
            .vmClusterId(testVmCluster.id())
            .state(vmClusterUpdateHistoryEntryState)
            .updateType(vmClusterUpdateHistoryEntryUpdateType)
            .build());
    }
}
variables:
  testVmClusterUpdateHistoryEntries:
    fn::invoke:
      function: oci:Database:getVmClusterUpdateHistoryEntries
      arguments:
        vmClusterId: ${testVmCluster.id}
        state: ${vmClusterUpdateHistoryEntryState}
        updateType: ${vmClusterUpdateHistoryEntryUpdateType}
Using getVmClusterUpdateHistoryEntries
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 getVmClusterUpdateHistoryEntries(args: GetVmClusterUpdateHistoryEntriesArgs, opts?: InvokeOptions): Promise<GetVmClusterUpdateHistoryEntriesResult>
function getVmClusterUpdateHistoryEntriesOutput(args: GetVmClusterUpdateHistoryEntriesOutputArgs, opts?: InvokeOptions): Output<GetVmClusterUpdateHistoryEntriesResult>def get_vm_cluster_update_history_entries(filters: Optional[Sequence[GetVmClusterUpdateHistoryEntriesFilter]] = None,
                                          state: Optional[str] = None,
                                          update_type: Optional[str] = None,
                                          vm_cluster_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetVmClusterUpdateHistoryEntriesResult
def get_vm_cluster_update_history_entries_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVmClusterUpdateHistoryEntriesFilterArgs]]]] = None,
                                          state: Optional[pulumi.Input[str]] = None,
                                          update_type: Optional[pulumi.Input[str]] = None,
                                          vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterUpdateHistoryEntriesResult]func GetVmClusterUpdateHistoryEntries(ctx *Context, args *GetVmClusterUpdateHistoryEntriesArgs, opts ...InvokeOption) (*GetVmClusterUpdateHistoryEntriesResult, error)
func GetVmClusterUpdateHistoryEntriesOutput(ctx *Context, args *GetVmClusterUpdateHistoryEntriesOutputArgs, opts ...InvokeOption) GetVmClusterUpdateHistoryEntriesResultOutput> Note: This function is named GetVmClusterUpdateHistoryEntries in the Go SDK.
public static class GetVmClusterUpdateHistoryEntries 
{
    public static Task<GetVmClusterUpdateHistoryEntriesResult> InvokeAsync(GetVmClusterUpdateHistoryEntriesArgs args, InvokeOptions? opts = null)
    public static Output<GetVmClusterUpdateHistoryEntriesResult> Invoke(GetVmClusterUpdateHistoryEntriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmClusterUpdateHistoryEntriesResult> getVmClusterUpdateHistoryEntries(GetVmClusterUpdateHistoryEntriesArgs args, InvokeOptions options)
public static Output<GetVmClusterUpdateHistoryEntriesResult> getVmClusterUpdateHistoryEntries(GetVmClusterUpdateHistoryEntriesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getVmClusterUpdateHistoryEntries:getVmClusterUpdateHistoryEntries
  arguments:
    # arguments dictionaryThe following arguments are supported:
- VmCluster stringId 
- The VM cluster OCID.
- Filters
List<GetVm Cluster Update History Entries Filter> 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- UpdateType string
- A filter to return only resources that match the given update type exactly.
- VmCluster stringId 
- The VM cluster OCID.
- Filters
[]GetVm Cluster Update History Entries Filter 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- UpdateType string
- A filter to return only resources that match the given update type exactly.
- vmCluster StringId 
- The VM cluster OCID.
- filters
List<GetVm Cluster Update History Entries Filter> 
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- updateType String
- A filter to return only resources that match the given update type exactly.
- vmCluster stringId 
- The VM cluster OCID.
- filters
GetVm Cluster Update History Entries Filter[] 
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- updateType string
- A filter to return only resources that match the given update type exactly.
- vm_cluster_ strid 
- The VM cluster OCID.
- filters
Sequence[GetVm Cluster Update History Entries Filter] 
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- update_type str
- A filter to return only resources that match the given update type exactly.
- vmCluster StringId 
- The VM cluster OCID.
- filters List<Property Map>
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- updateType String
- A filter to return only resources that match the given update type exactly.
getVmClusterUpdateHistoryEntries Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- VmCluster stringId 
- VmCluster List<GetUpdate History Entries Vm Cluster Update History Entries Vm Cluster Update History Entry> 
- The list of vm_cluster_update_history_entries.
- Filters
List<GetVm Cluster Update History Entries Filter> 
- State string
- The current lifecycle state of the maintenance update operation.
- UpdateType string
- The type of VM cluster maintenance update.
- Id string
- The provider-assigned unique ID for this managed resource.
- VmCluster stringId 
- VmCluster []GetUpdate History Entries Vm Cluster Update History Entries Vm Cluster Update History Entry 
- The list of vm_cluster_update_history_entries.
- Filters
[]GetVm Cluster Update History Entries Filter 
- State string
- The current lifecycle state of the maintenance update operation.
- UpdateType string
- The type of VM cluster maintenance update.
- id String
- The provider-assigned unique ID for this managed resource.
- vmCluster StringId 
- vmCluster List<GetUpdate History Entries Vm Cluster Update History Entries Vm Cluster Update History Entry> 
- The list of vm_cluster_update_history_entries.
- filters
List<GetVm Cluster Update History Entries Filter> 
- state String
- The current lifecycle state of the maintenance update operation.
- updateType String
- The type of VM cluster maintenance update.
- id string
- The provider-assigned unique ID for this managed resource.
- vmCluster stringId 
- vmCluster GetUpdate History Entries Vm Cluster Update History Entries Vm Cluster Update History Entry[] 
- The list of vm_cluster_update_history_entries.
- filters
GetVm Cluster Update History Entries Filter[] 
- state string
- The current lifecycle state of the maintenance update operation.
- updateType string
- The type of VM cluster maintenance update.
- id str
- The provider-assigned unique ID for this managed resource.
- vm_cluster_ strid 
- vm_cluster_ Sequence[Getupdate_ history_ entries Vm Cluster Update History Entries Vm Cluster Update History Entry] 
- The list of vm_cluster_update_history_entries.
- filters
Sequence[GetVm Cluster Update History Entries Filter] 
- state str
- The current lifecycle state of the maintenance update operation.
- update_type str
- The type of VM cluster maintenance update.
- id String
- The provider-assigned unique ID for this managed resource.
- vmCluster StringId 
- vmCluster List<Property Map>Update History Entries 
- The list of vm_cluster_update_history_entries.
- filters List<Property Map>
- state String
- The current lifecycle state of the maintenance update operation.
- updateType String
- The type of VM cluster maintenance update.
Supporting Types
GetVmClusterUpdateHistoryEntriesFilter      
GetVmClusterUpdateHistoryEntriesVmClusterUpdateHistoryEntry          
- Id string
- The OCID of the maintenance update history entry.
- LifecycleDetails string
- Descriptive text providing additional details about the lifecycle state.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TimeCompleted string
- The date and time when the maintenance update action completed.
- TimeStarted string
- The date and time when the maintenance update action started.
- UpdateAction string
- The update action performed using this maintenance update.
- UpdateId string
- The OCID of the maintenance update.
- UpdateType string
- A filter to return only resources that match the given update type exactly.
- Id string
- The OCID of the maintenance update history entry.
- LifecycleDetails string
- Descriptive text providing additional details about the lifecycle state.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TimeCompleted string
- The date and time when the maintenance update action completed.
- TimeStarted string
- The date and time when the maintenance update action started.
- UpdateAction string
- The update action performed using this maintenance update.
- UpdateId string
- The OCID of the maintenance update.
- UpdateType string
- A filter to return only resources that match the given update type exactly.
- id String
- The OCID of the maintenance update history entry.
- lifecycleDetails String
- Descriptive text providing additional details about the lifecycle state.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- timeCompleted String
- The date and time when the maintenance update action completed.
- timeStarted String
- The date and time when the maintenance update action started.
- updateAction String
- The update action performed using this maintenance update.
- updateId String
- The OCID of the maintenance update.
- updateType String
- A filter to return only resources that match the given update type exactly.
- id string
- The OCID of the maintenance update history entry.
- lifecycleDetails string
- Descriptive text providing additional details about the lifecycle state.
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- timeCompleted string
- The date and time when the maintenance update action completed.
- timeStarted string
- The date and time when the maintenance update action started.
- updateAction string
- The update action performed using this maintenance update.
- updateId string
- The OCID of the maintenance update.
- updateType string
- A filter to return only resources that match the given update type exactly.
- id str
- The OCID of the maintenance update history entry.
- lifecycle_details str
- Descriptive text providing additional details about the lifecycle state.
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- time_completed str
- The date and time when the maintenance update action completed.
- time_started str
- The date and time when the maintenance update action started.
- update_action str
- The update action performed using this maintenance update.
- update_id str
- The OCID of the maintenance update.
- update_type str
- A filter to return only resources that match the given update type exactly.
- id String
- The OCID of the maintenance update history entry.
- lifecycleDetails String
- Descriptive text providing additional details about the lifecycle state.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- timeCompleted String
- The date and time when the maintenance update action completed.
- timeStarted String
- The date and time when the maintenance update action started.
- updateAction String
- The update action performed using this maintenance update.
- updateId String
- The OCID of the maintenance update.
- updateType String
- A filter to return only resources that match the given update type exactly.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.