Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Database.getVmClusterPatches
Explore with Pulumi AI
This data source provides the list of Vm Cluster Patches in Oracle Cloud Infrastructure Database service.
Lists the patches applicable to the specified VM cluster in an Exadata Cloud@Customer system.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterPatches = oci.Database.getVmClusterPatches({
vmClusterId: testVmCluster.id,
});
import pulumi
import pulumi_oci as oci
test_vm_cluster_patches = oci.Database.get_vm_cluster_patches(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.GetVmClusterPatches(ctx, &database.GetVmClusterPatchesArgs{
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 testVmClusterPatches = Oci.Database.GetVmClusterPatches.Invoke(new()
{
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.GetVmClusterPatchesArgs;
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 testVmClusterPatches = DatabaseFunctions.getVmClusterPatches(GetVmClusterPatchesArgs.builder()
.vmClusterId(testVmCluster.id())
.build());
}
}
variables:
testVmClusterPatches:
fn::invoke:
function: oci:Database:getVmClusterPatches
arguments:
vmClusterId: ${testVmCluster.id}
Using getVmClusterPatches
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 getVmClusterPatches(args: GetVmClusterPatchesArgs, opts?: InvokeOptions): Promise<GetVmClusterPatchesResult>
function getVmClusterPatchesOutput(args: GetVmClusterPatchesOutputArgs, opts?: InvokeOptions): Output<GetVmClusterPatchesResult>
def get_vm_cluster_patches(filters: Optional[Sequence[_database.GetVmClusterPatchesFilter]] = None,
vm_cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVmClusterPatchesResult
def get_vm_cluster_patches_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetVmClusterPatchesFilterArgs]]]] = None,
vm_cluster_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterPatchesResult]
func GetVmClusterPatches(ctx *Context, args *GetVmClusterPatchesArgs, opts ...InvokeOption) (*GetVmClusterPatchesResult, error)
func GetVmClusterPatchesOutput(ctx *Context, args *GetVmClusterPatchesOutputArgs, opts ...InvokeOption) GetVmClusterPatchesResultOutput
> Note: This function is named GetVmClusterPatches
in the Go SDK.
public static class GetVmClusterPatches
{
public static Task<GetVmClusterPatchesResult> InvokeAsync(GetVmClusterPatchesArgs args, InvokeOptions? opts = null)
public static Output<GetVmClusterPatchesResult> Invoke(GetVmClusterPatchesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVmClusterPatchesResult> getVmClusterPatches(GetVmClusterPatchesArgs args, InvokeOptions options)
public static Output<GetVmClusterPatchesResult> getVmClusterPatches(GetVmClusterPatchesArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getVmClusterPatches:getVmClusterPatches
arguments:
# arguments dictionary
The following arguments are supported:
- Vm
Cluster Id This property is required. string - The VM cluster OCID.
- Filters
Changes to this property will trigger replacement.
Vm Cluster Patches Filter>
- Vm
Cluster Id This property is required. string - The VM cluster OCID.
- Filters
Changes to this property will trigger replacement.
Vm Cluster Patches Filter
- vm
Cluster Id This property is required. String - The VM cluster OCID.
- filters
Changes to this property will trigger replacement.
Vm Cluster Patches Filter>
- vm
Cluster Id This property is required. string - The VM cluster OCID.
- filters
Changes to this property will trigger replacement.
Vm Cluster Patches Filter[]
- vm_
cluster_ id This property is required. str - The VM cluster OCID.
- filters
Changes to this property will trigger replacement.
Get Vm Cluster Patches Filter]
- vm
Cluster Id This property is required. String - The VM cluster OCID.
- filters
Changes to this property will trigger replacement.
getVmClusterPatches Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Patches
List<Get
Vm Cluster Patches Patch> - The list of patches.
- Vm
Cluster stringId - Filters
List<Get
Vm Cluster Patches Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Patches
[]Get
Vm Cluster Patches Patch - The list of patches.
- Vm
Cluster stringId - Filters
[]Get
Vm Cluster Patches Filter
- id String
- The provider-assigned unique ID for this managed resource.
- patches
List<Get
Vm Cluster Patches Patch> - The list of patches.
- vm
Cluster StringId - filters
List<Get
Vm Cluster Patches Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- patches
Get
Vm Cluster Patches Patch[] - The list of patches.
- vm
Cluster stringId - filters
Get
Vm Cluster Patches Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- patches
Sequence[database.
Get Vm Cluster Patches Patch] - The list of patches.
- vm_
cluster_ strid - filters
Sequence[database.
Get Vm Cluster Patches Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- patches List<Property Map>
- The list of patches.
- vm
Cluster StringId - filters List<Property Map>
Supporting Types
GetVmClusterPatchesFilter
GetVmClusterPatchesPatch
- Available
Actions This property is required. List<string> - Actions that can possibly be performed using this patch.
- Description
This property is required. string - The text describing this patch package.
- Id
This property is required. string - The OCID of the patch.
- Last
Action This property is required. string - Action that is currently being performed or was completed last.
- Lifecycle
Details This property is required. string - A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- State
This property is required. string - The current state of the patch as a result of lastAction.
- Time
Released This property is required. string - The date and time that the patch was released.
- Version
This property is required. string - The version of this patch package.
- Available
Actions This property is required. []string - Actions that can possibly be performed using this patch.
- Description
This property is required. string - The text describing this patch package.
- Id
This property is required. string - The OCID of the patch.
- Last
Action This property is required. string - Action that is currently being performed or was completed last.
- Lifecycle
Details This property is required. string - A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- State
This property is required. string - The current state of the patch as a result of lastAction.
- Time
Released This property is required. string - The date and time that the patch was released.
- Version
This property is required. string - The version of this patch package.
- available
Actions This property is required. List<String> - Actions that can possibly be performed using this patch.
- description
This property is required. String - The text describing this patch package.
- id
This property is required. String - The OCID of the patch.
- last
Action This property is required. String - Action that is currently being performed or was completed last.
- lifecycle
Details This property is required. String - A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- state
This property is required. String - The current state of the patch as a result of lastAction.
- time
Released This property is required. String - The date and time that the patch was released.
- version
This property is required. String - The version of this patch package.
- available
Actions This property is required. string[] - Actions that can possibly be performed using this patch.
- description
This property is required. string - The text describing this patch package.
- id
This property is required. string - The OCID of the patch.
- last
Action This property is required. string - Action that is currently being performed or was completed last.
- lifecycle
Details This property is required. string - A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- state
This property is required. string - The current state of the patch as a result of lastAction.
- time
Released This property is required. string - The date and time that the patch was released.
- version
This property is required. string - The version of this patch package.
- available_
actions This property is required. Sequence[str] - Actions that can possibly be performed using this patch.
- description
This property is required. str - The text describing this patch package.
- id
This property is required. str - The OCID of the patch.
- last_
action This property is required. str - Action that is currently being performed or was completed last.
- lifecycle_
details This property is required. str - A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- state
This property is required. str - The current state of the patch as a result of lastAction.
- time_
released This property is required. str - The date and time that the patch was released.
- version
This property is required. str - The version of this patch package.
- available
Actions This property is required. List<String> - Actions that can possibly be performed using this patch.
- description
This property is required. String - The text describing this patch package.
- id
This property is required. String - The OCID of the patch.
- last
Action This property is required. String - Action that is currently being performed or was completed last.
- lifecycle
Details This property is required. String - A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- state
This property is required. String - The current state of the patch as a result of lastAction.
- time
Released This property is required. String - The date and time that the patch was released.
- version
This property is required. String - The version of this patch package.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.