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 Resource Actions in Oracle Cloud Infrastructure Optimizer service.
 *
 * Lists the Cloud Advisor resource actions that are supported.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testResourceActions = oci.optimizer.getResourceActions({
 *     compartmentId: compartmentId,
 *     compartmentIdInSubtree: resourceActionCompartmentIdInSubtree === "true",
 *     childTenancyIds: resourceActionChildTenancyIds,
 *     includeOrganization: resourceActionIncludeOrganization === "true",
 *     includeResourceMetadata: resourceActionIncludeResourceMetadata === "true",
 *     name: resourceActionName,
 *     recommendationId: testRecommendation.id,
 *     recommendationName: testRecommendation.name,
 *     resourceType: resourceActionResourceType,
 *     state: resourceActionState,
 *     status: resourceActionStatus,
 * });
 * ```
 */
export declare function getResourceActions(args: GetResourceActionsArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceActionsResult>;
/**
 * A collection of arguments for invoking getResourceActions.
 */
export interface GetResourceActionsArgs {
    /**
     * A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
     *
     * If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
     *
     * It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
     *
     * When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
     */
    childTenancyIds?: string[];
    /**
     * 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.GetResourceActionsFilter[];
    /**
     * When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
     *
     * Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
     *
     * When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
     */
    includeOrganization?: boolean;
    /**
     * Supplement additional resource information in extended metadata response.
     */
    includeResourceMetadata?: boolean;
    /**
     * Optional. A filter that returns results that match the name specified.
     */
    name?: string;
    /**
     * The unique OCID associated with the recommendation.
     */
    recommendationId?: string;
    /**
     * Optional. A filter that returns results that match the recommendation name specified.
     */
    recommendationName?: string;
    /**
     * Optional. A filter that returns results that match the resource type specified.
     */
    resourceType?: string;
    /**
     * A filter that returns results that match the lifecycle state specified.
     */
    state?: string;
    /**
     * A filter that returns recommendations that match the status specified.
     */
    status?: string;
}
/**
 * A collection of values returned by getResourceActions.
 */
export interface GetResourceActionsResult {
    readonly childTenancyIds?: string[];
    /**
     * The OCID of the compartment.
     */
    readonly compartmentId: string;
    readonly compartmentIdInSubtree: boolean;
    readonly filters?: outputs.Optimizer.GetResourceActionsFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly includeOrganization?: boolean;
    readonly includeResourceMetadata?: boolean;
    /**
     * The name assigned to the resource.
     */
    readonly name?: string;
    /**
     * The unique OCID associated with the recommendation.
     */
    readonly recommendationId?: string;
    readonly recommendationName?: string;
    /**
     * The list of resource_action_collection.
     */
    readonly resourceActionCollections: outputs.Optimizer.GetResourceActionsResourceActionCollection[];
    /**
     * The kind of resource.
     */
    readonly resourceType?: string;
    /**
     * The resource action's current state.
     */
    readonly state?: string;
    /**
     * The current status of the resource action.
     */
    readonly status?: string;
}
/**
 * This data source provides the list of Resource Actions in Oracle Cloud Infrastructure Optimizer service.
 *
 * Lists the Cloud Advisor resource actions that are supported.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testResourceActions = oci.optimizer.getResourceActions({
 *     compartmentId: compartmentId,
 *     compartmentIdInSubtree: resourceActionCompartmentIdInSubtree === "true",
 *     childTenancyIds: resourceActionChildTenancyIds,
 *     includeOrganization: resourceActionIncludeOrganization === "true",
 *     includeResourceMetadata: resourceActionIncludeResourceMetadata === "true",
 *     name: resourceActionName,
 *     recommendationId: testRecommendation.id,
 *     recommendationName: testRecommendation.name,
 *     resourceType: resourceActionResourceType,
 *     state: resourceActionState,
 *     status: resourceActionStatus,
 * });
 * ```
 */
export declare function getResourceActionsOutput(args: GetResourceActionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceActionsResult>;
/**
 * A collection of arguments for invoking getResourceActions.
 */
export interface GetResourceActionsOutputArgs {
    /**
     * A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
     *
     * If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
     *
     * It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
     *
     * When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
     */
    childTenancyIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The OCID of the compartment.
     */
    compartmentId: pulumi.Input<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: pulumi.Input<boolean>;
    filters?: pulumi.Input<pulumi.Input<inputs.Optimizer.GetResourceActionsFilterArgs>[] | undefined>;
    /**
     * When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
     *
     * Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
     *
     * When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
     */
    includeOrganization?: pulumi.Input<boolean | undefined>;
    /**
     * Supplement additional resource information in extended metadata response.
     */
    includeResourceMetadata?: pulumi.Input<boolean | undefined>;
    /**
     * Optional. A filter that returns results that match the name specified.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The unique OCID associated with the recommendation.
     */
    recommendationId?: pulumi.Input<string | undefined>;
    /**
     * Optional. A filter that returns results that match the recommendation name specified.
     */
    recommendationName?: pulumi.Input<string | undefined>;
    /**
     * Optional. A filter that returns results that match the resource type specified.
     */
    resourceType?: pulumi.Input<string | undefined>;
    /**
     * A filter that returns results that match the lifecycle state specified.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * A filter that returns recommendations that match the status specified.
     */
    status?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getResourceActions.d.ts.map