Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Database.getExadbVmClusterUpdates
Explore with Pulumi AI
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,
});
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)
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
})
}
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,
});
});
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());
}
}
variables:
testExadbVmClusterUpdates:
fn::invoke:
Function: oci:Database:getExadbVmClusterUpdates
Arguments:
exadbVmClusterId: ${testExadbVmCluster.id}
updateType: ${exadbVmClusterUpdateUpdateType}
version: ${exadbVmClusterUpdateVersion}
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>
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]
func GetExadbVmClusterUpdates(ctx *Context, args *GetExadbVmClusterUpdatesArgs, opts ...InvokeOption) (*GetExadbVmClusterUpdatesResult, error)
func GetExadbVmClusterUpdatesOutput(ctx *Context, args *GetExadbVmClusterUpdatesOutputArgs, opts ...InvokeOption) GetExadbVmClusterUpdatesResultOutput
> 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)
}
public static CompletableFuture<GetExadbVmClusterUpdatesResult> getExadbVmClusterUpdates(GetExadbVmClusterUpdatesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getExadbVmClusterUpdates:getExadbVmClusterUpdates
arguments:
# arguments dictionary
The following arguments are supported:
- Exadb
Vm stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Filters
List<Get
Exadb Vm Cluster Updates Filter> - Update
Type 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 stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- Filters
[]Get
Exadb Vm Cluster Updates Filter - Update
Type 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 StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters
List<Get
Exadb Vm Cluster Updates Filter> - update
Type 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 stringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters
Get
Exadb Vm Cluster Updates Filter[] - update
Type 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_ strcluster_ id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters
Sequence[database.
Get Exadb Vm Cluster Updates Filter] - 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.
- exadb
Vm StringCluster Id - The Exadata VM cluster OCID on Exascale Infrastructure.
- filters List<Property Map>
- update
Type 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:
- Exadb
Vm stringCluster Id - Exadb
Vm List<GetCluster Updates Exadb Vm Cluster Updates Exadb Vm Cluster Update> - The list of exadb_vm_cluster_updates.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Exadb Vm Cluster Updates Filter> - Update
Type string - The type of cloud VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- Exadb
Vm stringCluster Id - Exadb
Vm []GetCluster Updates Exadb Vm Cluster Updates Exadb Vm Cluster Update - The list of exadb_vm_cluster_updates.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Exadb Vm Cluster Updates Filter - Update
Type string - The type of cloud VM cluster maintenance update.
- Version string
- The version of the maintenance update package.
- exadb
Vm StringCluster Id - exadb
Vm List<GetCluster Updates Exadb Vm Cluster Updates Exadb Vm Cluster Update> - The list of exadb_vm_cluster_updates.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Exadb Vm Cluster Updates Filter> - update
Type String - The type of cloud VM cluster maintenance update.
- version String
- The version of the maintenance update package.
- exadb
Vm stringCluster Id - exadb
Vm GetCluster Updates Exadb Vm Cluster Updates Exadb Vm Cluster Update[] - The list of exadb_vm_cluster_updates.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Exadb Vm Cluster Updates Filter[] - update
Type string - The type of cloud VM cluster maintenance update.
- version string
- The version of the maintenance update package.
- exadb_
vm_ strcluster_ id - exadb_
vm_ Sequence[database.cluster_ updates Get Exadb Vm Cluster Updates Exadb Vm Cluster Update] - The list of exadb_vm_cluster_updates.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[database.
Get Exadb Vm Cluster Updates Filter] - update_
type str - The type of cloud VM cluster maintenance update.
- version str
- The version of the maintenance update package.
- exadb
Vm StringCluster Id - exadb
Vm List<Property Map>Cluster Updates - The list of exadb_vm_cluster_updates.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- update
Type String - The type of cloud VM cluster maintenance update.
- version String
- The version of the maintenance update package.
Supporting Types
GetExadbVmClusterUpdatesExadbVmClusterUpdate
- Available
Actions List<string> - The possible actions performed by the update operation on the infrastructure components.
- Description string
- Details of the maintenance update package.
- Id string
- The OCID of the maintenance update.
- 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
Type 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.
- Available
Actions []string - The possible actions performed by the update operation on the infrastructure components.
- Description string
- Details of the maintenance update package.
- Id string
- The OCID of the maintenance update.
- 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
Type 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.
- available
Actions List<String> - The possible actions performed by the update operation on the infrastructure components.
- description String
- Details of the maintenance update package.
- id String
- The OCID of the maintenance update.
- 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
Type 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.
- available
Actions string[] - The possible actions performed by the update operation on the infrastructure components.
- description string
- Details of the maintenance update package.
- id string
- The OCID of the maintenance update.
- 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
Type 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.
- available_
actions Sequence[str] - The possible actions performed by the update operation on the infrastructure components.
- description str
- Details of the maintenance update package.
- id str
- The OCID of the maintenance update.
- 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_
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.
- available
Actions List<String> - The possible actions performed by the update operation on the infrastructure components.
- description String
- Details of the maintenance update package.
- id String
- The OCID of the maintenance update.
- 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
Type 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.
GetExadbVmClusterUpdatesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.