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 Recommendation Strategies in Oracle Cloud Infrastructure Optimizer service. * * Lists the existing strategies. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRecommendationStrategies = oci.optimizer.getRecommendationStrategies({ * compartmentId: compartmentId, * compartmentIdInSubtree: recommendationStrategyCompartmentIdInSubtree === "true", * name: recommendationStrategyName, * recommendationName: testRecommendation.name, * }); * ``` */ export declare function getRecommendationStrategies(args: GetRecommendationStrategiesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRecommendationStrategies. */ export interface GetRecommendationStrategiesArgs { /** * The OCID of the compartment. */ compartmentId: string; /** * When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`. * * Can only be set to true when performing ListCompartments on the tenancy (root compartment). */ compartmentIdInSubtree: boolean; filters?: inputs.Optimizer.GetRecommendationStrategiesFilter[]; /** * Optional. A filter that returns results that match the name specified. */ name?: string; /** * Optional. A filter that returns results that match the recommendation name specified. */ recommendationName?: string; } /** * A collection of values returned by getRecommendationStrategies. */ export interface GetRecommendationStrategiesResult { readonly compartmentId: string; readonly compartmentIdInSubtree: boolean; readonly filters?: outputs.Optimizer.GetRecommendationStrategiesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the strategy parameter. */ readonly name?: string; readonly recommendationName?: string; /** * The list of recommendation_strategy_collection. */ readonly recommendationStrategyCollections: outputs.Optimizer.GetRecommendationStrategiesRecommendationStrategyCollection[]; } /** * This data source provides the list of Recommendation Strategies in Oracle Cloud Infrastructure Optimizer service. * * Lists the existing strategies. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRecommendationStrategies = oci.optimizer.getRecommendationStrategies({ * compartmentId: compartmentId, * compartmentIdInSubtree: recommendationStrategyCompartmentIdInSubtree === "true", * name: recommendationStrategyName, * recommendationName: testRecommendation.name, * }); * ``` */ export declare function getRecommendationStrategiesOutput(args: GetRecommendationStrategiesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRecommendationStrategies. */ export interface GetRecommendationStrategiesOutputArgs { /** * The OCID of the compartment. */ compartmentId: pulumi.Input; /** * When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`. * * Can only be set to true when performing ListCompartments on the tenancy (root compartment). */ compartmentIdInSubtree: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Optional. A filter that returns results that match the name specified. */ name?: pulumi.Input; /** * Optional. A filter that returns results that match the recommendation name specified. */ recommendationName?: pulumi.Input; } //# sourceMappingURL=getRecommendationStrategies.d.ts.map