1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getVmClusterPatchHistoryEntries
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Database.getVmClusterPatchHistoryEntries

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

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

Gets the history of the patch actions performed on the specified VM cluster in an Exadata Cloud@Customer system.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testVmClusterPatchHistoryEntries = oci.Database.getVmClusterPatchHistoryEntries({
    vmClusterId: testVmCluster.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_vm_cluster_patch_history_entries = oci.Database.get_vm_cluster_patch_history_entries(vm_cluster_id=test_vm_cluster["id"])
Copy
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.GetVmClusterPatchHistoryEntries(ctx, &database.GetVmClusterPatchHistoryEntriesArgs{
			VmClusterId: testVmCluster.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testVmClusterPatchHistoryEntries = Oci.Database.GetVmClusterPatchHistoryEntries.Invoke(new()
    {
        VmClusterId = testVmCluster.Id,
    });

});
Copy
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.GetVmClusterPatchHistoryEntriesArgs;
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 testVmClusterPatchHistoryEntries = DatabaseFunctions.getVmClusterPatchHistoryEntries(GetVmClusterPatchHistoryEntriesArgs.builder()
            .vmClusterId(testVmCluster.id())
            .build());

    }
}
Copy
variables:
  testVmClusterPatchHistoryEntries:
    fn::invoke:
      function: oci:Database:getVmClusterPatchHistoryEntries
      arguments:
        vmClusterId: ${testVmCluster.id}
Copy

Using getVmClusterPatchHistoryEntries

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 getVmClusterPatchHistoryEntries(args: GetVmClusterPatchHistoryEntriesArgs, opts?: InvokeOptions): Promise<GetVmClusterPatchHistoryEntriesResult>
function getVmClusterPatchHistoryEntriesOutput(args: GetVmClusterPatchHistoryEntriesOutputArgs, opts?: InvokeOptions): Output<GetVmClusterPatchHistoryEntriesResult>
Copy
def get_vm_cluster_patch_history_entries(filters: Optional[Sequence[_database.GetVmClusterPatchHistoryEntriesFilter]] = None,
                                         vm_cluster_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetVmClusterPatchHistoryEntriesResult
def get_vm_cluster_patch_history_entries_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetVmClusterPatchHistoryEntriesFilterArgs]]]] = None,
                                         vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterPatchHistoryEntriesResult]
Copy
func GetVmClusterPatchHistoryEntries(ctx *Context, args *GetVmClusterPatchHistoryEntriesArgs, opts ...InvokeOption) (*GetVmClusterPatchHistoryEntriesResult, error)
func GetVmClusterPatchHistoryEntriesOutput(ctx *Context, args *GetVmClusterPatchHistoryEntriesOutputArgs, opts ...InvokeOption) GetVmClusterPatchHistoryEntriesResultOutput
Copy

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

public static class GetVmClusterPatchHistoryEntries 
{
    public static Task<GetVmClusterPatchHistoryEntriesResult> InvokeAsync(GetVmClusterPatchHistoryEntriesArgs args, InvokeOptions? opts = null)
    public static Output<GetVmClusterPatchHistoryEntriesResult> Invoke(GetVmClusterPatchHistoryEntriesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVmClusterPatchHistoryEntriesResult> getVmClusterPatchHistoryEntries(GetVmClusterPatchHistoryEntriesArgs args, InvokeOptions options)
public static Output<GetVmClusterPatchHistoryEntriesResult> getVmClusterPatchHistoryEntries(GetVmClusterPatchHistoryEntriesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Database/getVmClusterPatchHistoryEntries:getVmClusterPatchHistoryEntries
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

VmClusterId This property is required. string
The VM cluster OCID.
Filters Changes to this property will trigger replacement. List<GetVmClusterPatchHistoryEntriesFilter>
VmClusterId This property is required. string
The VM cluster OCID.
Filters Changes to this property will trigger replacement. []GetVmClusterPatchHistoryEntriesFilter
vmClusterId This property is required. String
The VM cluster OCID.
filters Changes to this property will trigger replacement. List<GetVmClusterPatchHistoryEntriesFilter>
vmClusterId This property is required. string
The VM cluster OCID.
filters Changes to this property will trigger replacement. GetVmClusterPatchHistoryEntriesFilter[]
vm_cluster_id This property is required. str
The VM cluster OCID.
filters Changes to this property will trigger replacement. Sequence[database.GetVmClusterPatchHistoryEntriesFilter]
vmClusterId This property is required. String
The VM cluster OCID.
filters Changes to this property will trigger replacement. List<Property Map>

getVmClusterPatchHistoryEntries Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
PatchHistoryEntries List<GetVmClusterPatchHistoryEntriesPatchHistoryEntry>
The list of patch_history_entries.
VmClusterId string
Filters List<GetVmClusterPatchHistoryEntriesFilter>
Id string
The provider-assigned unique ID for this managed resource.
PatchHistoryEntries []GetVmClusterPatchHistoryEntriesPatchHistoryEntry
The list of patch_history_entries.
VmClusterId string
Filters []GetVmClusterPatchHistoryEntriesFilter
id String
The provider-assigned unique ID for this managed resource.
patchHistoryEntries List<GetVmClusterPatchHistoryEntriesPatchHistoryEntry>
The list of patch_history_entries.
vmClusterId String
filters List<GetVmClusterPatchHistoryEntriesFilter>
id string
The provider-assigned unique ID for this managed resource.
patchHistoryEntries GetVmClusterPatchHistoryEntriesPatchHistoryEntry[]
The list of patch_history_entries.
vmClusterId string
filters GetVmClusterPatchHistoryEntriesFilter[]
id String
The provider-assigned unique ID for this managed resource.
patchHistoryEntries List<Property Map>
The list of patch_history_entries.
vmClusterId String
filters List<Property Map>

Supporting Types

GetVmClusterPatchHistoryEntriesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetVmClusterPatchHistoryEntriesPatchHistoryEntry

Action This property is required. string
The action being performed or was completed.
Id This property is required. string
The OCID of the patch history entry.
LifecycleDetails This property is required. string
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
PatchId This property is required. string
The OCID of the patch.
State This property is required. string
The current state of the action.
TimeEnded This property is required. string
The date and time when the patch action completed
TimeStarted This property is required. string
The date and time when the patch action started.
Action This property is required. string
The action being performed or was completed.
Id This property is required. string
The OCID of the patch history entry.
LifecycleDetails This property is required. string
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
PatchId This property is required. string
The OCID of the patch.
State This property is required. string
The current state of the action.
TimeEnded This property is required. string
The date and time when the patch action completed
TimeStarted This property is required. string
The date and time when the patch action started.
action This property is required. String
The action being performed or was completed.
id This property is required. String
The OCID of the patch history entry.
lifecycleDetails This property is required. String
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
patchId This property is required. String
The OCID of the patch.
state This property is required. String
The current state of the action.
timeEnded This property is required. String
The date and time when the patch action completed
timeStarted This property is required. String
The date and time when the patch action started.
action This property is required. string
The action being performed or was completed.
id This property is required. string
The OCID of the patch history entry.
lifecycleDetails This property is required. string
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
patchId This property is required. string
The OCID of the patch.
state This property is required. string
The current state of the action.
timeEnded This property is required. string
The date and time when the patch action completed
timeStarted This property is required. string
The date and time when the patch action started.
action This property is required. str
The action being performed or was completed.
id This property is required. str
The OCID of the patch history entry.
lifecycle_details This property is required. str
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
patch_id This property is required. str
The OCID of the patch.
state This property is required. str
The current state of the action.
time_ended This property is required. str
The date and time when the patch action completed
time_started This property is required. str
The date and time when the patch action started.
action This property is required. String
The action being performed or was completed.
id This property is required. String
The OCID of the patch history entry.
lifecycleDetails This property is required. String
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
patchId This property is required. String
The OCID of the patch.
state This property is required. String
The current state of the action.
timeEnded This property is required. String
The date and time when the patch action completed
timeStarted This property is required. String
The date and time when the patch action started.

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 v2.30.0 published on Monday, Apr 14, 2025 by Pulumi