Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Database.getExadbVmClusterUpdate
Explore with Pulumi AI
This data source provides details about a specific Exadb Vm Cluster Update resource in Oracle Cloud Infrastructure Database service.
Gets information about a specified maintenance update package for a Exadata VM cluster on Exascale Infrastructure.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExadbVmClusterUpdate = oci.Database.getExadbVmClusterUpdate({
exadbVmClusterId: testExadbVmCluster.id,
updateId: testUpdate.id,
});
import pulumi
import pulumi_oci as oci
test_exadb_vm_cluster_update = oci.Database.get_exadb_vm_cluster_update(exadb_vm_cluster_id=test_exadb_vm_cluster["id"],
update_id=test_update["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.GetExadbVmClusterUpdate(ctx, &database.GetExadbVmClusterUpdateArgs{
ExadbVmClusterId: testExadbVmCluster.Id,
UpdateId: testUpdate.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 testExadbVmClusterUpdate = Oci.Database.GetExadbVmClusterUpdate.Invoke(new()
{
ExadbVmClusterId = testExadbVmCluster.Id,
UpdateId = testUpdate.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.GetExadbVmClusterUpdateArgs;
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 testExadbVmClusterUpdate = DatabaseFunctions.getExadbVmClusterUpdate(GetExadbVmClusterUpdateArgs.builder()
.exadbVmClusterId(testExadbVmCluster.id())
.updateId(testUpdate.id())
.build());
}
}
variables:
testExadbVmClusterUpdate:
fn::invoke:
Function: oci:Database:getExadbVmClusterUpdate
Arguments:
exadbVmClusterId: ${testExadbVmCluster.id}
updateId: ${testUpdate.id}
Using getExadbVmClusterUpdate
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 getExadbVmClusterUpdate(args: GetExadbVmClusterUpdateArgs, opts?: InvokeOptions): Promise<GetExadbVmClusterUpdateResult>
function getExadbVmClusterUpdateOutput(args: GetExadbVmClusterUpdateOutputArgs, opts?: InvokeOptions): Output<GetExadbVmClusterUpdateResult>
def get_exadb_vm_cluster_update(exadb_vm_cluster_id: Optional[str] = None,
update_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExadbVmClusterUpdateResult
def get_exadb_vm_cluster_update_output(exadb_vm_cluster_id: Optional[pulumi.Input[str]] = None,
update_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExadbVmClusterUpdateResult]
func GetExadbVmClusterUpdate(ctx *Context, args *GetExadbVmClusterUpdateArgs, opts ...InvokeOption) (*GetExadbVmClusterUpdateResult, error)
func GetExadbVmClusterUpdateOutput(ctx *Context, args *GetExadbVmClusterUpdateOutputArgs, opts ...InvokeOption) GetExadbVmClusterUpdateResultOutput
> Note: This function is named GetExadbVmClusterUpdate
in the Go SDK.
public static class GetExadbVmClusterUpdate
{
public static Task<GetExadbVmClusterUpdateResult> InvokeAsync(GetExadbVmClusterUpdateArgs args, InvokeOptions? opts = null)
public static Output<GetExadbVmClusterUpdateResult> Invoke(GetExadbVmClusterUpdateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExadbVmClusterUpdateResult> getExadbVmClusterUpdate(GetExadbVmClusterUpdateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getExadbVmClusterUpdate:getExadbVmClusterUpdate
arguments:
# arguments dictionary
The following arguments are supported:
- Exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Update
Id string - The OCID of the maintenance update.
- Exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Update
Id string - The OCID of the maintenance update.
- exadb
Vm StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update
Id String - The OCID of the maintenance update.
- exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update
Id string - The OCID of the maintenance update.
- exadb_
vm_ strcluster_ id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update_
id str - The OCID of the maintenance update.
- exadb
Vm StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- update
Id String - The OCID of the maintenance update.
getExadbVmClusterUpdate Result
The following output properties are available:
- Available
Actions List<string> - The possible actions performed by the update operation on the infrastructure components.
- Description string
- Details of the maintenance update package.
- Exadb
Vm stringCluster Id - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Action string - The previous update action performed.
- 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 cloud VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- Available
Actions []string - The possible actions performed by the update operation on the infrastructure components.
- Description string
- Details of the maintenance update package.
- Exadb
Vm stringCluster Id - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Action string - The previous update action performed.
- 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 cloud VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- available
Actions List<String> - The possible actions performed by the update operation on the infrastructure components.
- description String
- Details of the maintenance update package.
- exadb
Vm StringCluster Id - id String
- The provider-assigned unique ID for this managed resource.
- last
Action String - The previous update action performed.
- 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 cloud VM cluster maintenance update.
- version String
- The version of the maintenance update package.
- available
Actions string[] - The possible actions performed by the update operation on the infrastructure components.
- description string
- Details of the maintenance update package.
- exadb
Vm stringCluster Id - id string
- The provider-assigned unique ID for this managed resource.
- last
Action string - The previous update action performed.
- 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 cloud VM cluster maintenance update.
- version string
- The version of the maintenance update package.
- available_
actions Sequence[str] - The possible actions performed by the update operation on the infrastructure components.
- description str
- Details of the maintenance update package.
- exadb_
vm_ strcluster_ id - id str
- The provider-assigned unique ID for this managed resource.
- last_
action str - The previous update action performed.
- 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 cloud VM cluster maintenance update.
- version str
- The version of the maintenance update package.
- available
Actions List<String> - The possible actions performed by the update operation on the infrastructure components.
- description String
- Details of the maintenance update package.
- exadb
Vm StringCluster Id - id String
- The provider-assigned unique ID for this managed resource.
- last
Action String - The previous update action performed.
- 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 cloud VM cluster maintenance update.
- version String
- The version of the maintenance update package.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.