oci logo
Oracle Cloud Infrastructure v0.7.0, Feb 8 23

oci.Database.getVmClusterUpdateHistoryEntry

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testVmClusterUpdateHistoryEntry = Oci.Database.GetVmClusterUpdateHistoryEntry.Invoke(new()
    {
        UpdateHistoryEntryId = oci_database_update_history_entry.Test_update_history_entry.Id,
        VmClusterId = oci_database_vm_cluster.Test_vm_cluster.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: oci_database_update_history_entry.Test_update_history_entry.Id,
			VmClusterId:          oci_database_vm_cluster.Test_vm_cluster.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(oci_database_update_history_entry.test_update_history_entry().id())
            .vmClusterId(oci_database_vm_cluster.test_vm_cluster().id())
            .build());

    }
}
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=oci_database_update_history_entry["test_update_history_entry"]["id"],
    vm_cluster_id=oci_database_vm_cluster["test_vm_cluster"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testVmClusterUpdateHistoryEntry = oci.Database.getVmClusterUpdateHistoryEntry({
    updateHistoryEntryId: oci_database_update_history_entry.test_update_history_entry.id,
    vmClusterId: oci_database_vm_cluster.test_vm_cluster.id,
});
variables:
  testVmClusterUpdateHistoryEntry:
    fn::invoke:
      Function: oci:Database:getVmClusterUpdateHistoryEntry
      Arguments:
        updateHistoryEntryId: ${oci_database_update_history_entry.test_update_history_entry.id}
        vmClusterId: ${oci_database_vm_cluster.test_vm_cluster.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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Database/getVmClusterUpdateHistoryEntry:getVmClusterUpdateHistoryEntry
  arguments:
    # arguments dictionary

The following arguments are supported:

UpdateHistoryEntryId string

The OCID of the maintenance update history entry.

VmClusterId string

The VM cluster OCID.

UpdateHistoryEntryId string

The OCID of the maintenance update history entry.

VmClusterId string

The VM cluster OCID.

updateHistoryEntryId String

The OCID of the maintenance update history entry.

vmClusterId String

The VM cluster OCID.

updateHistoryEntryId string

The OCID of the maintenance update history entry.

vmClusterId string

The VM cluster OCID.

update_history_entry_id str

The OCID of the maintenance update history entry.

vm_cluster_id str

The VM cluster OCID.

updateHistoryEntryId String

The OCID of the maintenance update history entry.

vmClusterId String

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.

UpdateHistoryEntryId string
UpdateId string

The OCID of the maintenance update.

UpdateType string

The type of VM cluster maintenance update.

VmClusterId string
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.

UpdateHistoryEntryId string
UpdateId string

The OCID of the maintenance update.

UpdateType string

The type of VM cluster maintenance update.

VmClusterId string
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.

updateHistoryEntryId String
updateId String

The OCID of the maintenance update.

updateType String

The type of VM cluster maintenance update.

vmClusterId String
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.

updateHistoryEntryId string
updateId string

The OCID of the maintenance update.

updateType string

The type of VM cluster maintenance update.

vmClusterId string
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_entry_id str
update_id str

The OCID of the maintenance update.

update_type str

The type of VM cluster maintenance update.

vm_cluster_id str
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.

updateHistoryEntryId String
updateId String

The OCID of the maintenance update.

updateType String

The type of VM cluster maintenance update.

vmClusterId String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.