Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Database.getVmClusterUpdateHistoryEntry
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterUpdateHistoryEntry = oci.Database.getVmClusterUpdateHistoryEntry({
updateHistoryEntryId: testUpdateHistoryEntry.id,
vmClusterId: testVmCluster.id,
});
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=test_update_history_entry["id"],
vm_cluster_id=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: testUpdateHistoryEntry.Id,
VmClusterId: testVmCluster.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 testVmClusterUpdateHistoryEntry = Oci.Database.GetVmClusterUpdateHistoryEntry.Invoke(new()
{
UpdateHistoryEntryId = testUpdateHistoryEntry.Id,
VmClusterId = testVmCluster.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.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(testUpdateHistoryEntry.id())
.vmClusterId(testVmCluster.id())
.build());
}
}
variables:
testVmClusterUpdateHistoryEntry:
fn::invoke:
Function: oci:Database:getVmClusterUpdateHistoryEntry
Arguments:
updateHistoryEntryId: ${testUpdateHistoryEntry.id}
vmClusterId: ${testVmCluster.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:
- Update
History stringEntry Id - The OCID of the maintenance update history entry.
- Vm
Cluster stringId - The VM cluster OCID.
- Update
History stringEntry Id - The OCID of the maintenance update history entry.
- Vm
Cluster stringId - The VM cluster OCID.
- update
History StringEntry Id - The OCID of the maintenance update history entry.
- vm
Cluster StringId - The VM cluster OCID.
- update
History stringEntry Id - The OCID of the maintenance update history entry.
- vm
Cluster stringId - The VM cluster OCID.
- update_
history_ strentry_ id - The OCID of the maintenance update history entry.
- vm_
cluster_ strid - The VM cluster OCID.
- update
History StringEntry Id - The OCID of the maintenance update history entry.
- vm
Cluster StringId - The VM cluster OCID.
getVmClusterUpdateHistoryEntry Result
The following output properties are available:
- 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 performed using this maintenance update.
- Update
History stringEntry Id - Update
Id string - The OCID of the maintenance update.
- Update
Type string - The type of VM cluster maintenance update.
- Vm
Cluster stringId
- 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 performed using this maintenance update.
- Update
History stringEntry Id - Update
Id string - The OCID of the maintenance update.
- Update
Type string - The type of VM cluster maintenance update.
- Vm
Cluster stringId
- 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 performed using this maintenance update.
- update
History StringEntry Id - update
Id String - The OCID of the maintenance update.
- update
Type String - The type of VM cluster maintenance update.
- vm
Cluster StringId
- 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 performed using this maintenance update.
- update
History stringEntry Id - update
Id string - The OCID of the maintenance update.
- update
Type string - The type of VM cluster maintenance update.
- vm
Cluster stringId
- 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_ strentry_ id - update_
id str - The OCID of the maintenance update.
- update_
type str - The type of VM cluster maintenance update.
- vm_
cluster_ strid
- 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 performed using this maintenance update.
- update
History StringEntry Id - update
Id String - The OCID of the maintenance update.
- update
Type String - The type of VM cluster maintenance update.
- vm
Cluster StringId
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi