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 Clusters in Oracle Cloud Infrastructure Database service. * * Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only. * To list the cloud VM clusters in an Exadata Cloud Service instance, use the [ListCloudVmClusters ](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/CloudVmCluster/ListCloudVmClusters) operation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmClusters = oci.database.getVmClusters({ * compartmentId: compartmentId, * displayName: vmClusterDisplayName, * exadataInfrastructureId: testExadataInfrastructure.id, * state: vmClusterState, * vmClusterType: vmClusterVmClusterType, * }); * ``` */ export declare function getVmClusters(args: GetVmClustersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVmClusters. */ export interface GetVmClustersArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; /** * If provided, filters the results for the given Exadata Infrastructure. */ exadataInfrastructureId?: string; filters?: inputs.Database.GetVmClustersFilter[]; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; /** * A filter to return only vmclusters that match the given vmcluster type exactly. */ vmClusterType?: string; } /** * A collection of values returned by getVmClusters. */ export interface GetVmClustersResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The user-friendly name for the Exadata Cloud@Customer VM cluster. The name does not need to be unique. */ readonly displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ readonly exadataInfrastructureId?: string; readonly filters?: outputs.Database.GetVmClustersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the VM cluster. */ readonly state?: string; /** * The vmcluster type for the VM cluster/Cloud VM cluster. */ readonly vmClusterType?: string; /** * The list of vm_clusters. */ readonly vmClusters: outputs.Database.GetVmClustersVmCluster[]; } /** * This data source provides the list of Vm Clusters in Oracle Cloud Infrastructure Database service. * * Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only. * To list the cloud VM clusters in an Exadata Cloud Service instance, use the [ListCloudVmClusters ](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/CloudVmCluster/ListCloudVmClusters) operation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmClusters = oci.database.getVmClusters({ * compartmentId: compartmentId, * displayName: vmClusterDisplayName, * exadataInfrastructureId: testExadataInfrastructure.id, * state: vmClusterState, * vmClusterType: vmClusterVmClusterType, * }); * ``` */ export declare function getVmClustersOutput(args: GetVmClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVmClusters. */ export interface GetVmClustersOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: pulumi.Input; /** * If provided, filters the results for the given Exadata Infrastructure. */ exadataInfrastructureId?: pulumi.Input; 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 vmclusters that match the given vmcluster type exactly. */ vmClusterType?: pulumi.Input; } //# sourceMappingURL=getVmClusters.d.ts.map