Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi
datadog.getCsmThreatsAgentRules
Explore with Pulumi AI
Use this data source to retrieve information about existing Agent rules.
Using getCsmThreatsAgentRules
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 getCsmThreatsAgentRules(opts?: InvokeOptions): Promise<GetCsmThreatsAgentRulesResult>
function getCsmThreatsAgentRulesOutput(opts?: InvokeOptions): Output<GetCsmThreatsAgentRulesResult>
def get_csm_threats_agent_rules(opts: Optional[InvokeOptions] = None) -> GetCsmThreatsAgentRulesResult
def get_csm_threats_agent_rules_output(opts: Optional[InvokeOptions] = None) -> Output[GetCsmThreatsAgentRulesResult]
func GetCsmThreatsAgentRules(ctx *Context, opts ...InvokeOption) (*GetCsmThreatsAgentRulesResult, error)
func GetCsmThreatsAgentRulesOutput(ctx *Context, opts ...InvokeOption) GetCsmThreatsAgentRulesResultOutput
> Note: This function is named GetCsmThreatsAgentRules
in the Go SDK.
public static class GetCsmThreatsAgentRules
{
public static Task<GetCsmThreatsAgentRulesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetCsmThreatsAgentRulesResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetCsmThreatsAgentRulesResult> getCsmThreatsAgentRules(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: datadog:index/getCsmThreatsAgentRules:getCsmThreatsAgentRules
arguments:
# arguments dictionary
getCsmThreatsAgentRules Result
The following output properties are available:
- Agent
Rules List<GetCsm Threats Agent Rules Agent Rule> - List of Agent rules
- Agent
Rules List<string>Ids - List of IDs for the Agent rules.
- Id string
- The ID of this resource.
- Agent
Rules []GetCsm Threats Agent Rules Agent Rule - List of Agent rules
- Agent
Rules []stringIds - List of IDs for the Agent rules.
- Id string
- The ID of this resource.
- agent
Rules List<GetCsm Threats Agent Rules Agent Rule> - List of Agent rules
- agent
Rules List<String>Ids - List of IDs for the Agent rules.
- id String
- The ID of this resource.
- agent
Rules GetCsm Threats Agent Rules Agent Rule[] - List of Agent rules
- agent
Rules string[]Ids - List of IDs for the Agent rules.
- id string
- The ID of this resource.
- agent_
rules Sequence[GetCsm Threats Agent Rules Agent Rule] - List of Agent rules
- agent_
rules_ Sequence[str]ids - List of IDs for the Agent rules.
- id str
- The ID of this resource.
- agent
Rules List<Property Map> - List of Agent rules
- agent
Rules List<String>Ids - List of IDs for the Agent rules.
- id String
- The ID of this resource.
Supporting Types
GetCsmThreatsAgentRulesAgentRule
- Description string
- Enabled bool
- Expression string
- Id string
- Name string
- Description string
- Enabled bool
- Expression string
- Id string
- Name string
- description String
- enabled Boolean
- expression String
- id String
- name String
- description string
- enabled boolean
- expression string
- id string
- name string
- description str
- enabled bool
- expression str
- id str
- name str
- description String
- enabled Boolean
- expression String
- id String
- name String
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.