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 Remediation Runs in Oracle Cloud Infrastructure Adm service. * * Returns a list of remediation runs contained by a compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRemediationRuns = oci.adm.getRemediationRuns({ * compartmentId: compartmentId, * displayName: remediationRunDisplayName, * id: remediationRunId, * remediationRecipeId: testRemediationRecipe.id, * state: remediationRunState, * }); * ``` */ export declare function getRemediationRuns(args?: GetRemediationRunsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRemediationRuns. */ export interface GetRemediationRunsArgs { /** * A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Adm.GetRemediationRunsFilter[]; /** * A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified. */ id?: string; /** * A filter to return only resources that match the specified Remediation Recipe identifier. */ remediationRecipeId?: string; /** * A filter to return only Remediation Runs that match the specified lifecycleState. */ state?: string; } /** * A collection of values returned by getRemediationRuns. */ export interface GetRemediationRunsResult { /** * The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the remediation run. */ readonly compartmentId?: string; /** * The name of the remediation run. */ readonly displayName?: string; readonly filters?: outputs.Adm.GetRemediationRunsFilter[]; /** * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the remediation run. */ readonly id?: string; /** * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe. */ readonly remediationRecipeId?: string; /** * The list of remediation_run_collection. */ readonly remediationRunCollections: outputs.Adm.GetRemediationRunsRemediationRunCollection[]; /** * The current lifecycle state of the remediation run. */ readonly state?: string; } /** * This data source provides the list of Remediation Runs in Oracle Cloud Infrastructure Adm service. * * Returns a list of remediation runs contained by a compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRemediationRuns = oci.adm.getRemediationRuns({ * compartmentId: compartmentId, * displayName: remediationRunDisplayName, * id: remediationRunId, * remediationRecipeId: testRemediationRecipe.id, * state: remediationRunState, * }); * ``` */ export declare function getRemediationRunsOutput(args?: GetRemediationRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRemediationRuns. */ export interface GetRemediationRunsOutputArgs { /** * A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified. */ id?: pulumi.Input; /** * A filter to return only resources that match the specified Remediation Recipe identifier. */ remediationRecipeId?: pulumi.Input; /** * A filter to return only Remediation Runs that match the specified lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getRemediationRuns.d.ts.map