Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Adm.getRemediationRun
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Remediation Run resource in Oracle Cloud Infrastructure Adm service.
Returns the details of the specified remediation run.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRemediationRun = oci.Adm.getRemediationRun({
remediationRunId: testRemediationRunOciAdmRemediationRun.id,
});
import pulumi
import pulumi_oci as oci
test_remediation_run = oci.Adm.get_remediation_run(remediation_run_id=test_remediation_run_oci_adm_remediation_run["id"])
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.GetRemediationRun(ctx, &adm.GetRemediationRunArgs{
RemediationRunId: testRemediationRunOciAdmRemediationRun.Id,
}, nil)
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 = Oci.Adm.GetRemediationRun.Invoke(new()
{
RemediationRunId = testRemediationRunOciAdmRemediationRun.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Adm.AdmFunctions;
import com.pulumi.oci.Adm.inputs.GetRemediationRunArgs;
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) {
final var testRemediationRun = AdmFunctions.getRemediationRun(GetRemediationRunArgs.builder()
.remediationRunId(testRemediationRunOciAdmRemediationRun.id())
.build());
}
}
variables:
testRemediationRun:
fn::invoke:
Function: oci:Adm:getRemediationRun
Arguments:
remediationRunId: ${testRemediationRunOciAdmRemediationRun.id}
Using getRemediationRun
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRemediationRun(args: GetRemediationRunArgs, opts?: InvokeOptions): Promise<GetRemediationRunResult>
function getRemediationRunOutput(args: GetRemediationRunOutputArgs, opts?: InvokeOptions): Output<GetRemediationRunResult>
def get_remediation_run(remediation_run_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRemediationRunResult
def get_remediation_run_output(remediation_run_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRemediationRunResult]
func GetRemediationRun(ctx *Context, args *GetRemediationRunArgs, opts ...InvokeOption) (*GetRemediationRunResult, error)
func GetRemediationRunOutput(ctx *Context, args *GetRemediationRunOutputArgs, opts ...InvokeOption) GetRemediationRunResultOutput
> Note: This function is named GetRemediationRun
in the Go SDK.
public static class GetRemediationRun
{
public static Task<GetRemediationRunResult> InvokeAsync(GetRemediationRunArgs args, InvokeOptions? opts = null)
public static Output<GetRemediationRunResult> Invoke(GetRemediationRunInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRemediationRunResult> getRemediationRun(GetRemediationRunArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Adm/getRemediationRun:getRemediationRun
arguments:
# arguments dictionary
The following arguments are supported:
- Remediation
Run stringId - Unique Remediation Run identifier path parameter.
- Remediation
Run stringId - Unique Remediation Run identifier path parameter.
- remediation
Run StringId - Unique Remediation Run identifier path parameter.
- remediation
Run stringId - Unique Remediation Run identifier path parameter.
- remediation_
run_ strid - Unique Remediation Run identifier path parameter.
- remediation
Run StringId - Unique Remediation Run identifier path parameter.
getRemediationRun Result
The following output properties are available:
- Compartment
Id string - The compartment Oracle Cloud Identifier (OCID) of the remediation run.
- Current
Stage stringType - The type of the current stage of the remediation run.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - The name of the remediation run.
- Dictionary<string, object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The Oracle Cloud Identifier (OCID) of the remediation run.
- Remediation
Recipe stringId - The Oracle Cloud Identifier (OCID) of the Remediation Recipe.
- Remediation
Run stringId - Remediation
Run stringSource - The source that triggered the Remediation Recipe.
- Stages
List<Get
Remediation Run Stage> - The list of remediation run stage summaries.
- State string
- The current lifecycle state of the remediation run.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The creation date and time of the remediation run (formatted according to RFC3339).
- Time
Finished string - The date and time of the finish of the remediation run (formatted according to RFC3339).
- Time
Started string - The date and time of the start of the remediation run (formatted according to RFC3339).
- Time
Updated string - The date and time the remediation run was last updated (formatted according to RFC3339).
- Compartment
Id string - The compartment Oracle Cloud Identifier (OCID) of the remediation run.
- Current
Stage stringType - The type of the current stage of the remediation run.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - The name of the remediation run.
- map[string]interface{}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The Oracle Cloud Identifier (OCID) of the remediation run.
- Remediation
Recipe stringId - The Oracle Cloud Identifier (OCID) of the Remediation Recipe.
- Remediation
Run stringId - Remediation
Run stringSource - The source that triggered the Remediation Recipe.
- Stages
[]Get
Remediation Run Stage - The list of remediation run stage summaries.
- State string
- The current lifecycle state of the remediation run.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The creation date and time of the remediation run (formatted according to RFC3339).
- Time
Finished string - The date and time of the finish of the remediation run (formatted according to RFC3339).
- Time
Started string - The date and time of the start of the remediation run (formatted according to RFC3339).
- Time
Updated string - The date and time the remediation run was last updated (formatted according to RFC3339).
- compartment
Id String - The compartment Oracle Cloud Identifier (OCID) of the remediation run.
- current
Stage StringType - The type of the current stage of the remediation run.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - The name of the remediation run.
- Map<String,Object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The Oracle Cloud Identifier (OCID) of the remediation run.
- remediation
Recipe StringId - The Oracle Cloud Identifier (OCID) of the Remediation Recipe.
- remediation
Run StringId - remediation
Run StringSource - The source that triggered the Remediation Recipe.
- stages
List<Get
Remediation Run Stage> - The list of remediation run stage summaries.
- state String
- The current lifecycle state of the remediation run.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The creation date and time of the remediation run (formatted according to RFC3339).
- time
Finished String - The date and time of the finish of the remediation run (formatted according to RFC3339).
- time
Started String - The date and time of the start of the remediation run (formatted according to RFC3339).
- time
Updated String - The date and time the remediation run was last updated (formatted according to RFC3339).
- compartment
Id string - The compartment Oracle Cloud Identifier (OCID) of the remediation run.
- current
Stage stringType - The type of the current stage of the remediation run.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - The name of the remediation run.
- {[key: string]: any}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- The Oracle Cloud Identifier (OCID) of the remediation run.
- remediation
Recipe stringId - The Oracle Cloud Identifier (OCID) of the Remediation Recipe.
- remediation
Run stringId - remediation
Run stringSource - The source that triggered the Remediation Recipe.
- stages
Get
Remediation Run Stage[] - The list of remediation run stage summaries.
- state string
- The current lifecycle state of the remediation run.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The creation date and time of the remediation run (formatted according to RFC3339).
- time
Finished string - The date and time of the finish of the remediation run (formatted according to RFC3339).
- time
Started string - The date and time of the start of the remediation run (formatted according to RFC3339).
- time
Updated string - The date and time the remediation run was last updated (formatted according to RFC3339).
- compartment_
id str - The compartment Oracle Cloud Identifier (OCID) of the remediation run.
- current_
stage_ strtype - The type of the current stage of the remediation run.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - The name of the remediation run.
- Mapping[str, Any]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- The Oracle Cloud Identifier (OCID) of the remediation run.
- remediation_
recipe_ strid - The Oracle Cloud Identifier (OCID) of the Remediation Recipe.
- remediation_
run_ strid - remediation_
run_ strsource - The source that triggered the Remediation Recipe.
- stages
Sequence[adm.
Get Remediation Run Stage] - The list of remediation run stage summaries.
- state str
- The current lifecycle state of the remediation run.
- 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).
- compartment
Id String - The compartment Oracle Cloud Identifier (OCID) of the remediation run.
- current
Stage StringType - The type of the current stage of the remediation run.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - The name of the remediation run.
- Map<Any>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The Oracle Cloud Identifier (OCID) of the remediation run.
- remediation
Recipe StringId - The Oracle Cloud Identifier (OCID) of the Remediation Recipe.
- remediation
Run StringId - remediation
Run StringSource - 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.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The creation date and time of the remediation run (formatted according to RFC3339).
- time
Finished String - The date and time of the finish of the remediation run (formatted according to RFC3339).
- time
Started String - The date and time of the start of the remediation run (formatted according to RFC3339).
- time
Updated String - The date and time the remediation run was last updated (formatted according to RFC3339).
Supporting Types
GetRemediationRunStage
- Summary string
- Information about the current step within the given stage.
- Time
Created string - The creation date and time of the remediation run (formatted according to RFC3339).
- Time
Finished string - The date and time of the finish of the remediation run (formatted according to RFC3339).
- Time
Started 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.
- Time
Created string - The creation date and time of the remediation run (formatted according to RFC3339).
- Time
Finished string - The date and time of the finish of the remediation run (formatted according to RFC3339).
- Time
Started 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.
- time
Created String - The creation date and time of the remediation run (formatted according to RFC3339).
- time
Finished String - The date and time of the finish of the remediation run (formatted according to RFC3339).
- time
Started 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.
- time
Created string - The creation date and time of the remediation run (formatted according to RFC3339).
- time
Finished string - The date and time of the finish of the remediation run (formatted according to RFC3339).
- time
Started 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.
- time
Created String - The creation date and time of the remediation run (formatted according to RFC3339).
- time
Finished String - The date and time of the finish of the remediation run (formatted according to RFC3339).
- time
Started String - The date and time of the start of the remediation run (formatted according to RFC3339).
- type String
- The type of stage.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi