1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getExadbVmClusterUpdateHistoryEntry
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Database.getExadbVmClusterUpdateHistoryEntry

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides details about a specific Exadb Vm Cluster Update History Entry resource in Oracle Cloud Infrastructure Database service.

    Gets the maintenance update history details for the specified update history entry.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExadbVmClusterUpdateHistoryEntry = oci.Database.getExadbVmClusterUpdateHistoryEntry({
        exadbVmClusterId: testExadbVmCluster.id,
        updateHistoryEntryId: testUpdateHistoryEntry.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_exadb_vm_cluster_update_history_entry = oci.Database.get_exadb_vm_cluster_update_history_entry(exadb_vm_cluster_id=test_exadb_vm_cluster["id"],
        update_history_entry_id=test_update_history_entry["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.GetExadbVmClusterUpdateHistoryEntry(ctx, &database.GetExadbVmClusterUpdateHistoryEntryArgs{
    			ExadbVmClusterId:     testExadbVmCluster.Id,
    			UpdateHistoryEntryId: testUpdateHistoryEntry.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 testExadbVmClusterUpdateHistoryEntry = Oci.Database.GetExadbVmClusterUpdateHistoryEntry.Invoke(new()
        {
            ExadbVmClusterId = testExadbVmCluster.Id,
            UpdateHistoryEntryId = testUpdateHistoryEntry.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.GetExadbVmClusterUpdateHistoryEntryArgs;
    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 testExadbVmClusterUpdateHistoryEntry = DatabaseFunctions.getExadbVmClusterUpdateHistoryEntry(GetExadbVmClusterUpdateHistoryEntryArgs.builder()
                .exadbVmClusterId(testExadbVmCluster.id())
                .updateHistoryEntryId(testUpdateHistoryEntry.id())
                .build());
    
        }
    }
    
    variables:
      testExadbVmClusterUpdateHistoryEntry:
        fn::invoke:
          Function: oci:Database:getExadbVmClusterUpdateHistoryEntry
          Arguments:
            exadbVmClusterId: ${testExadbVmCluster.id}
            updateHistoryEntryId: ${testUpdateHistoryEntry.id}
    

    Using getExadbVmClusterUpdateHistoryEntry

    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 getExadbVmClusterUpdateHistoryEntry(args: GetExadbVmClusterUpdateHistoryEntryArgs, opts?: InvokeOptions): Promise<GetExadbVmClusterUpdateHistoryEntryResult>
    function getExadbVmClusterUpdateHistoryEntryOutput(args: GetExadbVmClusterUpdateHistoryEntryOutputArgs, opts?: InvokeOptions): Output<GetExadbVmClusterUpdateHistoryEntryResult>
    def get_exadb_vm_cluster_update_history_entry(exadb_vm_cluster_id: Optional[str] = None,
                                                  update_history_entry_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetExadbVmClusterUpdateHistoryEntryResult
    def get_exadb_vm_cluster_update_history_entry_output(exadb_vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                                  update_history_entry_id: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetExadbVmClusterUpdateHistoryEntryResult]
    func GetExadbVmClusterUpdateHistoryEntry(ctx *Context, args *GetExadbVmClusterUpdateHistoryEntryArgs, opts ...InvokeOption) (*GetExadbVmClusterUpdateHistoryEntryResult, error)
    func GetExadbVmClusterUpdateHistoryEntryOutput(ctx *Context, args *GetExadbVmClusterUpdateHistoryEntryOutputArgs, opts ...InvokeOption) GetExadbVmClusterUpdateHistoryEntryResultOutput

    > Note: This function is named GetExadbVmClusterUpdateHistoryEntry in the Go SDK.

    public static class GetExadbVmClusterUpdateHistoryEntry 
    {
        public static Task<GetExadbVmClusterUpdateHistoryEntryResult> InvokeAsync(GetExadbVmClusterUpdateHistoryEntryArgs args, InvokeOptions? opts = null)
        public static Output<GetExadbVmClusterUpdateHistoryEntryResult> Invoke(GetExadbVmClusterUpdateHistoryEntryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExadbVmClusterUpdateHistoryEntryResult> getExadbVmClusterUpdateHistoryEntry(GetExadbVmClusterUpdateHistoryEntryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getExadbVmClusterUpdateHistoryEntry:getExadbVmClusterUpdateHistoryEntry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExadbVmClusterId string
    The Exadata VM cluster OCID on Exascale Infrastructure.
    UpdateHistoryEntryId string
    The OCID of the maintenance update history entry.
    ExadbVmClusterId string
    The Exadata VM cluster OCID on Exascale Infrastructure.
    UpdateHistoryEntryId string
    The OCID of the maintenance update history entry.
    exadbVmClusterId String
    The Exadata VM cluster OCID on Exascale Infrastructure.
    updateHistoryEntryId String
    The OCID of the maintenance update history entry.
    exadbVmClusterId string
    The Exadata VM cluster OCID on Exascale Infrastructure.
    updateHistoryEntryId string
    The OCID of the maintenance update history entry.
    exadb_vm_cluster_id str
    The Exadata VM cluster OCID on Exascale Infrastructure.
    update_history_entry_id str
    The OCID of the maintenance update history entry.
    exadbVmClusterId String
    The Exadata VM cluster OCID on Exascale Infrastructure.
    updateHistoryEntryId String
    The OCID of the maintenance update history entry.

    getExadbVmClusterUpdateHistoryEntry Result

    The following output properties are available:

    ExadbVmClusterId 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.
    UpdateHistoryEntryId string
    UpdateId string
    The OCID of the maintenance update.
    UpdateType string
    The type of cloud VM cluster maintenance update.
    Version string
    The version of the maintenance update package.
    ExadbVmClusterId 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.
    UpdateHistoryEntryId string
    UpdateId string
    The OCID of the maintenance update.
    UpdateType string
    The type of cloud VM cluster maintenance update.
    Version string
    The version of the maintenance update package.
    exadbVmClusterId 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.
    updateHistoryEntryId String
    updateId String
    The OCID of the maintenance update.
    updateType String
    The type of cloud VM cluster maintenance update.
    version String
    The version of the maintenance update package.
    exadbVmClusterId 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.
    updateHistoryEntryId string
    updateId string
    The OCID of the maintenance update.
    updateType string
    The type of cloud VM cluster maintenance update.
    version string
    The version of the maintenance update package.
    exadb_vm_cluster_id str
    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.
    update_history_entry_id str
    update_id str
    The OCID of the maintenance update.
    update_type str
    The type of cloud VM cluster maintenance update.
    version str
    The version of the maintenance update package.
    exadbVmClusterId 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.
    updateHistoryEntryId String
    updateId String
    The OCID of the maintenance update.
    updateType String
    The type of cloud VM cluster maintenance update.
    version String
    The version of the maintenance update package.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi