oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.CloudGuard.getResponderRecipe

This data source provides details about a specific Responder Recipe resource in Oracle Cloud Infrastructure Cloud Guard service.

Get a ResponderRecipe by identifier

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testResponderRecipe = Oci.CloudGuard.GetResponderRecipe.Invoke(new()
    {
        ResponderRecipeId = oci_cloud_guard_responder_recipe.Test_responder_recipe.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/CloudGuard"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := CloudGuard.GetResponderRecipe(ctx, &cloudguard.GetResponderRecipeArgs{
			ResponderRecipeId: oci_cloud_guard_responder_recipe.Test_responder_recipe.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.CloudGuardFunctions;
import com.pulumi.oci.CloudGuard.inputs.GetResponderRecipeArgs;
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 testResponderRecipe = CloudGuardFunctions.getResponderRecipe(GetResponderRecipeArgs.builder()
            .responderRecipeId(oci_cloud_guard_responder_recipe.test_responder_recipe().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_responder_recipe = oci.CloudGuard.get_responder_recipe(responder_recipe_id=oci_cloud_guard_responder_recipe["test_responder_recipe"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testResponderRecipe = oci.CloudGuard.getResponderRecipe({
    responderRecipeId: oci_cloud_guard_responder_recipe.test_responder_recipe.id,
});
variables:
  testResponderRecipe:
    fn::invoke:
      Function: oci:CloudGuard:getResponderRecipe
      Arguments:
        responderRecipeId: ${oci_cloud_guard_responder_recipe.test_responder_recipe.id}

Using getResponderRecipe

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 getResponderRecipe(args: GetResponderRecipeArgs, opts?: InvokeOptions): Promise<GetResponderRecipeResult>
function getResponderRecipeOutput(args: GetResponderRecipeOutputArgs, opts?: InvokeOptions): Output<GetResponderRecipeResult>
def get_responder_recipe(responder_recipe_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetResponderRecipeResult
def get_responder_recipe_output(responder_recipe_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetResponderRecipeResult]
func GetResponderRecipe(ctx *Context, args *GetResponderRecipeArgs, opts ...InvokeOption) (*GetResponderRecipeResult, error)
func GetResponderRecipeOutput(ctx *Context, args *GetResponderRecipeOutputArgs, opts ...InvokeOption) GetResponderRecipeResultOutput

> Note: This function is named GetResponderRecipe in the Go SDK.

public static class GetResponderRecipe 
{
    public static Task<GetResponderRecipeResult> InvokeAsync(GetResponderRecipeArgs args, InvokeOptions? opts = null)
    public static Output<GetResponderRecipeResult> Invoke(GetResponderRecipeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResponderRecipeResult> getResponderRecipe(GetResponderRecipeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:CloudGuard/getResponderRecipe:getResponderRecipe
  arguments:
    # arguments dictionary

The following arguments are supported:

ResponderRecipeId string

OCID of ResponderRecipe

ResponderRecipeId string

OCID of ResponderRecipe

responderRecipeId String

OCID of ResponderRecipe

responderRecipeId string

OCID of ResponderRecipe

responder_recipe_id str

OCID of ResponderRecipe

responderRecipeId String

OCID of ResponderRecipe

getResponderRecipe Result

The following output properties are available:

CompartmentId string

Compartment Identifier

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

ResponderRule description.

DisplayName string

ResponderRule display name.

EffectiveResponderRules List<GetResponderRecipeEffectiveResponderRule>

List of responder rules associated with the recipe

FreeformTags 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

Identifier for ResponderRecipe.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Owner string

Owner of ResponderRecipe

ResponderRecipeId string
ResponderRules List<GetResponderRecipeResponderRule>

List of responder rules associated with the recipe

SourceResponderRecipeId string

The id of the source responder recipe.

State string

The current state of the Example.

SystemTags Dictionary<string, object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

TimeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

CompartmentId string

Compartment Identifier

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

ResponderRule description.

DisplayName string

ResponderRule display name.

EffectiveResponderRules []GetResponderRecipeEffectiveResponderRule

List of responder rules associated with the recipe

FreeformTags 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

Identifier for ResponderRecipe.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Owner string

Owner of ResponderRecipe

ResponderRecipeId string
ResponderRules []GetResponderRecipeResponderRule

List of responder rules associated with the recipe

SourceResponderRecipeId string

The id of the source responder recipe.

State string

The current state of the Example.

SystemTags map[string]interface{}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

TimeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

compartmentId String

Compartment Identifier

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

ResponderRule description.

displayName String

ResponderRule display name.

effectiveResponderRules List<GetResponderRecipeEffectiveResponderRule>

List of responder rules associated with the recipe

freeformTags 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

Identifier for ResponderRecipe.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

owner String

Owner of ResponderRecipe

responderRecipeId String
responderRules List<GetResponderRecipeResponderRule>

List of responder rules associated with the recipe

sourceResponderRecipeId String

The id of the source responder recipe.

state String

The current state of the Example.

systemTags Map<String,Object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated String

The date and time the responder recipe was updated. Format defined by RFC3339.

compartmentId string

Compartment Identifier

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

ResponderRule description.

displayName string

ResponderRule display name.

effectiveResponderRules GetResponderRecipeEffectiveResponderRule[]

List of responder rules associated with the recipe

freeformTags {[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

Identifier for ResponderRecipe.

lifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

owner string

Owner of ResponderRecipe

responderRecipeId string
responderRules GetResponderRecipeResponderRule[]

List of responder rules associated with the recipe

sourceResponderRecipeId string

The id of the source responder recipe.

state string

The current state of the Example.

systemTags {[key: string]: any}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

compartment_id str

Compartment Identifier

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

ResponderRule description.

display_name str

ResponderRule display name.

effective_responder_rules GetResponderRecipeEffectiveResponderRule]

List of responder rules associated with the recipe

freeform_tags 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

Identifier for ResponderRecipe.

lifecycle_details str

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

owner str

Owner of ResponderRecipe

responder_recipe_id str
responder_rules GetResponderRecipeResponderRule]

List of responder rules associated with the recipe

source_responder_recipe_id str

The id of the source responder recipe.

state str

The current state of the Example.

system_tags Mapping[str, Any]

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

time_created str

The date and time the responder recipe was created. Format defined by RFC3339.

time_updated str

The date and time the responder recipe was updated. Format defined by RFC3339.

compartmentId String

Compartment Identifier

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

ResponderRule description.

displayName String

ResponderRule display name.

effectiveResponderRules List<Property Map>

List of responder rules associated with the recipe

freeformTags 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

Identifier for ResponderRecipe.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

owner String

Owner of ResponderRecipe

responderRecipeId String
responderRules List<Property Map>

List of responder rules associated with the recipe

sourceResponderRecipeId String

The id of the source responder recipe.

state String

The current state of the Example.

systemTags Map<Any>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated String

The date and time the responder recipe was updated. Format defined by RFC3339.

Supporting Types

GetResponderRecipeEffectiveResponderRule

CompartmentId string

Compartment Identifier

Description string

ResponderRule description.

Details List<GetResponderRecipeEffectiveResponderRuleDetail>

Details of ResponderRule.

DisplayName string

ResponderRule display name.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Policies List<string>

List of Policy

ResponderRuleId string

Identifier for ResponderRule.

State string

The current state of the Example.

SupportedModes List<string>

Supported Execution Modes

TimeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

TimeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

Type string

Type of Responder

CompartmentId string

Compartment Identifier

Description string

ResponderRule description.

Details []GetResponderRecipeEffectiveResponderRuleDetail

Details of ResponderRule.

DisplayName string

ResponderRule display name.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Policies []string

List of Policy

ResponderRuleId string

Identifier for ResponderRule.

State string

The current state of the Example.

SupportedModes []string

Supported Execution Modes

TimeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

TimeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

Type string

Type of Responder

compartmentId String

Compartment Identifier

description String

ResponderRule description.

details List<GetResponderRecipeEffectiveResponderRuleDetail>

Details of ResponderRule.

displayName String

ResponderRule display name.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies List<String>

List of Policy

responderRuleId String

Identifier for ResponderRule.

state String

The current state of the Example.

supportedModes List<String>

Supported Execution Modes

timeCreated String

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated String

The date and time the responder recipe was updated. Format defined by RFC3339.

type String

Type of Responder

compartmentId string

Compartment Identifier

description string

ResponderRule description.

details GetResponderRecipeEffectiveResponderRuleDetail[]

Details of ResponderRule.

displayName string

ResponderRule display name.

lifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies string[]

List of Policy

responderRuleId string

Identifier for ResponderRule.

state string

The current state of the Example.

supportedModes string[]

Supported Execution Modes

timeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

type string

Type of Responder

compartment_id str

Compartment Identifier

description str

ResponderRule description.

details GetResponderRecipeEffectiveResponderRuleDetail]

Details of ResponderRule.

display_name str

ResponderRule display name.

lifecycle_details str

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies Sequence[str]

List of Policy

responder_rule_id str

Identifier for ResponderRule.

state str

The current state of the Example.

supported_modes Sequence[str]

Supported Execution Modes

time_created str

The date and time the responder recipe was created. Format defined by RFC3339.

time_updated str

The date and time the responder recipe was updated. Format defined by RFC3339.

type str

Type of Responder

compartmentId String

Compartment Identifier

description String

ResponderRule description.

details List<Property Map>

Details of ResponderRule.

displayName String

ResponderRule display name.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies List<String>

List of Policy

responderRuleId String

Identifier for ResponderRule.

state String

The current state of the Example.

supportedModes List<String>

Supported Execution Modes

timeCreated String

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated String

The date and time the responder recipe was updated. Format defined by RFC3339.

type String

Type of Responder

GetResponderRecipeEffectiveResponderRuleDetail

Condition string

Base condition object

Configurations List<GetResponderRecipeEffectiveResponderRuleDetailConfiguration>

ResponderRule configurations

IsEnabled bool

Identifies state for ResponderRule

Mode string

Execution Mode for ResponderRule

Condition string

Base condition object

Configurations []GetResponderRecipeEffectiveResponderRuleDetailConfiguration

ResponderRule configurations

IsEnabled bool

Identifies state for ResponderRule

Mode string

Execution Mode for ResponderRule

condition String

Base condition object

configurations List<GetResponderRecipeEffectiveResponderRuleDetailConfiguration>

ResponderRule configurations

isEnabled Boolean

Identifies state for ResponderRule

mode String

Execution Mode for ResponderRule

condition string

Base condition object

configurations GetResponderRecipeEffectiveResponderRuleDetailConfiguration[]

ResponderRule configurations

isEnabled boolean

Identifies state for ResponderRule

mode string

Execution Mode for ResponderRule

condition str

Base condition object

configurations GetResponderRecipeEffectiveResponderRuleDetailConfiguration]

ResponderRule configurations

is_enabled bool

Identifies state for ResponderRule

mode str

Execution Mode for ResponderRule

condition String

Base condition object

configurations List<Property Map>

ResponderRule configurations

isEnabled Boolean

Identifies state for ResponderRule

mode String

Execution Mode for ResponderRule

GetResponderRecipeEffectiveResponderRuleDetailConfiguration

ConfigKey string

Unique name of the configuration

Name string

configuration name

Value string

configuration value

ConfigKey string

Unique name of the configuration

Name string

configuration name

Value string

configuration value

configKey String

Unique name of the configuration

name String

configuration name

value String

configuration value

configKey string

Unique name of the configuration

name string

configuration name

value string

configuration value

config_key str

Unique name of the configuration

name str

configuration name

value str

configuration value

configKey String

Unique name of the configuration

name String

configuration name

value String

configuration value

GetResponderRecipeResponderRule

CompartmentId string

Compartment Identifier

Description string

ResponderRule description.

Details List<GetResponderRecipeResponderRuleDetail>

Details of ResponderRule.

DisplayName string

ResponderRule display name.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Policies List<string>

List of Policy

ResponderRuleId string

Identifier for ResponderRule.

State string

The current state of the Example.

SupportedModes List<string>

Supported Execution Modes

TimeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

TimeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

Type string

Type of Responder

CompartmentId string

Compartment Identifier

Description string

ResponderRule description.

Details []GetResponderRecipeResponderRuleDetail

Details of ResponderRule.

DisplayName string

ResponderRule display name.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Policies []string

List of Policy

ResponderRuleId string

Identifier for ResponderRule.

State string

The current state of the Example.

SupportedModes []string

Supported Execution Modes

TimeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

TimeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

Type string

Type of Responder

compartmentId String

Compartment Identifier

description String

ResponderRule description.

details List<GetResponderRecipeResponderRuleDetail>

Details of ResponderRule.

displayName String

ResponderRule display name.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies List<String>

List of Policy

responderRuleId String

Identifier for ResponderRule.

state String

The current state of the Example.

supportedModes List<String>

Supported Execution Modes

timeCreated String

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated String

The date and time the responder recipe was updated. Format defined by RFC3339.

type String

Type of Responder

compartmentId string

Compartment Identifier

description string

ResponderRule description.

details GetResponderRecipeResponderRuleDetail[]

Details of ResponderRule.

displayName string

ResponderRule display name.

lifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies string[]

List of Policy

responderRuleId string

Identifier for ResponderRule.

state string

The current state of the Example.

supportedModes string[]

Supported Execution Modes

timeCreated string

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated string

The date and time the responder recipe was updated. Format defined by RFC3339.

type string

Type of Responder

compartment_id str

Compartment Identifier

description str

ResponderRule description.

details GetResponderRecipeResponderRuleDetail]

Details of ResponderRule.

display_name str

ResponderRule display name.

lifecycle_details str

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies Sequence[str]

List of Policy

responder_rule_id str

Identifier for ResponderRule.

state str

The current state of the Example.

supported_modes Sequence[str]

Supported Execution Modes

time_created str

The date and time the responder recipe was created. Format defined by RFC3339.

time_updated str

The date and time the responder recipe was updated. Format defined by RFC3339.

type str

Type of Responder

compartmentId String

Compartment Identifier

description String

ResponderRule description.

details List<Property Map>

Details of ResponderRule.

displayName String

ResponderRule display name.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

policies List<String>

List of Policy

responderRuleId String

Identifier for ResponderRule.

state String

The current state of the Example.

supportedModes List<String>

Supported Execution Modes

timeCreated String

The date and time the responder recipe was created. Format defined by RFC3339.

timeUpdated String

The date and time the responder recipe was updated. Format defined by RFC3339.

type String

Type of Responder

GetResponderRecipeResponderRuleDetail

Condition string

Base condition object

Configurations List<GetResponderRecipeResponderRuleDetailConfiguration>

ResponderRule configurations

IsEnabled bool

Identifies state for ResponderRule

Mode string

Execution Mode for ResponderRule

Condition string

Base condition object

Configurations []GetResponderRecipeResponderRuleDetailConfiguration

ResponderRule configurations

IsEnabled bool

Identifies state for ResponderRule

Mode string

Execution Mode for ResponderRule

condition String

Base condition object

configurations List<GetResponderRecipeResponderRuleDetailConfiguration>

ResponderRule configurations

isEnabled Boolean

Identifies state for ResponderRule

mode String

Execution Mode for ResponderRule

condition string

Base condition object

configurations GetResponderRecipeResponderRuleDetailConfiguration[]

ResponderRule configurations

isEnabled boolean

Identifies state for ResponderRule

mode string

Execution Mode for ResponderRule

condition str

Base condition object

configurations GetResponderRecipeResponderRuleDetailConfiguration]

ResponderRule configurations

is_enabled bool

Identifies state for ResponderRule

mode str

Execution Mode for ResponderRule

condition String

Base condition object

configurations List<Property Map>

ResponderRule configurations

isEnabled Boolean

Identifies state for ResponderRule

mode String

Execution Mode for ResponderRule

GetResponderRecipeResponderRuleDetailConfiguration

ConfigKey string

Unique name of the configuration

Name string

configuration name

Value string

configuration value

ConfigKey string

Unique name of the configuration

Name string

configuration name

Value string

configuration value

configKey String

Unique name of the configuration

name String

configuration name

value String

configuration value

configKey string

Unique name of the configuration

name string

configuration name

value string

configuration value

config_key str

Unique name of the configuration

name str

configuration name

value str

configuration value

configKey String

Unique name of the configuration

name String

configuration name

value String

configuration value

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.