Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Database.getVmClusterPatchHistoryEntry
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 Patch History Entry resource in Oracle Cloud Infrastructure Database service.
Gets the patch history details for the specified patch history entry.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterPatchHistoryEntry = oci.Database.getVmClusterPatchHistoryEntry({
patchHistoryEntryId: testPatchHistoryEntry.id,
vmClusterId: testVmCluster.id,
});
import pulumi
import pulumi_oci as oci
test_vm_cluster_patch_history_entry = oci.Database.get_vm_cluster_patch_history_entry(patch_history_entry_id=test_patch_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.GetVmClusterPatchHistoryEntry(ctx, &database.GetVmClusterPatchHistoryEntryArgs{
PatchHistoryEntryId: testPatchHistoryEntry.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 testVmClusterPatchHistoryEntry = Oci.Database.GetVmClusterPatchHistoryEntry.Invoke(new()
{
PatchHistoryEntryId = testPatchHistoryEntry.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.GetVmClusterPatchHistoryEntryArgs;
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 testVmClusterPatchHistoryEntry = DatabaseFunctions.getVmClusterPatchHistoryEntry(GetVmClusterPatchHistoryEntryArgs.builder()
.patchHistoryEntryId(testPatchHistoryEntry.id())
.vmClusterId(testVmCluster.id())
.build());
}
}
variables:
testVmClusterPatchHistoryEntry:
fn::invoke:
Function: oci:Database:getVmClusterPatchHistoryEntry
Arguments:
patchHistoryEntryId: ${testPatchHistoryEntry.id}
vmClusterId: ${testVmCluster.id}
Using getVmClusterPatchHistoryEntry
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 getVmClusterPatchHistoryEntry(args: GetVmClusterPatchHistoryEntryArgs, opts?: InvokeOptions): Promise<GetVmClusterPatchHistoryEntryResult>
function getVmClusterPatchHistoryEntryOutput(args: GetVmClusterPatchHistoryEntryOutputArgs, opts?: InvokeOptions): Output<GetVmClusterPatchHistoryEntryResult>
def get_vm_cluster_patch_history_entry(patch_history_entry_id: Optional[str] = None,
vm_cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVmClusterPatchHistoryEntryResult
def get_vm_cluster_patch_history_entry_output(patch_history_entry_id: Optional[pulumi.Input[str]] = None,
vm_cluster_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterPatchHistoryEntryResult]
func GetVmClusterPatchHistoryEntry(ctx *Context, args *GetVmClusterPatchHistoryEntryArgs, opts ...InvokeOption) (*GetVmClusterPatchHistoryEntryResult, error)
func GetVmClusterPatchHistoryEntryOutput(ctx *Context, args *GetVmClusterPatchHistoryEntryOutputArgs, opts ...InvokeOption) GetVmClusterPatchHistoryEntryResultOutput
> Note: This function is named GetVmClusterPatchHistoryEntry
in the Go SDK.
public static class GetVmClusterPatchHistoryEntry
{
public static Task<GetVmClusterPatchHistoryEntryResult> InvokeAsync(GetVmClusterPatchHistoryEntryArgs args, InvokeOptions? opts = null)
public static Output<GetVmClusterPatchHistoryEntryResult> Invoke(GetVmClusterPatchHistoryEntryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVmClusterPatchHistoryEntryResult> getVmClusterPatchHistoryEntry(GetVmClusterPatchHistoryEntryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getVmClusterPatchHistoryEntry:getVmClusterPatchHistoryEntry
arguments:
# arguments dictionary
The following arguments are supported:
- Patch
History stringEntry Id - The OCID of the patch history entry.
- Vm
Cluster stringId - The VM cluster OCID.
- Patch
History stringEntry Id - The OCID of the patch history entry.
- Vm
Cluster stringId - The VM cluster OCID.
- patch
History StringEntry Id - The OCID of the patch history entry.
- vm
Cluster StringId - The VM cluster OCID.
- patch
History stringEntry Id - The OCID of the patch history entry.
- vm
Cluster stringId - The VM cluster OCID.
- patch_
history_ strentry_ id - The OCID of the patch history entry.
- vm_
cluster_ strid - The VM cluster OCID.
- patch
History StringEntry Id - The OCID of the patch history entry.
- vm
Cluster StringId - The VM cluster OCID.
getVmClusterPatchHistoryEntry Result
The following output properties are available:
- Action string
- The action being performed or was completed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- Patch
History stringEntry Id - Patch
Id string - The OCID of the patch.
- State string
- The current state of the action.
- Time
Ended string - The date and time when the patch action completed
- Time
Started string - The date and time when the patch action started.
- Vm
Cluster stringId
- Action string
- The action being performed or was completed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- Patch
History stringEntry Id - Patch
Id string - The OCID of the patch.
- State string
- The current state of the action.
- Time
Ended string - The date and time when the patch action completed
- Time
Started string - The date and time when the patch action started.
- Vm
Cluster stringId
- action String
- The action being performed or was completed.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patch
History StringEntry Id - patch
Id String - The OCID of the patch.
- state String
- The current state of the action.
- time
Ended String - The date and time when the patch action completed
- time
Started String - The date and time when the patch action started.
- vm
Cluster StringId
- action string
- The action being performed or was completed.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patch
History stringEntry Id - patch
Id string - The OCID of the patch.
- state string
- The current state of the action.
- time
Ended string - The date and time when the patch action completed
- time
Started string - The date and time when the patch action started.
- vm
Cluster stringId
- action str
- The action being performed or was completed.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patch_
history_ strentry_ id - patch_
id str - The OCID of the patch.
- state str
- The current state of the action.
- time_
ended str - The date and time when the patch action completed
- time_
started str - The date and time when the patch action started.
- vm_
cluster_ strid
- action String
- The action being performed or was completed.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
- patch
History StringEntry Id - patch
Id String - The OCID of the patch.
- state String
- The current state of the action.
- time
Ended String - The date and time when the patch action completed
- time
Started String - The date and time when the patch action started.
- 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