oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.Database.getVmClusterUpdate

This data source provides details about a specific Vm Cluster Update resource in Oracle Cloud Infrastructure Database service.

Gets information about a specified maintenance update package for a VM cluster. Applies to Exadata Cloud@Customer instances only.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testVmClusterUpdate = Oci.Database.GetVmClusterUpdate.Invoke(new()
    {
        UpdateId = oci_database_update.Test_update.Id,
        VmClusterId = oci_database_vm_cluster.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.GetVmClusterUpdate(ctx, &database.GetVmClusterUpdateArgs{
			UpdateId:    oci_database_update.Test_update.Id,
			VmClusterId: oci_database_vm_cluster.Test_vm_cluster.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetVmClusterUpdateArgs;
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 testVmClusterUpdate = DatabaseFunctions.getVmClusterUpdate(GetVmClusterUpdateArgs.builder()
            .updateId(oci_database_update.test_update().id())
            .vmClusterId(oci_database_vm_cluster.test_vm_cluster().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_vm_cluster_update = oci.Database.get_vm_cluster_update(update_id=oci_database_update["test_update"]["id"],
    vm_cluster_id=oci_database_vm_cluster["test_vm_cluster"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testVmClusterUpdate = oci.Database.getVmClusterUpdate({
    updateId: oci_database_update.test_update.id,
    vmClusterId: oci_database_vm_cluster.test_vm_cluster.id,
});
variables:
  testVmClusterUpdate:
    fn::invoke:
      Function: oci:Database:getVmClusterUpdate
      Arguments:
        updateId: ${oci_database_update.test_update.id}
        vmClusterId: ${oci_database_vm_cluster.test_vm_cluster.id}

Using getVmClusterUpdate

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 getVmClusterUpdate(args: GetVmClusterUpdateArgs, opts?: InvokeOptions): Promise<GetVmClusterUpdateResult>
function getVmClusterUpdateOutput(args: GetVmClusterUpdateOutputArgs, opts?: InvokeOptions): Output<GetVmClusterUpdateResult>
def get_vm_cluster_update(update_id: Optional[str] = None,
                          vm_cluster_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetVmClusterUpdateResult
def get_vm_cluster_update_output(update_id: Optional[pulumi.Input[str]] = None,
                          vm_cluster_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterUpdateResult]
func GetVmClusterUpdate(ctx *Context, args *GetVmClusterUpdateArgs, opts ...InvokeOption) (*GetVmClusterUpdateResult, error)
func GetVmClusterUpdateOutput(ctx *Context, args *GetVmClusterUpdateOutputArgs, opts ...InvokeOption) GetVmClusterUpdateResultOutput

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

public static class GetVmClusterUpdate 
{
    public static Task<GetVmClusterUpdateResult> InvokeAsync(GetVmClusterUpdateArgs args, InvokeOptions? opts = null)
    public static Output<GetVmClusterUpdateResult> Invoke(GetVmClusterUpdateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVmClusterUpdateResult> getVmClusterUpdate(GetVmClusterUpdateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Database/getVmClusterUpdate:getVmClusterUpdate
  arguments:
    # arguments dictionary

The following arguments are supported:

UpdateId string

The OCID of the maintenance update.

VmClusterId string

The VM cluster OCID.

UpdateId string

The OCID of the maintenance update.

VmClusterId string

The VM cluster OCID.

updateId String

The OCID of the maintenance update.

vmClusterId String

The VM cluster OCID.

updateId string

The OCID of the maintenance update.

vmClusterId string

The VM cluster OCID.

update_id str

The OCID of the maintenance update.

vm_cluster_id str

The VM cluster OCID.

updateId String

The OCID of the maintenance update.

vmClusterId String

The VM cluster OCID.

getVmClusterUpdate Result

The following output properties are available:

AvailableActions List<string>

The possible actions that can be performed using this maintenance update.

Description string

Details of the maintenance update package.

Id string

The provider-assigned unique ID for this managed resource.

LastAction string

The update action performed most recently using this maintenance update.

LifecycleDetails string

Descriptive text providing additional details about the lifecycle state.

State string

The current state of the maintenance update. Dependent on value of lastAction.

TimeReleased string

The date and time the maintenance update was released.

UpdateId string
UpdateType string

The type of VM cluster maintenance update.

Version string

The version of the maintenance update package.

VmClusterId string
AvailableActions []string

The possible actions that can be performed using this maintenance update.

Description string

Details of the maintenance update package.

Id string

The provider-assigned unique ID for this managed resource.

LastAction string

The update action performed most recently using this maintenance update.

LifecycleDetails string

Descriptive text providing additional details about the lifecycle state.

State string

The current state of the maintenance update. Dependent on value of lastAction.

TimeReleased string

The date and time the maintenance update was released.

UpdateId string
UpdateType string

The type of VM cluster maintenance update.

Version string

The version of the maintenance update package.

VmClusterId string
availableActions List<String>

The possible actions that can be performed using this maintenance update.

description String

Details of the maintenance update package.

id String

The provider-assigned unique ID for this managed resource.

lastAction String

The update action performed most recently using this maintenance update.

lifecycleDetails String

Descriptive text providing additional details about the lifecycle state.

state String

The current state of the maintenance update. Dependent on value of lastAction.

timeReleased String

The date and time the maintenance update was released.

updateId String
updateType String

The type of VM cluster maintenance update.

version String

The version of the maintenance update package.

vmClusterId String
availableActions string[]

The possible actions that can be performed using this maintenance update.

description string

Details of the maintenance update package.

id string

The provider-assigned unique ID for this managed resource.

lastAction string

The update action performed most recently using this maintenance update.

lifecycleDetails string

Descriptive text providing additional details about the lifecycle state.

state string

The current state of the maintenance update. Dependent on value of lastAction.

timeReleased string

The date and time the maintenance update was released.

updateId string
updateType string

The type of VM cluster maintenance update.

version string

The version of the maintenance update package.

vmClusterId string
available_actions Sequence[str]

The possible actions that can be performed using this maintenance update.

description str

Details of the maintenance update package.

id str

The provider-assigned unique ID for this managed resource.

last_action str

The update action performed most recently using this maintenance update.

lifecycle_details str

Descriptive text providing additional details about the lifecycle state.

state str

The current state of the maintenance update. Dependent on value of lastAction.

time_released str

The date and time the maintenance update was released.

update_id str
update_type str

The type of VM cluster maintenance update.

version str

The version of the maintenance update package.

vm_cluster_id str
availableActions List<String>

The possible actions that can be performed using this maintenance update.

description String

Details of the maintenance update package.

id String

The provider-assigned unique ID for this managed resource.

lastAction String

The update action performed most recently using this maintenance update.

lifecycleDetails String

Descriptive text providing additional details about the lifecycle state.

state String

The current state of the maintenance update. Dependent on value of lastAction.

timeReleased String

The date and time the maintenance update was released.

updateId String
updateType String

The type of VM cluster maintenance update.

version String

The version of the maintenance update package.

vmClusterId String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.