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

oci.Database.getExadbVmClusterUpdateHistoryEntries

Explore with Pulumi AI

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

    This data source provides the list of Exadb Vm Cluster Update History Entries in Oracle Cloud Infrastructure Database service.

    Gets the history of the maintenance update actions performed on the specified Exadata VM cluster on Exascale Infrastructure.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExadbVmClusterUpdateHistoryEntries = oci.Database.getExadbVmClusterUpdateHistoryEntries({
        exadbVmClusterId: testExadbVmCluster.id,
        updateType: exadbVmClusterUpdateHistoryEntryUpdateType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_exadb_vm_cluster_update_history_entries = oci.Database.get_exadb_vm_cluster_update_history_entries(exadb_vm_cluster_id=test_exadb_vm_cluster["id"],
        update_type=exadb_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.GetExadbVmClusterUpdateHistoryEntries(ctx, &database.GetExadbVmClusterUpdateHistoryEntriesArgs{
    			ExadbVmClusterId: testExadbVmCluster.Id,
    			UpdateType:       pulumi.StringRef(exadbVmClusterUpdateHistoryEntryUpdateType),
    		}, 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 testExadbVmClusterUpdateHistoryEntries = Oci.Database.GetExadbVmClusterUpdateHistoryEntries.Invoke(new()
        {
            ExadbVmClusterId = testExadbVmCluster.Id,
            UpdateType = exadbVmClusterUpdateHistoryEntryUpdateType,
        });
    
    });
    
    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.GetExadbVmClusterUpdateHistoryEntriesArgs;
    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 testExadbVmClusterUpdateHistoryEntries = DatabaseFunctions.getExadbVmClusterUpdateHistoryEntries(GetExadbVmClusterUpdateHistoryEntriesArgs.builder()
                .exadbVmClusterId(testExadbVmCluster.id())
                .updateType(exadbVmClusterUpdateHistoryEntryUpdateType)
                .build());
    
        }
    }
    
    variables:
      testExadbVmClusterUpdateHistoryEntries:
        fn::invoke:
          Function: oci:Database:getExadbVmClusterUpdateHistoryEntries
          Arguments:
            exadbVmClusterId: ${testExadbVmCluster.id}
            updateType: ${exadbVmClusterUpdateHistoryEntryUpdateType}
    

    Using getExadbVmClusterUpdateHistoryEntries

    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 getExadbVmClusterUpdateHistoryEntries(args: GetExadbVmClusterUpdateHistoryEntriesArgs, opts?: InvokeOptions): Promise<GetExadbVmClusterUpdateHistoryEntriesResult>
    function getExadbVmClusterUpdateHistoryEntriesOutput(args: GetExadbVmClusterUpdateHistoryEntriesOutputArgs, opts?: InvokeOptions): Output<GetExadbVmClusterUpdateHistoryEntriesResult>
    def get_exadb_vm_cluster_update_history_entries(exadb_vm_cluster_id: Optional[str] = None,
                                                    filters: Optional[Sequence[_database.GetExadbVmClusterUpdateHistoryEntriesFilter]] = None,
                                                    update_type: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetExadbVmClusterUpdateHistoryEntriesResult
    def get_exadb_vm_cluster_update_history_entries_output(exadb_vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetExadbVmClusterUpdateHistoryEntriesFilterArgs]]]] = None,
                                                    update_type: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetExadbVmClusterUpdateHistoryEntriesResult]
    func GetExadbVmClusterUpdateHistoryEntries(ctx *Context, args *GetExadbVmClusterUpdateHistoryEntriesArgs, opts ...InvokeOption) (*GetExadbVmClusterUpdateHistoryEntriesResult, error)
    func GetExadbVmClusterUpdateHistoryEntriesOutput(ctx *Context, args *GetExadbVmClusterUpdateHistoryEntriesOutputArgs, opts ...InvokeOption) GetExadbVmClusterUpdateHistoryEntriesResultOutput

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

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

    The following arguments are supported:

    ExadbVmClusterId string
    The Exadata VM cluster OCID on Exascale Infrastructure.
    Filters List<GetExadbVmClusterUpdateHistoryEntriesFilter>
    UpdateType string
    A filter to return only resources that match the given update type exactly.
    ExadbVmClusterId string
    The Exadata VM cluster OCID on Exascale Infrastructure.
    Filters []GetExadbVmClusterUpdateHistoryEntriesFilter
    UpdateType string
    A filter to return only resources that match the given update type exactly.
    exadbVmClusterId String
    The Exadata VM cluster OCID on Exascale Infrastructure.
    filters List<GetExadbVmClusterUpdateHistoryEntriesFilter>
    updateType String
    A filter to return only resources that match the given update type exactly.
    exadbVmClusterId string
    The Exadata VM cluster OCID on Exascale Infrastructure.
    filters GetExadbVmClusterUpdateHistoryEntriesFilter[]
    updateType string
    A filter to return only resources that match the given update type exactly.
    exadb_vm_cluster_id str
    The Exadata VM cluster OCID on Exascale Infrastructure.
    filters Sequence[database.GetExadbVmClusterUpdateHistoryEntriesFilter]
    update_type str
    A filter to return only resources that match the given update type exactly.
    exadbVmClusterId String
    The Exadata VM cluster OCID on Exascale Infrastructure.
    filters List<Property Map>
    updateType String
    A filter to return only resources that match the given update type exactly.

    getExadbVmClusterUpdateHistoryEntries Result

    The following output properties are available:

    ExadbVmClusterId string
    ExadbVmClusterUpdateHistoryEntries List<GetExadbVmClusterUpdateHistoryEntriesExadbVmClusterUpdateHistoryEntry>
    The list of exadb_vm_cluster_update_history_entries.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetExadbVmClusterUpdateHistoryEntriesFilter>
    UpdateType string
    The type of cloud VM cluster maintenance update.
    ExadbVmClusterId string
    ExadbVmClusterUpdateHistoryEntries []GetExadbVmClusterUpdateHistoryEntriesExadbVmClusterUpdateHistoryEntry
    The list of exadb_vm_cluster_update_history_entries.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetExadbVmClusterUpdateHistoryEntriesFilter
    UpdateType string
    The type of cloud VM cluster maintenance update.
    exadbVmClusterId String
    exadbVmClusterUpdateHistoryEntries List<GetExadbVmClusterUpdateHistoryEntriesExadbVmClusterUpdateHistoryEntry>
    The list of exadb_vm_cluster_update_history_entries.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetExadbVmClusterUpdateHistoryEntriesFilter>
    updateType String
    The type of cloud VM cluster maintenance update.
    exadbVmClusterId string
    exadbVmClusterUpdateHistoryEntries GetExadbVmClusterUpdateHistoryEntriesExadbVmClusterUpdateHistoryEntry[]
    The list of exadb_vm_cluster_update_history_entries.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetExadbVmClusterUpdateHistoryEntriesFilter[]
    updateType string
    The type of cloud VM cluster maintenance update.
    exadb_vm_cluster_id str
    exadb_vm_cluster_update_history_entries Sequence[database.GetExadbVmClusterUpdateHistoryEntriesExadbVmClusterUpdateHistoryEntry]
    The list of exadb_vm_cluster_update_history_entries.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[database.GetExadbVmClusterUpdateHistoryEntriesFilter]
    update_type str
    The type of cloud VM cluster maintenance update.
    exadbVmClusterId String
    exadbVmClusterUpdateHistoryEntries List<Property Map>
    The list of exadb_vm_cluster_update_history_entries.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    updateType String
    The type of cloud VM cluster maintenance update.

    Supporting Types

    GetExadbVmClusterUpdateHistoryEntriesExadbVmClusterUpdateHistoryEntry

    Id string
    The OCID of the maintenance update history entry.
    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.
    UpdateId string
    The OCID of the maintenance update.
    UpdateType string
    A filter to return only resources that match the given update type exactly.
    Version string
    The version of the maintenance update package.
    Id string
    The OCID of the maintenance update history entry.
    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.
    UpdateId string
    The OCID of the maintenance update.
    UpdateType string
    A filter to return only resources that match the given update type exactly.
    Version string
    The version of the maintenance update package.
    id String
    The OCID of the maintenance update history entry.
    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.
    updateId String
    The OCID of the maintenance update.
    updateType String
    A filter to return only resources that match the given update type exactly.
    version String
    The version of the maintenance update package.
    id string
    The OCID of the maintenance update history entry.
    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.
    updateId string
    The OCID of the maintenance update.
    updateType string
    A filter to return only resources that match the given update type exactly.
    version string
    The version of the maintenance update package.
    id str
    The OCID of the maintenance update history entry.
    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_id str
    The OCID of the maintenance update.
    update_type str
    A filter to return only resources that match the given update type exactly.
    version str
    The version of the maintenance update package.
    id String
    The OCID of the maintenance update history entry.
    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.
    updateId String
    The OCID of the maintenance update.
    updateType String
    A filter to return only resources that match the given update type exactly.
    version String
    The version of the maintenance update package.

    GetExadbVmClusterUpdateHistoryEntriesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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