Viewing docs for Datadog v5.3.0
published on Friday, May 22, 2026 by Pulumi
published on Friday, May 22, 2026 by Pulumi
Viewing docs for Datadog v5.3.0
published on Friday, May 22, 2026 by Pulumi
published on Friday, May 22, 2026 by Pulumi
Use this data source to retrieve org group policy overrides. Supports filtering by policy ID (server-side) and organization UUID (client-side).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// List every override attached to the given org group. Useful for discovering
// overrides auto-created by the server in response to membership or policy events.
const all = datadog.getOrgGroupPolicyOverrides({
orgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005",
});
// Scope the search to a single policy and/or organization. org_uuid is a
// client-side filter since the API does not natively support it.
const forOrg = datadog.getOrgGroupPolicyOverrides({
orgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005",
policyId: "019d97e9-f340-78c1-aa50-6a953c2bd006",
orgUuid: "ff4a8255-6931-58d1-add0-a6b3602d5421",
});
import pulumi
import pulumi_datadog as datadog
# List every override attached to the given org group. Useful for discovering
# overrides auto-created by the server in response to membership or policy events.
all = datadog.get_org_group_policy_overrides(org_group_id="019d97e8-74d4-7060-806e-e731c8f1d005")
# Scope the search to a single policy and/or organization. org_uuid is a
# client-side filter since the API does not natively support it.
for_org = datadog.get_org_group_policy_overrides(org_group_id="019d97e8-74d4-7060-806e-e731c8f1d005",
policy_id="019d97e9-f340-78c1-aa50-6a953c2bd006",
org_uuid="ff4a8255-6931-58d1-add0-a6b3602d5421")
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v5/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// List every override attached to the given org group. Useful for discovering
// overrides auto-created by the server in response to membership or policy events.
_, err := datadog.GetOrgGroupPolicyOverrides(ctx, &datadog.GetOrgGroupPolicyOverridesArgs{
OrgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005",
}, nil)
if err != nil {
return err
}
// Scope the search to a single policy and/or organization. org_uuid is a
// client-side filter since the API does not natively support it.
_, err = datadog.GetOrgGroupPolicyOverrides(ctx, &datadog.GetOrgGroupPolicyOverridesArgs{
OrgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005",
PolicyId: pulumi.StringRef("019d97e9-f340-78c1-aa50-6a953c2bd006"),
OrgUuid: pulumi.StringRef("ff4a8255-6931-58d1-add0-a6b3602d5421"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
// List every override attached to the given org group. Useful for discovering
// overrides auto-created by the server in response to membership or policy events.
var all = Datadog.GetOrgGroupPolicyOverrides.Invoke(new()
{
OrgGroupId = "019d97e8-74d4-7060-806e-e731c8f1d005",
});
// Scope the search to a single policy and/or organization. org_uuid is a
// client-side filter since the API does not natively support it.
var forOrg = Datadog.GetOrgGroupPolicyOverrides.Invoke(new()
{
OrgGroupId = "019d97e8-74d4-7060-806e-e731c8f1d005",
PolicyId = "019d97e9-f340-78c1-aa50-6a953c2bd006",
OrgUuid = "ff4a8255-6931-58d1-add0-a6b3602d5421",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.DatadogFunctions;
import com.pulumi.datadog.inputs.GetOrgGroupPolicyOverridesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// List every override attached to the given org group. Useful for discovering
// overrides auto-created by the server in response to membership or policy events.
final var all = DatadogFunctions.getOrgGroupPolicyOverrides(GetOrgGroupPolicyOverridesArgs.builder()
.orgGroupId("019d97e8-74d4-7060-806e-e731c8f1d005")
.build());
// Scope the search to a single policy and/or organization. org_uuid is a
// client-side filter since the API does not natively support it.
final var forOrg = DatadogFunctions.getOrgGroupPolicyOverrides(GetOrgGroupPolicyOverridesArgs.builder()
.orgGroupId("019d97e8-74d4-7060-806e-e731c8f1d005")
.policyId("019d97e9-f340-78c1-aa50-6a953c2bd006")
.orgUuid("ff4a8255-6931-58d1-add0-a6b3602d5421")
.build());
}
}
variables:
# List every override attached to the given org group. Useful for discovering
# overrides auto-created by the server in response to membership or policy events.
all:
fn::invoke:
function: datadog:getOrgGroupPolicyOverrides
arguments:
orgGroupId: 019d97e8-74d4-7060-806e-e731c8f1d005
# Scope the search to a single policy and/or organization. org_uuid is a
# client-side filter since the API does not natively support it.
forOrg:
fn::invoke:
function: datadog:getOrgGroupPolicyOverrides
arguments:
orgGroupId: 019d97e8-74d4-7060-806e-e731c8f1d005
policyId: 019d97e9-f340-78c1-aa50-6a953c2bd006
orgUuid: ff4a8255-6931-58d1-add0-a6b3602d5421
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
data "datadog_getorggrouppolicyoverrides" "all" {
org_group_id = "019d97e8-74d4-7060-806e-e731c8f1d005"
}
data "datadog_getorggrouppolicyoverrides" "forOrg" {
org_group_id = "019d97e8-74d4-7060-806e-e731c8f1d005"
policy_id = "019d97e9-f340-78c1-aa50-6a953c2bd006"
org_uuid = "ff4a8255-6931-58d1-add0-a6b3602d5421"
}
# List every override attached to the given org group. Useful for discovering
# overrides auto-created by the server in response to membership or policy events.
# Scope the search to a single policy and/or organization. org_uuid is a
# client-side filter since the API does not natively support it.
Using getOrgGroupPolicyOverrides
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 getOrgGroupPolicyOverrides(args: GetOrgGroupPolicyOverridesArgs, opts?: InvokeOptions): Promise<GetOrgGroupPolicyOverridesResult>
function getOrgGroupPolicyOverridesOutput(args: GetOrgGroupPolicyOverridesOutputArgs, opts?: InvokeOptions): Output<GetOrgGroupPolicyOverridesResult>def get_org_group_policy_overrides(org_group_id: Optional[str] = None,
org_uuid: Optional[str] = None,
policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrgGroupPolicyOverridesResult
def get_org_group_policy_overrides_output(org_group_id: pulumi.Input[Optional[str]] = None,
org_uuid: pulumi.Input[Optional[str]] = None,
policy_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrgGroupPolicyOverridesResult]func GetOrgGroupPolicyOverrides(ctx *Context, args *GetOrgGroupPolicyOverridesArgs, opts ...InvokeOption) (*GetOrgGroupPolicyOverridesResult, error)
func GetOrgGroupPolicyOverridesOutput(ctx *Context, args *GetOrgGroupPolicyOverridesOutputArgs, opts ...InvokeOption) GetOrgGroupPolicyOverridesResultOutput> Note: This function is named GetOrgGroupPolicyOverrides in the Go SDK.
public static class GetOrgGroupPolicyOverrides
{
public static Task<GetOrgGroupPolicyOverridesResult> InvokeAsync(GetOrgGroupPolicyOverridesArgs args, InvokeOptions? opts = null)
public static Output<GetOrgGroupPolicyOverridesResult> Invoke(GetOrgGroupPolicyOverridesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrgGroupPolicyOverridesResult> getOrgGroupPolicyOverrides(GetOrgGroupPolicyOverridesArgs args, InvokeOptions options)
public static Output<GetOrgGroupPolicyOverridesResult> getOrgGroupPolicyOverrides(GetOrgGroupPolicyOverridesArgs args, InvokeOptions options)
fn::invoke:
function: datadog:index/getOrgGroupPolicyOverrides:getOrgGroupPolicyOverrides
arguments:
# arguments dictionarydata "datadog_getorggrouppolicyoverrides" "name" {
# arguments
}The following arguments are supported:
- Org
Group stringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- Org
Uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - Policy
Id string - Filter overrides to those on the given policy. Must be a valid UUID.
- Org
Group stringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- Org
Uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - Policy
Id string - Filter overrides to those on the given policy. Must be a valid UUID.
- org_
group_ stringid - The UUID of the org group whose overrides to list. Must be a valid UUID.
- org_
uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy_
id string - Filter overrides to those on the given policy. Must be a valid UUID.
- org
Group StringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- org
Uuid String - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy
Id String - Filter overrides to those on the given policy. Must be a valid UUID.
- org
Group stringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- org
Uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy
Id string - Filter overrides to those on the given policy. Must be a valid UUID.
- org_
group_ strid - The UUID of the org group whose overrides to list. Must be a valid UUID.
- org_
uuid str - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy_
id str - Filter overrides to those on the given policy. Must be a valid UUID.
- org
Group StringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- org
Uuid String - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy
Id String - Filter overrides to those on the given policy. Must be a valid UUID.
getOrgGroupPolicyOverrides Result
The following output properties are available:
- Id string
- The ID of this resource.
- Org
Group stringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- Overrides
List<Get
Org Group Policy Overrides Override> - The list of policy overrides.
- Org
Uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - Policy
Id string - Filter overrides to those on the given policy. Must be a valid UUID.
- Id string
- The ID of this resource.
- Org
Group stringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- Overrides
[]Get
Org Group Policy Overrides Override - The list of policy overrides.
- Org
Uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - Policy
Id string - Filter overrides to those on the given policy. Must be a valid UUID.
- id string
- The ID of this resource.
- org_
group_ stringid - The UUID of the org group whose overrides to list. Must be a valid UUID.
- overrides list(object)
- The list of policy overrides.
- org_
uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy_
id string - Filter overrides to those on the given policy. Must be a valid UUID.
- id String
- The ID of this resource.
- org
Group StringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- overrides
List<Get
Org Group Policy Overrides Override> - The list of policy overrides.
- org
Uuid String - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy
Id String - Filter overrides to those on the given policy. Must be a valid UUID.
- id string
- The ID of this resource.
- org
Group stringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- overrides
Get
Org Group Policy Overrides Override[] - The list of policy overrides.
- org
Uuid string - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy
Id string - Filter overrides to those on the given policy. Must be a valid UUID.
- id str
- The ID of this resource.
- org_
group_ strid - The UUID of the org group whose overrides to list. Must be a valid UUID.
- overrides
Sequence[Get
Org Group Policy Overrides Override] - The list of policy overrides.
- org_
uuid str - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy_
id str - Filter overrides to those on the given policy. Must be a valid UUID.
- id String
- The ID of this resource.
- org
Group StringId - The UUID of the org group whose overrides to list. Must be a valid UUID.
- overrides List<Property Map>
- The list of policy overrides.
- org
Uuid String - Filter overrides to those for the given organization. Applied client-side after the List call because the API does not accept an
orgUuidfilter on this endpoint. Must be a valid UUID. - policy
Id String - Filter overrides to those on the given policy. Must be a valid UUID.
Supporting Types
GetOrgGroupPolicyOverridesOverride
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
Viewing docs for Datadog v5.3.0
published on Friday, May 22, 2026 by Pulumi
published on Friday, May 22, 2026 by Pulumi