Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Database.getVmClusterUpdate
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterUpdate = oci.Database.getVmClusterUpdate({
updateId: testUpdate.id,
vmClusterId: testVmCluster.id,
});
import pulumi
import pulumi_oci as oci
test_vm_cluster_update = oci.Database.get_vm_cluster_update(update_id=test_update["id"],
vm_cluster_id=test_vm_cluster["id"])
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.GetVmClusterUpdate(ctx, &database.GetVmClusterUpdateArgs{
UpdateId: testUpdate.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 testVmClusterUpdate = Oci.Database.GetVmClusterUpdate.Invoke(new()
{
UpdateId = testUpdate.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.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(testUpdate.id())
.vmClusterId(testVmCluster.id())
.build());
}
}
variables:
testVmClusterUpdate:
fn::invoke:
Function: oci:Database:getVmClusterUpdate
Arguments:
updateId: ${testUpdate.id}
vmClusterId: ${testVmCluster.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:
- Update
Id string - The OCID of the maintenance update.
- Vm
Cluster stringId - The VM cluster OCID.
- Update
Id string - The OCID of the maintenance update.
- Vm
Cluster stringId - The VM cluster OCID.
- update
Id String - The OCID of the maintenance update.
- vm
Cluster StringId - The VM cluster OCID.
- update
Id string - The OCID of the maintenance update.
- vm
Cluster stringId - The VM cluster OCID.
- update_
id str - The OCID of the maintenance update.
- vm_
cluster_ strid - The VM cluster OCID.
- update
Id String - The OCID of the maintenance update.
- vm
Cluster StringId - The VM cluster OCID.
getVmClusterUpdate Result
The following output properties are available:
- Available
Actions 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.
- Last
Action string - The update action performed most recently using this maintenance update.
- Lifecycle
Details string - Descriptive text providing additional details about the lifecycle state.
- State string
- The current state of the maintenance update. Dependent on value of
lastAction
. - Time
Released string - The date and time the maintenance update was released.
- Update
Id string - Update
Type string - The type of VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- Vm
Cluster stringId
- Available
Actions []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.
- Last
Action string - The update action performed most recently using this maintenance update.
- Lifecycle
Details string - Descriptive text providing additional details about the lifecycle state.
- State string
- The current state of the maintenance update. Dependent on value of
lastAction
. - Time
Released string - The date and time the maintenance update was released.
- Update
Id string - Update
Type string - The type of VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- Vm
Cluster stringId
- available
Actions 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.
- last
Action String - The update action performed most recently using this maintenance update.
- lifecycle
Details String - Descriptive text providing additional details about the lifecycle state.
- state String
- The current state of the maintenance update. Dependent on value of
lastAction
. - time
Released String - The date and time the maintenance update was released.
- update
Id String - update
Type String - The type of VM cluster maintenance update.
- version String
- The version of the maintenance update package.
- vm
Cluster StringId
- available
Actions 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.
- last
Action string - The update action performed most recently using this maintenance update.
- lifecycle
Details string - Descriptive text providing additional details about the lifecycle state.
- state string
- The current state of the maintenance update. Dependent on value of
lastAction
. - time
Released string - The date and time the maintenance update was released.
- update
Id string - update
Type string - The type of VM cluster maintenance update.
- version string
- The version of the maintenance update package.
- vm
Cluster stringId
- 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_ strid
- available
Actions 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.
- last
Action String - The update action performed most recently using this maintenance update.
- lifecycle
Details String - Descriptive text providing additional details about the lifecycle state.
- state String
- The current state of the maintenance update. Dependent on value of
lastAction
. - time
Released String - The date and time the maintenance update was released.
- update
Id String - update
Type String - The type of VM cluster maintenance update.
- version String
- The version of the maintenance update package.
- 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.