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 Profiles in Oracle Cloud Infrastructure Optimizer service. * * Lists the existing profiles. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProfiles = oci.optimizer.getProfiles({ * compartmentId: compartmentId, * name: profileName, * state: profileState, * }); * ``` */ export declare function getProfiles(args: GetProfilesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProfiles. */ export interface GetProfilesArgs { /** * The OCID of the compartment. */ compartmentId: string; filters?: inputs.Optimizer.GetProfilesFilter[]; /** * Optional. A filter that returns results that match the name specified. */ name?: string; /** * A filter that returns results that match the lifecycle state specified. */ state?: string; } /** * A collection of values returned by getProfiles. */ export interface GetProfilesResult { /** * The OCID of the tenancy. The tenancy is the root compartment. */ readonly compartmentId: string; readonly filters?: outputs.Optimizer.GetProfilesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name assigned to the profile. Avoid entering confidential information. */ readonly name?: string; /** * The list of profile_collection. */ readonly profileCollections: outputs.Optimizer.GetProfilesProfileCollection[]; /** * The profile's current state. */ readonly state?: string; } /** * This data source provides the list of Profiles in Oracle Cloud Infrastructure Optimizer service. * * Lists the existing profiles. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProfiles = oci.optimizer.getProfiles({ * compartmentId: compartmentId, * name: profileName, * state: profileState, * }); * ``` */ export declare function getProfilesOutput(args: GetProfilesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProfiles. */ export interface GetProfilesOutputArgs { /** * The OCID of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Optional. A filter that returns results that match the name specified. */ name?: pulumi.Input; /** * A filter that returns results that match the lifecycle state specified. */ state?: pulumi.Input; } //# sourceMappingURL=getProfiles.d.ts.map