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 Flex Components in Oracle Cloud Infrastructure Database service. * * Gets a list of the flex components that can be used to launch a new DB system. The flex component determines resources to allocate to the DB system - Database Servers and Storage Servers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFlexComponents = oci.database.getFlexComponents({ * compartmentId: compartmentId, * name: flexComponentName, * shape: flexComponentShape, * }); * ``` */ export declare function getFlexComponents(args: GetFlexComponentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFlexComponents. */ export interface GetFlexComponentsArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; filters?: inputs.Database.GetFlexComponentsFilter[]; /** * A filter to return only resources that match the entire name given. The match is not case sensitive. */ name?: string; /** * A filter to return only resources that belong to the entire shape name given. The match is not case sensitive. */ shape?: string; } /** * A collection of values returned by getFlexComponents. */ export interface GetFlexComponentsResult { readonly compartmentId: string; readonly filters?: outputs.Database.GetFlexComponentsFilter[]; /** * The list of flex_component_collection. */ readonly flexComponentCollections: outputs.Database.GetFlexComponentsFlexComponentCollection[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the Flex Component used for the DB system. */ readonly name?: string; /** * The name of the DB system shape for this Flex Component. */ readonly shape?: string; } /** * This data source provides the list of Flex Components in Oracle Cloud Infrastructure Database service. * * Gets a list of the flex components that can be used to launch a new DB system. The flex component determines resources to allocate to the DB system - Database Servers and Storage Servers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFlexComponents = oci.database.getFlexComponents({ * compartmentId: compartmentId, * name: flexComponentName, * shape: flexComponentShape, * }); * ``` */ export declare function getFlexComponentsOutput(args: GetFlexComponentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFlexComponents. */ export interface GetFlexComponentsOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the entire name given. The match is not case sensitive. */ name?: pulumi.Input; /** * A filter to return only resources that belong to the entire shape name given. The match is not case sensitive. */ shape?: pulumi.Input; } //# sourceMappingURL=getFlexComponents.d.ts.map