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 External Clusters in Oracle Cloud Infrastructure Database Management service. * * Lists the clusters in the specified external DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalClusters = oci.databasemanagement.getExternalClusters({ * compartmentId: compartmentId, * displayName: externalClusterDisplayName, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalClusters(args?: GetExternalClustersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalClusters. */ export interface GetExternalClustersArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * A filter to only return the resources that match the entire display name. */ displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: string; filters?: inputs.DatabaseManagement.GetExternalClustersFilter[]; } /** * A collection of values returned by getExternalClusters. */ export interface GetExternalClustersResult { /** * 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 external cluster. The name does not have to be unique. */ readonly displayName?: string; /** * The list of external_cluster_collection. */ readonly externalClusterCollections: outputs.DatabaseManagement.GetExternalClustersExternalClusterCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that the cluster is a part of. */ readonly externalDbSystemId?: string; readonly filters?: outputs.DatabaseManagement.GetExternalClustersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of External Clusters in Oracle Cloud Infrastructure Database Management service. * * Lists the clusters in the specified external DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalClusters = oci.databasemanagement.getExternalClusters({ * compartmentId: compartmentId, * displayName: externalClusterDisplayName, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalClustersOutput(args?: GetExternalClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalClusters. */ export interface GetExternalClustersOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * A filter to only return the resources that match the entire display name. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getExternalClusters.d.ts.map