import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Remediation Run resource in Oracle Cloud Infrastructure Adm service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/adm/latest/RemediationRun * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/adm * * Creates a new remediation run. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRemediationRun = new oci.adm.RemediationRun("test_remediation_run", { * remediationRecipeId: testRemediationRecipe.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * displayName: remediationRunDisplayName, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * RemediationRuns can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Adm/remediationRun:RemediationRun test_remediation_run "id" * ``` */ export declare class RemediationRun extends pulumi.CustomResource { /** * Get an existing RemediationRun resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RemediationRunState, opts?: pulumi.CustomResourceOptions): RemediationRun; /** * Returns true if the given object is an instance of RemediationRun. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RemediationRun; /** * (Updatable) The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the remediation run. */ readonly compartmentId: pulumi.Output; /** * The type of the current stage of the remediation run. */ readonly currentStageType: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The name of the remediation run. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly remediationRecipeId: pulumi.Output; /** * The source that triggered the Remediation Recipe. */ readonly remediationRunSource: pulumi.Output; /** * The list of remediation run stage summaries. */ readonly stages: pulumi.Output; /** * The current lifecycle state of the remediation run. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The creation date and time of the remediation run (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeCreated: pulumi.Output; /** * The date and time of the finish of the remediation run (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeFinished: pulumi.Output; /** * The date and time of the start of the remediation run (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeStarted: pulumi.Output; /** * The date and time the remediation run was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeUpdated: pulumi.Output; /** * Create a RemediationRun resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RemediationRunArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RemediationRun resources. */ export interface RemediationRunState { /** * (Updatable) The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the remediation run. */ compartmentId?: pulumi.Input; /** * The type of the current stage of the remediation run. */ currentStageType?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The name of the remediation run. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ remediationRecipeId?: pulumi.Input; /** * The source that triggered the Remediation Recipe. */ remediationRunSource?: pulumi.Input; /** * The list of remediation run stage summaries. */ stages?: pulumi.Input[] | undefined>; /** * The current lifecycle state of the remediation run. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The creation date and time of the remediation run (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeCreated?: pulumi.Input; /** * The date and time of the finish of the remediation run (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeFinished?: pulumi.Input; /** * The date and time of the start of the remediation run (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeStarted?: pulumi.Input; /** * The date and time the remediation run was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a RemediationRun resource. */ export interface RemediationRunArgs { /** * (Updatable) The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the remediation run. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The name of the remediation run. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ remediationRecipeId: pulumi.Input; } //# sourceMappingURL=remediationRun.d.ts.map