Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.CloudGuard.getResponderRecipe
Explore with Pulumi AI
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 System.Linq;
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=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
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:
- Responder
Recipe stringId OCID of ResponderRecipe
- Responder
Recipe stringId OCID of ResponderRecipe
- responder
Recipe StringId OCID of ResponderRecipe
- responder
Recipe stringId OCID of ResponderRecipe
- responder_
recipe_ strid OCID of ResponderRecipe
- responder
Recipe StringId OCID of ResponderRecipe
getResponderRecipe Result
The following output properties are available:
- Compartment
Id string Compartment Identifier
- 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.
- Display
Name string ResponderRule display name.
- Effective
Responder List<GetRules Responder Recipe Effective Responder Rule> List of responder rules associated with the recipe
- 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.
- Lifecycle
Details 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
- Responder
Recipe stringId - Responder
Rules List<GetResponder Recipe Responder Rule> List of responder rules associated with the recipe
- Source
Responder stringRecipe Id The id of the source responder recipe.
- State string
The current state of the Example.
- 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"}
- Time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- Time
Updated string The date and time the responder recipe was updated. Format defined by RFC3339.
- Compartment
Id string Compartment Identifier
- 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.
- Display
Name string ResponderRule display name.
- Effective
Responder []GetRules Responder Recipe Effective Responder Rule List of responder rules associated with the recipe
- 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.
- Lifecycle
Details 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
- Responder
Recipe stringId - Responder
Rules []GetResponder Recipe Responder Rule List of responder rules associated with the recipe
- Source
Responder stringRecipe Id The id of the source responder recipe.
- State string
The current state of the Example.
- 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"}
- Time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- Time
Updated string The date and time the responder recipe was updated. Format defined by RFC3339.
- compartment
Id String Compartment Identifier
- 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.
- display
Name String ResponderRule display name.
- effective
Responder List<GetRules Responder Recipe Effective Responder Rule> List of responder rules associated with the recipe
- 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.
- lifecycle
Details 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
- responder
Recipe StringId - responder
Rules List<GetResponder Recipe Responder Rule> List of responder rules associated with the recipe
- source
Responder StringRecipe Id The id of the source responder recipe.
- state String
The current state of the Example.
- 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"}
- time
Created String The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated String The date and time the responder recipe was updated. Format defined by RFC3339.
- compartment
Id string Compartment Identifier
- {[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.
- display
Name string ResponderRule display name.
- effective
Responder GetRules Responder Recipe Effective Responder Rule[] List of responder rules associated with the recipe
- {[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.
- lifecycle
Details 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
- responder
Recipe stringId - responder
Rules GetResponder Recipe Responder Rule[] List of responder rules associated with the recipe
- source
Responder stringRecipe Id The id of the source responder recipe.
- state string
The current state of the Example.
- {[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"}
- time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated string The date and time the responder recipe was updated. Format defined by RFC3339.
- compartment_
id str Compartment Identifier
- 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_ Getrules Responder Recipe Effective Responder Rule] List of responder rules associated with the recipe
- 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_ strid - responder_
rules GetResponder Recipe Responder Rule] List of responder rules associated with the recipe
- source_
responder_ strrecipe_ id The id of the source responder recipe.
- state str
The current state of the Example.
- 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.
- compartment
Id String Compartment Identifier
- 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.
- display
Name String ResponderRule display name.
- effective
Responder List<Property Map>Rules List of responder rules associated with the recipe
- 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.
- lifecycle
Details 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
- responder
Recipe StringId - responder
Rules List<Property Map> List of responder rules associated with the recipe
- source
Responder StringRecipe Id The id of the source responder recipe.
- state String
The current state of the Example.
- 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"}
- time
Created String The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated String The date and time the responder recipe was updated. Format defined by RFC3339.
Supporting Types
GetResponderRecipeEffectiveResponderRule
- Compartment
Id string Compartment Identifier
- Description string
ResponderRule description.
- Details
List<Get
Responder Recipe Effective Responder Rule Detail> Details of ResponderRule.
- Display
Name string ResponderRule display name.
- Lifecycle
Details 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
- Responder
Rule stringId Identifier for ResponderRule.
- State string
The current state of the Example.
- Supported
Modes List<string> Supported Execution Modes
- Time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- Time
Updated string The date and time the responder recipe was updated. Format defined by RFC3339.
- Type string
Type of Responder
- Compartment
Id string Compartment Identifier
- Description string
ResponderRule description.
- Details
[]Get
Responder Recipe Effective Responder Rule Detail Details of ResponderRule.
- Display
Name string ResponderRule display name.
- Lifecycle
Details 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
- Responder
Rule stringId Identifier for ResponderRule.
- State string
The current state of the Example.
- Supported
Modes []string Supported Execution Modes
- Time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- Time
Updated string The date and time the responder recipe was updated. Format defined by RFC3339.
- Type string
Type of Responder
- compartment
Id String Compartment Identifier
- description String
ResponderRule description.
- details
List<Get
Responder Recipe Effective Responder Rule Detail> Details of ResponderRule.
- display
Name String ResponderRule display name.
- lifecycle
Details 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
- responder
Rule StringId Identifier for ResponderRule.
- state String
The current state of the Example.
- supported
Modes List<String> Supported Execution Modes
- time
Created String The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated String The date and time the responder recipe was updated. Format defined by RFC3339.
- type String
Type of Responder
- compartment
Id string Compartment Identifier
- description string
ResponderRule description.
- details
Get
Responder Recipe Effective Responder Rule Detail[] Details of ResponderRule.
- display
Name string ResponderRule display name.
- lifecycle
Details 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
- responder
Rule stringId Identifier for ResponderRule.
- state string
The current state of the Example.
- supported
Modes string[] Supported Execution Modes
- time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated 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
Get
Responder Recipe Effective Responder Rule Detail] 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_ strid 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
- compartment
Id String Compartment Identifier
- description String
ResponderRule description.
- details List<Property Map>
Details of ResponderRule.
- display
Name String ResponderRule display name.
- lifecycle
Details 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
- responder
Rule StringId Identifier for ResponderRule.
- state String
The current state of the Example.
- supported
Modes List<String> Supported Execution Modes
- time
Created String The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated 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<Get
Responder Recipe Effective Responder Rule Detail Configuration> ResponderRule configurations
- Is
Enabled bool Identifies state for ResponderRule
- Mode string
Execution Mode for ResponderRule
- Condition string
Base condition object
- Configurations
[]Get
Responder Recipe Effective Responder Rule Detail Configuration ResponderRule configurations
- Is
Enabled bool Identifies state for ResponderRule
- Mode string
Execution Mode for ResponderRule
- condition String
Base condition object
- configurations
List<Get
Responder Recipe Effective Responder Rule Detail Configuration> ResponderRule configurations
- is
Enabled Boolean Identifies state for ResponderRule
- mode String
Execution Mode for ResponderRule
- condition string
Base condition object
- configurations
Get
Responder Recipe Effective Responder Rule Detail Configuration[] ResponderRule configurations
- is
Enabled boolean Identifies state for ResponderRule
- mode string
Execution Mode for ResponderRule
- condition str
Base condition object
- configurations
Get
Responder Recipe Effective Responder Rule Detail Configuration] 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
- is
Enabled Boolean Identifies state for ResponderRule
- mode String
Execution Mode for ResponderRule
GetResponderRecipeEffectiveResponderRuleDetailConfiguration
- config_
key str Unique name of the configuration
- name str
configuration name
- value str
configuration value
GetResponderRecipeResponderRule
- Compartment
Id string Compartment Identifier
- Description string
ResponderRule description.
- Details
List<Get
Responder Recipe Responder Rule Detail> Details of ResponderRule.
- Display
Name string ResponderRule display name.
- Lifecycle
Details 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
- Responder
Rule stringId Identifier for ResponderRule.
- State string
The current state of the Example.
- Supported
Modes List<string> Supported Execution Modes
- Time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- Time
Updated string The date and time the responder recipe was updated. Format defined by RFC3339.
- Type string
Type of Responder
- Compartment
Id string Compartment Identifier
- Description string
ResponderRule description.
- Details
[]Get
Responder Recipe Responder Rule Detail Details of ResponderRule.
- Display
Name string ResponderRule display name.
- Lifecycle
Details 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
- Responder
Rule stringId Identifier for ResponderRule.
- State string
The current state of the Example.
- Supported
Modes []string Supported Execution Modes
- Time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- Time
Updated string The date and time the responder recipe was updated. Format defined by RFC3339.
- Type string
Type of Responder
- compartment
Id String Compartment Identifier
- description String
ResponderRule description.
- details
List<Get
Responder Recipe Responder Rule Detail> Details of ResponderRule.
- display
Name String ResponderRule display name.
- lifecycle
Details 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
- responder
Rule StringId Identifier for ResponderRule.
- state String
The current state of the Example.
- supported
Modes List<String> Supported Execution Modes
- time
Created String The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated String The date and time the responder recipe was updated. Format defined by RFC3339.
- type String
Type of Responder
- compartment
Id string Compartment Identifier
- description string
ResponderRule description.
- details
Get
Responder Recipe Responder Rule Detail[] Details of ResponderRule.
- display
Name string ResponderRule display name.
- lifecycle
Details 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
- responder
Rule stringId Identifier for ResponderRule.
- state string
The current state of the Example.
- supported
Modes string[] Supported Execution Modes
- time
Created string The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated 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
Get
Responder Recipe Responder Rule Detail] 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_ strid 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
- compartment
Id String Compartment Identifier
- description String
ResponderRule description.
- details List<Property Map>
Details of ResponderRule.
- display
Name String ResponderRule display name.
- lifecycle
Details 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
- responder
Rule StringId Identifier for ResponderRule.
- state String
The current state of the Example.
- supported
Modes List<String> Supported Execution Modes
- time
Created String The date and time the responder recipe was created. Format defined by RFC3339.
- time
Updated 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<Get
Responder Recipe Responder Rule Detail Configuration> ResponderRule configurations
- Is
Enabled bool Identifies state for ResponderRule
- Mode string
Execution Mode for ResponderRule
- Condition string
Base condition object
- Configurations
[]Get
Responder Recipe Responder Rule Detail Configuration ResponderRule configurations
- Is
Enabled bool Identifies state for ResponderRule
- Mode string
Execution Mode for ResponderRule
- condition String
Base condition object
- configurations
List<Get
Responder Recipe Responder Rule Detail Configuration> ResponderRule configurations
- is
Enabled Boolean Identifies state for ResponderRule
- mode String
Execution Mode for ResponderRule
- condition string
Base condition object
- configurations
Get
Responder Recipe Responder Rule Detail Configuration[] ResponderRule configurations
- is
Enabled boolean Identifies state for ResponderRule
- mode string
Execution Mode for ResponderRule
- condition str
Base condition object
- configurations
Get
Responder Recipe Responder Rule Detail Configuration] 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
- is
Enabled Boolean Identifies state for ResponderRule
- mode String
Execution Mode for ResponderRule
GetResponderRecipeResponderRuleDetailConfiguration
- config_
key str Unique name of the configuration
- name str
configuration name
- value str
configuration value
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.