Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getVmClusterUpdateHistoryEntry
Explore with Pulumi AI
This data source provides details about a specific Vm Cluster Update History Entry resource in Oracle Cloud Infrastructure Database service.
Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud@Customer instances only.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterUpdateHistoryEntry = oci.Database.getVmClusterUpdateHistoryEntry({
    updateHistoryEntryId: testUpdateHistoryEntry.id,
    vmClusterId: testVmCluster.id,
});
import pulumi
import pulumi_oci as oci
test_vm_cluster_update_history_entry = oci.Database.get_vm_cluster_update_history_entry(update_history_entry_id=test_update_history_entry["id"],
    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.GetVmClusterUpdateHistoryEntry(ctx, &database.GetVmClusterUpdateHistoryEntryArgs{
			UpdateHistoryEntryId: testUpdateHistoryEntry.Id,
			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 testVmClusterUpdateHistoryEntry = Oci.Database.GetVmClusterUpdateHistoryEntry.Invoke(new()
    {
        UpdateHistoryEntryId = testUpdateHistoryEntry.Id,
        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.GetVmClusterUpdateHistoryEntryArgs;
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 testVmClusterUpdateHistoryEntry = DatabaseFunctions.getVmClusterUpdateHistoryEntry(GetVmClusterUpdateHistoryEntryArgs.builder()
            .updateHistoryEntryId(testUpdateHistoryEntry.id())
            .vmClusterId(testVmCluster.id())
            .build());
    }
}
variables:
  testVmClusterUpdateHistoryEntry:
    fn::invoke:
      function: oci:Database:getVmClusterUpdateHistoryEntry
      arguments:
        updateHistoryEntryId: ${testUpdateHistoryEntry.id}
        vmClusterId: ${testVmCluster.id}
Using getVmClusterUpdateHistoryEntry
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 getVmClusterUpdateHistoryEntry(args: GetVmClusterUpdateHistoryEntryArgs, opts?: InvokeOptions): Promise<GetVmClusterUpdateHistoryEntryResult>
function getVmClusterUpdateHistoryEntryOutput(args: GetVmClusterUpdateHistoryEntryOutputArgs, opts?: InvokeOptions): Output<GetVmClusterUpdateHistoryEntryResult>def get_vm_cluster_update_history_entry(update_history_entry_id: Optional[str] = None,
                                        vm_cluster_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetVmClusterUpdateHistoryEntryResult
def get_vm_cluster_update_history_entry_output(update_history_entry_id: Optional[pulumi.Input[str]] = None,
                                        vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterUpdateHistoryEntryResult]func GetVmClusterUpdateHistoryEntry(ctx *Context, args *GetVmClusterUpdateHistoryEntryArgs, opts ...InvokeOption) (*GetVmClusterUpdateHistoryEntryResult, error)
func GetVmClusterUpdateHistoryEntryOutput(ctx *Context, args *GetVmClusterUpdateHistoryEntryOutputArgs, opts ...InvokeOption) GetVmClusterUpdateHistoryEntryResultOutput> Note: This function is named GetVmClusterUpdateHistoryEntry in the Go SDK.
public static class GetVmClusterUpdateHistoryEntry 
{
    public static Task<GetVmClusterUpdateHistoryEntryResult> InvokeAsync(GetVmClusterUpdateHistoryEntryArgs args, InvokeOptions? opts = null)
    public static Output<GetVmClusterUpdateHistoryEntryResult> Invoke(GetVmClusterUpdateHistoryEntryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmClusterUpdateHistoryEntryResult> getVmClusterUpdateHistoryEntry(GetVmClusterUpdateHistoryEntryArgs args, InvokeOptions options)
public static Output<GetVmClusterUpdateHistoryEntryResult> getVmClusterUpdateHistoryEntry(GetVmClusterUpdateHistoryEntryArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getVmClusterUpdateHistoryEntry:getVmClusterUpdateHistoryEntry
  arguments:
    # arguments dictionaryThe following arguments are supported:
- UpdateHistory stringEntry Id 
- The OCID of the maintenance update history entry.
- VmCluster stringId 
- The VM cluster OCID.
- UpdateHistory stringEntry Id 
- The OCID of the maintenance update history entry.
- VmCluster stringId 
- The VM cluster OCID.
- updateHistory StringEntry Id 
- The OCID of the maintenance update history entry.
- vmCluster StringId 
- The VM cluster OCID.
- updateHistory stringEntry Id 
- The OCID of the maintenance update history entry.
- vmCluster stringId 
- The VM cluster OCID.
- update_history_ strentry_ id 
- The OCID of the maintenance update history entry.
- vm_cluster_ strid 
- The VM cluster OCID.
- updateHistory StringEntry Id 
- The OCID of the maintenance update history entry.
- vmCluster StringId 
- The VM cluster OCID.
getVmClusterUpdateHistoryEntry Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Descriptive text providing additional details about the lifecycle state.
- State string
- The current lifecycle state of the maintenance update operation.
- 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.
- UpdateHistory stringEntry Id 
- UpdateId string
- The OCID of the maintenance update.
- UpdateType string
- The type of VM cluster maintenance update.
- VmCluster stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Descriptive text providing additional details about the lifecycle state.
- State string
- The current lifecycle state of the maintenance update operation.
- 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.
- UpdateHistory stringEntry Id 
- UpdateId string
- The OCID of the maintenance update.
- UpdateType string
- The type of VM cluster maintenance update.
- VmCluster stringId 
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Descriptive text providing additional details about the lifecycle state.
- state String
- The current lifecycle state of the maintenance update operation.
- 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.
- updateHistory StringEntry Id 
- updateId String
- The OCID of the maintenance update.
- updateType String
- The type of VM cluster maintenance update.
- vmCluster StringId 
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails string
- Descriptive text providing additional details about the lifecycle state.
- state string
- The current lifecycle state of the maintenance update operation.
- 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.
- updateHistory stringEntry Id 
- updateId string
- The OCID of the maintenance update.
- updateType string
- The type of VM cluster maintenance update.
- vmCluster stringId 
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_details str
- Descriptive text providing additional details about the lifecycle state.
- state str
- The current lifecycle state of the maintenance update operation.
- 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_history_ strentry_ id 
- update_id str
- The OCID of the maintenance update.
- update_type str
- The type of VM cluster maintenance update.
- vm_cluster_ strid 
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Descriptive text providing additional details about the lifecycle state.
- state String
- The current lifecycle state of the maintenance update operation.
- 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.
- updateHistory StringEntry Id 
- updateId String
- The OCID of the maintenance update.
- updateType String
- The type of VM cluster maintenance update.
- vmCluster StringId 
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.