import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve the policies attached to an org group, optionally filtered by policy name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // List every policy attached to the given org group. * const all = datadog.getOrgGroupPolicies({ * orgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005", * }); * // Or look up a specific policy by name to reference its ID elsewhere. * const widgetCopyPaste = datadog.getOrgGroupPolicies({ * orgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005", * policyName: "is_widget_copy_paste_enabled", * }); * ``` */ export declare function getOrgGroupPolicies(args: GetOrgGroupPoliciesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrgGroupPolicies. */ export interface GetOrgGroupPoliciesArgs { /** * The UUID of the org group whose policies to list. Must be a valid UUID. */ orgGroupId: string; /** * Filter policies by name. */ policyName?: string; } /** * A collection of values returned by getOrgGroupPolicies. */ export interface GetOrgGroupPoliciesResult { /** * The ID of this resource. */ readonly id: string; /** * The UUID of the org group whose policies to list. Must be a valid UUID. */ readonly orgGroupId: string; /** * The list of policies. */ readonly policies: outputs.GetOrgGroupPoliciesPolicy[]; /** * Filter policies by name. */ readonly policyName?: string; } /** * Use this data source to retrieve the policies attached to an org group, optionally filtered by policy name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // List every policy attached to the given org group. * const all = datadog.getOrgGroupPolicies({ * orgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005", * }); * // Or look up a specific policy by name to reference its ID elsewhere. * const widgetCopyPaste = datadog.getOrgGroupPolicies({ * orgGroupId: "019d97e8-74d4-7060-806e-e731c8f1d005", * policyName: "is_widget_copy_paste_enabled", * }); * ``` */ export declare function getOrgGroupPoliciesOutput(args: GetOrgGroupPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrgGroupPolicies. */ export interface GetOrgGroupPoliciesOutputArgs { /** * The UUID of the org group whose policies to list. Must be a valid UUID. */ orgGroupId: pulumi.Input; /** * Filter policies by name. */ policyName?: pulumi.Input; } //# sourceMappingURL=getOrgGroupPolicies.d.ts.map