Datadog v4.52.0 published on Monday, Jul 14, 2025 by Pulumi
datadog.getCsmThreatsPolicies
Explore with Pulumi AI
Use this data source to retrieve information about existing policies.
Using getCsmThreatsPolicies
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 getCsmThreatsPolicies(opts?: InvokeOptions): Promise<GetCsmThreatsPoliciesResult>
function getCsmThreatsPoliciesOutput(opts?: InvokeOptions): Output<GetCsmThreatsPoliciesResult>
def get_csm_threats_policies(opts: Optional[InvokeOptions] = None) -> GetCsmThreatsPoliciesResult
def get_csm_threats_policies_output(opts: Optional[InvokeOptions] = None) -> Output[GetCsmThreatsPoliciesResult]
func GetCsmThreatsPolicies(ctx *Context, opts ...InvokeOption) (*GetCsmThreatsPoliciesResult, error)
func GetCsmThreatsPoliciesOutput(ctx *Context, opts ...InvokeOption) GetCsmThreatsPoliciesResultOutput
> Note: This function is named GetCsmThreatsPolicies
in the Go SDK.
public static class GetCsmThreatsPolicies
{
public static Task<GetCsmThreatsPoliciesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetCsmThreatsPoliciesResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetCsmThreatsPoliciesResult> getCsmThreatsPolicies(InvokeOptions options)
public static Output<GetCsmThreatsPoliciesResult> getCsmThreatsPolicies(InvokeOptions options)
fn::invoke:
function: datadog:index/getCsmThreatsPolicies:getCsmThreatsPolicies
arguments:
# arguments dictionary
getCsmThreatsPolicies Result
The following output properties are available:
- Id string
- The ID of this resource.
- Policies
List<Get
Csm Threats Policies Policy> - List of policies
- Policy
Ids List<string> - List of IDs for the policies.
- Id string
- The ID of this resource.
- Policies
[]Get
Csm Threats Policies Policy - List of policies
- Policy
Ids []string - List of IDs for the policies.
- id String
- The ID of this resource.
- policies
List<Get
Csm Threats Policies Policy> - List of policies
- policy
Ids List<String> - List of IDs for the policies.
- id string
- The ID of this resource.
- policies
Get
Csm Threats Policies Policy[] - List of policies
- policy
Ids string[] - List of IDs for the policies.
- id str
- The ID of this resource.
- policies
Sequence[Get
Csm Threats Policies Policy] - List of policies
- policy_
ids Sequence[str] - List of IDs for the policies.
- id String
- The ID of this resource.
- policies List<Property Map>
- List of policies
- policy
Ids List<String> - List of IDs for the policies.
Supporting Types
GetCsmThreatsPoliciesPolicy
- Description string
- Enabled bool
- List<Immutable
Array<string>> - Id string
- Name string
- List<string>
- Description string
- Enabled bool
- [][]string
- Id string
- Name string
- []string
- description String
- enabled Boolean
- List<List<String>>
- id String
- name String
- List<String>
- description string
- enabled boolean
- string[][]
- id string
- name string
- string[]
- description str
- enabled bool
- Sequence[Sequence[str]]
- id str
- name str
- Sequence[str]
- description String
- enabled Boolean
- List<List<String>>
- id String
- name String
- List<String>
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.