import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Vm Cluster Updates in Oracle Cloud Infrastructure Database service. * * Lists the maintenance updates that can be applied to the specified VM cluster. Applies to Exadata Cloud@Customer instances only. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmClusterUpdates = oci.database.getVmClusterUpdates({ * vmClusterId: testVmCluster.id, * state: vmClusterUpdateState, * updateType: vmClusterUpdateUpdateType, * }); * ``` */ export declare function getVmClusterUpdates(args: GetVmClusterUpdatesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVmClusterUpdates. */ export interface GetVmClusterUpdatesArgs { filters?: inputs.Database.GetVmClusterUpdatesFilter[]; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; /** * A filter to return only resources that match the given update type exactly. */ updateType?: string; /** * The VM cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ vmClusterId: string; } /** * A collection of values returned by getVmClusterUpdates. */ export interface GetVmClusterUpdatesResult { readonly filters?: outputs.Database.GetVmClusterUpdatesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the maintenance update. Dependent on value of `lastAction`. */ readonly state?: string; /** * The type of VM cluster maintenance update. */ readonly updateType?: string; readonly vmClusterId: string; /** * The list of vm_cluster_updates. */ readonly vmClusterUpdates: outputs.Database.GetVmClusterUpdatesVmClusterUpdate[]; } /** * This data source provides the list of Vm Cluster Updates in Oracle Cloud Infrastructure Database service. * * Lists the maintenance updates that can be applied to the specified VM cluster. Applies to Exadata Cloud@Customer instances only. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmClusterUpdates = oci.database.getVmClusterUpdates({ * vmClusterId: testVmCluster.id, * state: vmClusterUpdateState, * updateType: vmClusterUpdateUpdateType, * }); * ``` */ export declare function getVmClusterUpdatesOutput(args: GetVmClusterUpdatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVmClusterUpdates. */ export interface GetVmClusterUpdatesOutputArgs { filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; /** * A filter to return only resources that match the given update type exactly. */ updateType?: pulumi.Input; /** * The VM cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ vmClusterId: pulumi.Input; } //# sourceMappingURL=getVmClusterUpdates.d.ts.map