Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Database.getExadbVmClusterUpdateHistoryEntries
Explore with Pulumi AI
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:
- Exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Filters
List<Get
Exadb Vm Cluster Update History Entries Filter> - Update
Type string - A filter to return only resources that match the given update type exactly.
- Exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Filters
[]Get
Exadb Vm Cluster Update History Entries Filter - Update
Type string - A filter to return only resources that match the given update type exactly.
- exadb
Vm StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters
List<Get
Exadb Vm Cluster Update History Entries Filter> - update
Type String - A filter to return only resources that match the given update type exactly.
- exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters
Get
Exadb Vm Cluster Update History Entries Filter[] - update
Type string - A filter to return only resources that match the given update type exactly.
- exadb_
vm_ strcluster_ id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters
Sequence[database.
Get Exadb Vm Cluster Update History Entries Filter] - update_
type str - A filter to return only resources that match the given update type exactly.
- exadb
Vm StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters List<Property Map>
- update
Type String - A filter to return only resources that match the given update type exactly.
getExadbVmClusterUpdateHistoryEntries Result
The following output properties are available:
- Exadb
Vm stringCluster Id - Exadb
Vm List<GetCluster Update History Entries Exadb Vm Cluster Update History Entries Exadb Vm Cluster Update History Entry> - The list of exadb_vm_cluster_update_history_entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Exadb Vm Cluster Update History Entries Filter> - Update
Type string - The type of cloud VM cluster maintenance update.
- Exadb
Vm stringCluster Id - Exadb
Vm []GetCluster Update History Entries Exadb Vm Cluster Update History Entries Exadb Vm Cluster Update History Entry - The list of exadb_vm_cluster_update_history_entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Exadb Vm Cluster Update History Entries Filter - Update
Type string - The type of cloud VM cluster maintenance update.
- exadb
Vm StringCluster Id - exadb
Vm List<GetCluster Update History Entries Exadb Vm Cluster Update History Entries Exadb Vm Cluster Update History Entry> - The list of exadb_vm_cluster_update_history_entries.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Exadb Vm Cluster Update History Entries Filter> - update
Type String - The type of cloud VM cluster maintenance update.
- exadb
Vm stringCluster Id - exadb
Vm GetCluster Update History Entries Exadb Vm Cluster Update History Entries Exadb Vm Cluster Update History Entry[] - The list of exadb_vm_cluster_update_history_entries.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Exadb Vm Cluster Update History Entries Filter[] - update
Type string - The type of cloud VM cluster maintenance update.
- exadb_
vm_ strcluster_ id - exadb_
vm_ Sequence[database.cluster_ update_ history_ entries Get Exadb Vm Cluster Update History Entries Exadb Vm Cluster Update History Entry] - The list of exadb_vm_cluster_update_history_entries.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[database.
Get Exadb Vm Cluster Update History Entries Filter] - update_
type str - The type of cloud VM cluster maintenance update.
- exadb
Vm StringCluster Id - exadb
Vm List<Property Map>Cluster Update History Entries - The list of exadb_vm_cluster_update_history_entries.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- update
Type String - The type of cloud VM cluster maintenance update.
Supporting Types
GetExadbVmClusterUpdateHistoryEntriesExadbVmClusterUpdateHistoryEntry
- Id string
- The OCID of the maintenance update history entry.
- Lifecycle
Details string - Descriptive text providing additional details about the lifecycle state.
- State string
- The current lifecycle state of the maintenance update operation.
- Time
Completed string - The date and time when the maintenance update action completed.
- Time
Started string - The date and time when the maintenance update action started.
- Update
Action string - The update action.
- Update
Id string - The OCID of the maintenance update.
- Update
Type 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.
- Lifecycle
Details string - Descriptive text providing additional details about the lifecycle state.
- State string
- The current lifecycle state of the maintenance update operation.
- Time
Completed string - The date and time when the maintenance update action completed.
- Time
Started string - The date and time when the maintenance update action started.
- Update
Action string - The update action.
- Update
Id string - The OCID of the maintenance update.
- Update
Type 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.
- lifecycle
Details String - Descriptive text providing additional details about the lifecycle state.
- state String
- The current lifecycle state of the maintenance update operation.
- time
Completed String - The date and time when the maintenance update action completed.
- time
Started String - The date and time when the maintenance update action started.
- update
Action String - The update action.
- update
Id String - The OCID of the maintenance update.
- update
Type 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.
- lifecycle
Details string - Descriptive text providing additional details about the lifecycle state.
- state string
- The current lifecycle state of the maintenance update operation.
- time
Completed string - The date and time when the maintenance update action completed.
- time
Started string - The date and time when the maintenance update action started.
- update
Action string - The update action.
- update
Id string - The OCID of the maintenance update.
- update
Type 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.
- lifecycle
Details String - Descriptive text providing additional details about the lifecycle state.
- state String
- The current lifecycle state of the maintenance update operation.
- time
Completed String - The date and time when the maintenance update action completed.
- time
Started String - The date and time when the maintenance update action started.
- update
Action String - The update action.
- update
Id String - The OCID of the maintenance update.
- update
Type String - A filter to return only resources that match the given update type exactly.
- version String
- The version of the maintenance update package.
GetExadbVmClusterUpdateHistoryEntriesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.