1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Adm
  5. RemediationRun
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Adm.RemediationRun

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Remediation Run resource in Oracle Cloud Infrastructure Adm service.

    Creates a new remediation run.

    Example Usage

    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 pulumi
    import pulumi_oci as oci
    
    test_remediation_run = oci.adm.RemediationRun("test_remediation_run",
        remediation_recipe_id=test_remediation_recipe["id"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        display_name=remediation_run_display_name,
        freeform_tags={
            "bar-key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Adm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Adm.NewRemediationRun(ctx, "test_remediation_run", &Adm.RemediationRunArgs{
    			RemediationRecipeId: pulumi.Any(testRemediationRecipe.Id),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			DisplayName: pulumi.Any(remediationRunDisplayName),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testRemediationRun = new Oci.Adm.RemediationRun("test_remediation_run", new()
        {
            RemediationRecipeId = testRemediationRecipe.Id,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            DisplayName = remediationRunDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Adm.RemediationRun;
    import com.pulumi.oci.Adm.RemediationRunArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testRemediationRun = new RemediationRun("testRemediationRun", RemediationRunArgs.builder()
                .remediationRecipeId(testRemediationRecipe.id())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .displayName(remediationRunDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testRemediationRun:
        type: oci:Adm:RemediationRun
        name: test_remediation_run
        properties:
          remediationRecipeId: ${testRemediationRecipe.id}
          definedTags:
            foo-namespace.bar-key: value
          displayName: ${remediationRunDisplayName}
          freeformTags:
            bar-key: value
    

    Create RemediationRun Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RemediationRun(name: string, args: RemediationRunArgs, opts?: CustomResourceOptions);
    @overload
    def RemediationRun(resource_name: str,
                       args: RemediationRunArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def RemediationRun(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       remediation_recipe_id: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       display_name: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewRemediationRun(ctx *Context, name string, args RemediationRunArgs, opts ...ResourceOption) (*RemediationRun, error)
    public RemediationRun(string name, RemediationRunArgs args, CustomResourceOptions? opts = null)
    public RemediationRun(String name, RemediationRunArgs args)
    public RemediationRun(String name, RemediationRunArgs args, CustomResourceOptions options)
    
    type: oci:Adm:RemediationRun
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RemediationRunArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RemediationRunArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RemediationRunArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RemediationRunArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RemediationRunArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var remediationRunResource = new Oci.Adm.RemediationRun("remediationRunResource", new()
    {
        RemediationRecipeId = "string",
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := Adm.NewRemediationRun(ctx, "remediationRunResource", &Adm.RemediationRunArgs{
    	RemediationRecipeId: pulumi.String("string"),
    	CompartmentId:       pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var remediationRunResource = new RemediationRun("remediationRunResource", RemediationRunArgs.builder()
        .remediationRecipeId("string")
        .compartmentId("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    remediation_run_resource = oci.adm.RemediationRun("remediationRunResource",
        remediation_recipe_id="string",
        compartment_id="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        })
    
    const remediationRunResource = new oci.adm.RemediationRun("remediationRunResource", {
        remediationRecipeId: "string",
        compartmentId: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:Adm:RemediationRun
    properties:
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        remediationRecipeId: string
    

    RemediationRun Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RemediationRun resource accepts the following input properties:

    RemediationRecipeId string

    The Oracle Cloud identifier (OCID) 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

    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the remediation run.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    RemediationRecipeId string

    The Oracle Cloud identifier (OCID) 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

    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the remediation run.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediationRecipeId String

    The Oracle Cloud identifier (OCID) 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

    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the remediation run.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediationRecipeId string

    The Oracle Cloud identifier (OCID) 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

    compartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) The name of the remediation run.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediation_recipe_id str

    The Oracle Cloud identifier (OCID) 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

    compartment_id str
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) The name of the remediation run.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediationRecipeId String

    The Oracle Cloud identifier (OCID) 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

    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the remediation run.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RemediationRun resource produces the following output properties:

    CurrentStageType string
    The type of the current stage of the remediation run.
    Id string
    The provider-assigned unique ID for this managed resource.
    RemediationRunSource string
    The source that triggered the Remediation Recipe.
    Stages List<RemediationRunStage>
    The list of remediation run stage summaries.
    State string
    The current lifecycle state of the remediation run.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    TimeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    TimeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    TimeUpdated string
    The date and time the remediation run was last updated (formatted according to RFC3339).
    CurrentStageType string
    The type of the current stage of the remediation run.
    Id string
    The provider-assigned unique ID for this managed resource.
    RemediationRunSource string
    The source that triggered the Remediation Recipe.
    Stages []RemediationRunStage
    The list of remediation run stage summaries.
    State string
    The current lifecycle state of the remediation run.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    TimeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    TimeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    TimeUpdated string
    The date and time the remediation run was last updated (formatted according to RFC3339).
    currentStageType String
    The type of the current stage of the remediation run.
    id String
    The provider-assigned unique ID for this managed resource.
    remediationRunSource String
    The source that triggered the Remediation Recipe.
    stages List<RemediationRunStage>
    The list of remediation run stage summaries.
    state String
    The current lifecycle state of the remediation run.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished String
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted String
    The date and time of the start of the remediation run (formatted according to RFC3339).
    timeUpdated String
    The date and time the remediation run was last updated (formatted according to RFC3339).
    currentStageType string
    The type of the current stage of the remediation run.
    id string
    The provider-assigned unique ID for this managed resource.
    remediationRunSource string
    The source that triggered the Remediation Recipe.
    stages RemediationRunStage[]
    The list of remediation run stage summaries.
    state string
    The current lifecycle state of the remediation run.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    timeUpdated string
    The date and time the remediation run was last updated (formatted according to RFC3339).
    current_stage_type str
    The type of the current stage of the remediation run.
    id str
    The provider-assigned unique ID for this managed resource.
    remediation_run_source str
    The source that triggered the Remediation Recipe.
    stages Sequence[adm.RemediationRunStage]
    The list of remediation run stage summaries.
    state str
    The current lifecycle state of the remediation run.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The creation date and time of the remediation run (formatted according to RFC3339).
    time_finished str
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    time_started str
    The date and time of the start of the remediation run (formatted according to RFC3339).
    time_updated str
    The date and time the remediation run was last updated (formatted according to RFC3339).
    currentStageType String
    The type of the current stage of the remediation run.
    id String
    The provider-assigned unique ID for this managed resource.
    remediationRunSource String
    The source that triggered the Remediation Recipe.
    stages List<Property Map>
    The list of remediation run stage summaries.
    state String
    The current lifecycle state of the remediation run.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished String
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted String
    The date and time of the start of the remediation run (formatted according to RFC3339).
    timeUpdated String
    The date and time the remediation run was last updated (formatted according to RFC3339).

    Look up Existing RemediationRun Resource

    Get an existing RemediationRun resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RemediationRunState, opts?: CustomResourceOptions): RemediationRun
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            current_stage_type: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            remediation_recipe_id: Optional[str] = None,
            remediation_run_source: Optional[str] = None,
            stages: Optional[Sequence[_adm.RemediationRunStageArgs]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_finished: Optional[str] = None,
            time_started: Optional[str] = None,
            time_updated: Optional[str] = None) -> RemediationRun
    func GetRemediationRun(ctx *Context, name string, id IDInput, state *RemediationRunState, opts ...ResourceOption) (*RemediationRun, error)
    public static RemediationRun Get(string name, Input<string> id, RemediationRunState? state, CustomResourceOptions? opts = null)
    public static RemediationRun get(String name, Output<String> id, RemediationRunState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    CurrentStageType string
    The type of the current stage of the remediation run.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the remediation run.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    RemediationRecipeId string

    The Oracle Cloud identifier (OCID) 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

    RemediationRunSource string
    The source that triggered the Remediation Recipe.
    Stages List<RemediationRunStage>
    The list of remediation run stage summaries.
    State string
    The current lifecycle state of the remediation run.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    TimeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    TimeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    TimeUpdated string
    The date and time the remediation run was last updated (formatted according to RFC3339).
    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    CurrentStageType string
    The type of the current stage of the remediation run.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the remediation run.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    RemediationRecipeId string

    The Oracle Cloud identifier (OCID) 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

    RemediationRunSource string
    The source that triggered the Remediation Recipe.
    Stages []RemediationRunStageArgs
    The list of remediation run stage summaries.
    State string
    The current lifecycle state of the remediation run.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    TimeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    TimeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    TimeUpdated string
    The date and time the remediation run was last updated (formatted according to RFC3339).
    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    currentStageType String
    The type of the current stage of the remediation run.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the remediation run.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediationRecipeId String

    The Oracle Cloud identifier (OCID) 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

    remediationRunSource String
    The source that triggered the Remediation Recipe.
    stages List<RemediationRunStage>
    The list of remediation run stage summaries.
    state String
    The current lifecycle state of the remediation run.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished String
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted String
    The date and time of the start of the remediation run (formatted according to RFC3339).
    timeUpdated String
    The date and time the remediation run was last updated (formatted according to RFC3339).
    compartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    currentStageType string
    The type of the current stage of the remediation run.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) The name of the remediation run.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediationRecipeId string

    The Oracle Cloud identifier (OCID) 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

    remediationRunSource string
    The source that triggered the Remediation Recipe.
    stages RemediationRunStage[]
    The list of remediation run stage summaries.
    state string
    The current lifecycle state of the remediation run.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    timeUpdated string
    The date and time the remediation run was last updated (formatted according to RFC3339).
    compartment_id str
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    current_stage_type str
    The type of the current stage of the remediation run.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) The name of the remediation run.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediation_recipe_id str

    The Oracle Cloud identifier (OCID) 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

    remediation_run_source str
    The source that triggered the Remediation Recipe.
    stages Sequence[adm.RemediationRunStageArgs]
    The list of remediation run stage summaries.
    state str
    The current lifecycle state of the remediation run.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The creation date and time of the remediation run (formatted according to RFC3339).
    time_finished str
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    time_started str
    The date and time of the start of the remediation run (formatted according to RFC3339).
    time_updated str
    The date and time the remediation run was last updated (formatted according to RFC3339).
    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation run.
    currentStageType String
    The type of the current stage of the remediation run.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the remediation run.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    remediationRecipeId String

    The Oracle Cloud identifier (OCID) 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

    remediationRunSource String
    The source that triggered the Remediation Recipe.
    stages List<Property Map>
    The list of remediation run stage summaries.
    state String
    The current lifecycle state of the remediation run.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished String
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted String
    The date and time of the start of the remediation run (formatted according to RFC3339).
    timeUpdated String
    The date and time the remediation run was last updated (formatted according to RFC3339).

    Supporting Types

    RemediationRunStage, RemediationRunStageArgs

    Summary string
    Information about the current step within the given stage.
    TimeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    TimeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    TimeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    Type string
    The type of stage.
    Summary string
    Information about the current step within the given stage.
    TimeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    TimeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    TimeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    Type string
    The type of stage.
    summary String
    Information about the current step within the given stage.
    timeCreated String
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished String
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted String
    The date and time of the start of the remediation run (formatted according to RFC3339).
    type String
    The type of stage.
    summary string
    Information about the current step within the given stage.
    timeCreated string
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished string
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted string
    The date and time of the start of the remediation run (formatted according to RFC3339).
    type string
    The type of stage.
    summary str
    Information about the current step within the given stage.
    time_created str
    The creation date and time of the remediation run (formatted according to RFC3339).
    time_finished str
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    time_started str
    The date and time of the start of the remediation run (formatted according to RFC3339).
    type str
    The type of stage.
    summary String
    Information about the current step within the given stage.
    timeCreated String
    The creation date and time of the remediation run (formatted according to RFC3339).
    timeFinished String
    The date and time of the finish of the remediation run (formatted according to RFC3339).
    timeStarted String
    The date and time of the start of the remediation run (formatted according to RFC3339).
    type String
    The type of stage.

    Import

    RemediationRuns can be imported using the id, e.g.

    $ pulumi import oci:Adm/remediationRun:RemediationRun test_remediation_run "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi