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

oci.Database.getExadbVmClusterUpdates

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 Exadb Vm Cluster Updates in Oracle Cloud Infrastructure Database service.

Lists the maintenance updates that can be applied to the specified Exadata VM cluster on Exascale Infrastructure.

Example Usage

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

const testExadbVmClusterUpdates = oci.Database.getExadbVmClusterUpdates({
    exadbVmClusterId: testExadbVmCluster.id,
    updateType: exadbVmClusterUpdateUpdateType,
    version: exadbVmClusterUpdateVersion,
});
Copy
import pulumi
import pulumi_oci as oci

test_exadb_vm_cluster_updates = oci.Database.get_exadb_vm_cluster_updates(exadb_vm_cluster_id=test_exadb_vm_cluster["id"],
    update_type=exadb_vm_cluster_update_update_type,
    version=exadb_vm_cluster_update_version)
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.GetExadbVmClusterUpdates(ctx, &database.GetExadbVmClusterUpdatesArgs{
			ExadbVmClusterId: testExadbVmCluster.Id,
			UpdateType:       pulumi.StringRef(exadbVmClusterUpdateUpdateType),
			Version:          pulumi.StringRef(exadbVmClusterUpdateVersion),
		}, 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 testExadbVmClusterUpdates = Oci.Database.GetExadbVmClusterUpdates.Invoke(new()
    {
        ExadbVmClusterId = testExadbVmCluster.Id,
        UpdateType = exadbVmClusterUpdateUpdateType,
        Version = exadbVmClusterUpdateVersion,
    });

});
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.GetExadbVmClusterUpdatesArgs;
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 testExadbVmClusterUpdates = DatabaseFunctions.getExadbVmClusterUpdates(GetExadbVmClusterUpdatesArgs.builder()
            .exadbVmClusterId(testExadbVmCluster.id())
            .updateType(exadbVmClusterUpdateUpdateType)
            .version(exadbVmClusterUpdateVersion)
            .build());

    }
}
Copy
variables:
  testExadbVmClusterUpdates:
    fn::invoke:
      function: oci:Database:getExadbVmClusterUpdates
      arguments:
        exadbVmClusterId: ${testExadbVmCluster.id}
        updateType: ${exadbVmClusterUpdateUpdateType}
        version: ${exadbVmClusterUpdateVersion}
Copy

Using getExadbVmClusterUpdates

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 getExadbVmClusterUpdates(args: GetExadbVmClusterUpdatesArgs, opts?: InvokeOptions): Promise<GetExadbVmClusterUpdatesResult>
function getExadbVmClusterUpdatesOutput(args: GetExadbVmClusterUpdatesOutputArgs, opts?: InvokeOptions): Output<GetExadbVmClusterUpdatesResult>
Copy
def get_exadb_vm_cluster_updates(exadb_vm_cluster_id: Optional[str] = None,
                                 filters: Optional[Sequence[_database.GetExadbVmClusterUpdatesFilter]] = None,
                                 update_type: Optional[str] = None,
                                 version: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetExadbVmClusterUpdatesResult
def get_exadb_vm_cluster_updates_output(exadb_vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetExadbVmClusterUpdatesFilterArgs]]]] = None,
                                 update_type: Optional[pulumi.Input[str]] = None,
                                 version: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetExadbVmClusterUpdatesResult]
Copy
func GetExadbVmClusterUpdates(ctx *Context, args *GetExadbVmClusterUpdatesArgs, opts ...InvokeOption) (*GetExadbVmClusterUpdatesResult, error)
func GetExadbVmClusterUpdatesOutput(ctx *Context, args *GetExadbVmClusterUpdatesOutputArgs, opts ...InvokeOption) GetExadbVmClusterUpdatesResultOutput
Copy

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

public static class GetExadbVmClusterUpdates 
{
    public static Task<GetExadbVmClusterUpdatesResult> InvokeAsync(GetExadbVmClusterUpdatesArgs args, InvokeOptions? opts = null)
    public static Output<GetExadbVmClusterUpdatesResult> Invoke(GetExadbVmClusterUpdatesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetExadbVmClusterUpdatesResult> getExadbVmClusterUpdates(GetExadbVmClusterUpdatesArgs args, InvokeOptions options)
public static Output<GetExadbVmClusterUpdatesResult> getExadbVmClusterUpdates(GetExadbVmClusterUpdatesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Database/getExadbVmClusterUpdates:getExadbVmClusterUpdates
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ExadbVmClusterId This property is required. string
The Exadata VM cluster OCID on Exascale Infrastructure.
Filters Changes to this property will trigger replacement. List<GetExadbVmClusterUpdatesFilter>
UpdateType string
A filter to return only resources that match the given update type exactly.
Version string
A filter to return only resources that match the given update version exactly.
ExadbVmClusterId This property is required. string
The Exadata VM cluster OCID on Exascale Infrastructure.
Filters Changes to this property will trigger replacement. []GetExadbVmClusterUpdatesFilter
UpdateType string
A filter to return only resources that match the given update type exactly.
Version string
A filter to return only resources that match the given update version exactly.
exadbVmClusterId This property is required. String
The Exadata VM cluster OCID on Exascale Infrastructure.
filters Changes to this property will trigger replacement. List<GetExadbVmClusterUpdatesFilter>
updateType String
A filter to return only resources that match the given update type exactly.
version String
A filter to return only resources that match the given update version exactly.
exadbVmClusterId This property is required. string
The Exadata VM cluster OCID on Exascale Infrastructure.
filters Changes to this property will trigger replacement. GetExadbVmClusterUpdatesFilter[]
updateType string
A filter to return only resources that match the given update type exactly.
version string
A filter to return only resources that match the given update version exactly.
exadb_vm_cluster_id This property is required. str
The Exadata VM cluster OCID on Exascale Infrastructure.
filters Changes to this property will trigger replacement. Sequence[database.GetExadbVmClusterUpdatesFilter]
update_type str
A filter to return only resources that match the given update type exactly.
version str
A filter to return only resources that match the given update version exactly.
exadbVmClusterId This property is required. String
The Exadata VM cluster OCID on Exascale Infrastructure.
filters Changes to this property will trigger replacement. List<Property Map>
updateType String
A filter to return only resources that match the given update type exactly.
version String
A filter to return only resources that match the given update version exactly.

getExadbVmClusterUpdates Result

The following output properties are available:

ExadbVmClusterId string
ExadbVmClusterUpdates List<GetExadbVmClusterUpdatesExadbVmClusterUpdate>
The list of exadb_vm_cluster_updates.
Id string
The provider-assigned unique ID for this managed resource.
Filters List<GetExadbVmClusterUpdatesFilter>
UpdateType string
The type of cloud VM cluster maintenance update.
Version string
The version of the maintenance update package.
ExadbVmClusterId string
ExadbVmClusterUpdates []GetExadbVmClusterUpdatesExadbVmClusterUpdate
The list of exadb_vm_cluster_updates.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetExadbVmClusterUpdatesFilter
UpdateType string
The type of cloud VM cluster maintenance update.
Version string
The version of the maintenance update package.
exadbVmClusterId String
exadbVmClusterUpdates List<GetExadbVmClusterUpdatesExadbVmClusterUpdate>
The list of exadb_vm_cluster_updates.
id String
The provider-assigned unique ID for this managed resource.
filters List<GetExadbVmClusterUpdatesFilter>
updateType String
The type of cloud VM cluster maintenance update.
version String
The version of the maintenance update package.
exadbVmClusterId string
exadbVmClusterUpdates GetExadbVmClusterUpdatesExadbVmClusterUpdate[]
The list of exadb_vm_cluster_updates.
id string
The provider-assigned unique ID for this managed resource.
filters GetExadbVmClusterUpdatesFilter[]
updateType string
The type of cloud VM cluster maintenance update.
version string
The version of the maintenance update package.
exadb_vm_cluster_id str
exadb_vm_cluster_updates Sequence[database.GetExadbVmClusterUpdatesExadbVmClusterUpdate]
The list of exadb_vm_cluster_updates.
id str
The provider-assigned unique ID for this managed resource.
filters Sequence[database.GetExadbVmClusterUpdatesFilter]
update_type str
The type of cloud VM cluster maintenance update.
version str
The version of the maintenance update package.
exadbVmClusterId String
exadbVmClusterUpdates List<Property Map>
The list of exadb_vm_cluster_updates.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>
updateType String
The type of cloud VM cluster maintenance update.
version String
The version of the maintenance update package.

Supporting Types

GetExadbVmClusterUpdatesExadbVmClusterUpdate

AvailableActions This property is required. List<string>
The possible actions performed by the update operation on the infrastructure components.
Description This property is required. string
Details of the maintenance update package.
Id This property is required. string
The OCID of the maintenance update.
LastAction This property is required. string
The previous update action performed.
LifecycleDetails This property is required. string
Descriptive text providing additional details about the lifecycle state.
State This property is required. string
The current state of the maintenance update. Dependent on value of lastAction.
TimeReleased This property is required. string
The date and time the maintenance update was released.
UpdateType This property is required. string
A filter to return only resources that match the given update type exactly.
Version This property is required. string
A filter to return only resources that match the given update version exactly.
AvailableActions This property is required. []string
The possible actions performed by the update operation on the infrastructure components.
Description This property is required. string
Details of the maintenance update package.
Id This property is required. string
The OCID of the maintenance update.
LastAction This property is required. string
The previous update action performed.
LifecycleDetails This property is required. string
Descriptive text providing additional details about the lifecycle state.
State This property is required. string
The current state of the maintenance update. Dependent on value of lastAction.
TimeReleased This property is required. string
The date and time the maintenance update was released.
UpdateType This property is required. string
A filter to return only resources that match the given update type exactly.
Version This property is required. string
A filter to return only resources that match the given update version exactly.
availableActions This property is required. List<String>
The possible actions performed by the update operation on the infrastructure components.
description This property is required. String
Details of the maintenance update package.
id This property is required. String
The OCID of the maintenance update.
lastAction This property is required. String
The previous update action performed.
lifecycleDetails This property is required. String
Descriptive text providing additional details about the lifecycle state.
state This property is required. String
The current state of the maintenance update. Dependent on value of lastAction.
timeReleased This property is required. String
The date and time the maintenance update was released.
updateType This property is required. String
A filter to return only resources that match the given update type exactly.
version This property is required. String
A filter to return only resources that match the given update version exactly.
availableActions This property is required. string[]
The possible actions performed by the update operation on the infrastructure components.
description This property is required. string
Details of the maintenance update package.
id This property is required. string
The OCID of the maintenance update.
lastAction This property is required. string
The previous update action performed.
lifecycleDetails This property is required. string
Descriptive text providing additional details about the lifecycle state.
state This property is required. string
The current state of the maintenance update. Dependent on value of lastAction.
timeReleased This property is required. string
The date and time the maintenance update was released.
updateType This property is required. string
A filter to return only resources that match the given update type exactly.
version This property is required. string
A filter to return only resources that match the given update version exactly.
available_actions This property is required. Sequence[str]
The possible actions performed by the update operation on the infrastructure components.
description This property is required. str
Details of the maintenance update package.
id This property is required. str
The OCID of the maintenance update.
last_action This property is required. str
The previous update action performed.
lifecycle_details This property is required. str
Descriptive text providing additional details about the lifecycle state.
state This property is required. str
The current state of the maintenance update. Dependent on value of lastAction.
time_released This property is required. str
The date and time the maintenance update was released.
update_type This property is required. str
A filter to return only resources that match the given update type exactly.
version This property is required. str
A filter to return only resources that match the given update version exactly.
availableActions This property is required. List<String>
The possible actions performed by the update operation on the infrastructure components.
description This property is required. String
Details of the maintenance update package.
id This property is required. String
The OCID of the maintenance update.
lastAction This property is required. String
The previous update action performed.
lifecycleDetails This property is required. String
Descriptive text providing additional details about the lifecycle state.
state This property is required. String
The current state of the maintenance update. Dependent on value of lastAction.
timeReleased This property is required. String
The date and time the maintenance update was released.
updateType This property is required. String
A filter to return only resources that match the given update type exactly.
version This property is required. String
A filter to return only resources that match the given update version exactly.

GetExadbVmClusterUpdatesFilter

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

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