Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Database.getExadbVmClusterUpdateHistoryEntry
Explore with Pulumi AI
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:
- Exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Update
History stringEntry Id - The OCID of the maintenance update history entry.
- Exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Update
History stringEntry Id - The OCID of the maintenance update history entry.
- exadb
Vm StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update
History StringEntry Id - The OCID of the maintenance update history entry.
- exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update
History stringEntry Id - The OCID of the maintenance update history entry.
- exadb_
vm_ strcluster_ id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update_
history_ strentry_ id - The OCID of the maintenance update history entry.
- exadb
Vm StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update
History StringEntry Id - The OCID of the maintenance update history entry.
getExadbVmClusterUpdateHistoryEntry Result
The following output properties are available:
- Exadb
Vm stringCluster Id - Id string
- The provider-assigned unique ID for this managed resource.
- 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
History stringEntry Id - Update
Id string - The OCID of the maintenance update.
- Update
Type string - The type of cloud VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- Exadb
Vm stringCluster Id - Id string
- The provider-assigned unique ID for this managed resource.
- 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
History stringEntry Id - Update
Id string - The OCID of the maintenance update.
- Update
Type string - The type of cloud VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- exadb
Vm StringCluster Id - id String
- The provider-assigned unique ID for this managed resource.
- 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
History StringEntry Id - update
Id String - The OCID of the maintenance update.
- update
Type String - The type of cloud VM cluster maintenance update.
- version String
- The version of the maintenance update package.
- exadb
Vm stringCluster Id - id string
- The provider-assigned unique ID for this managed resource.
- 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
History stringEntry Id - update
Id string - The OCID of the maintenance update.
- update
Type string - The type of cloud VM cluster maintenance update.
- version string
- The version of the maintenance update package.
- exadb_
vm_ strcluster_ id - 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_ strentry_ id - 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.
- exadb
Vm StringCluster Id - id String
- The provider-assigned unique ID for this managed resource.
- 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
History StringEntry Id - update
Id String - The OCID of the maintenance update.
- update
Type 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.