import * as pulumi from "@pulumi/pulumi"; /** * Manages the organization-wide AI Gateway governance controls: the default data capture mode, the metadata that Metadata-only capture records, and the zero data retention (ZDR) requirement. This resource is in Preview. An organization has one set of these controls, so declare this resource at most once per organization. Deleting the resource removes it from the Terraform state and leaves the controls unchanged. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Record request metadata and tool usage, but no prompt or completion content, for requests no override matches. * const _this = new datadog.AiGatewayGovernance("this", { * dataCaptureMode: "metadata_only", * metadataCaptures: ["tool_usage"], * }); * ``` * * ## Import * * Use the `pulumi import` command. For example: * * ```sh * $ pulumi import datadog:index/aiGatewayGovernance:AiGatewayGovernance this "organization" * ``` */ export declare class AiGatewayGovernance extends pulumi.CustomResource { /** * Get an existing AiGatewayGovernance resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AiGatewayGovernanceState, opts?: pulumi.CustomResourceOptions): AiGatewayGovernance; /** * Check whether an existing AiGatewayGovernance resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: AiGatewayGovernanceState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of AiGatewayGovernance. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AiGatewayGovernance; /** * Default data capture mode, used for requests that don't match a data capture override. `metadataOnly` records request metadata without prompt or completion content. `fullCapture` also records prompt and completion content. Valid values are `metadataOnly`, `fullCapture`. */ readonly dataCaptureMode: pulumi.Output; /** * Items that Metadata-only capture adds to spans. Some items require others: `toolOutputSize`, `toolNames`, and `conversationShape` require `toolUsage`, and `inputSizeByRole` requires `toolOutputSize`. When unset, Terraform leaves the current items unchanged. To record no items, set this attribute to an empty set (`[]`). */ readonly metadataCaptures: pulumi.Output; /** * Whether every request must reach a provider covered by a zero data retention agreement (`required`) or not (`off`). When unset, Terraform leaves the current requirement unchanged. Valid values are `off`, `required`. */ readonly zdrMode: pulumi.Output; /** * Create a AiGatewayGovernance resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AiGatewayGovernanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AiGatewayGovernance resources. */ export interface AiGatewayGovernanceState { /** * Default data capture mode, used for requests that don't match a data capture override. `metadataOnly` records request metadata without prompt or completion content. `fullCapture` also records prompt and completion content. Valid values are `metadataOnly`, `fullCapture`. */ dataCaptureMode?: pulumi.Input; /** * Items that Metadata-only capture adds to spans. Some items require others: `toolOutputSize`, `toolNames`, and `conversationShape` require `toolUsage`, and `inputSizeByRole` requires `toolOutputSize`. When unset, Terraform leaves the current items unchanged. To record no items, set this attribute to an empty set (`[]`). */ metadataCaptures?: pulumi.Input[] | undefined>; /** * Whether every request must reach a provider covered by a zero data retention agreement (`required`) or not (`off`). When unset, Terraform leaves the current requirement unchanged. Valid values are `off`, `required`. */ zdrMode?: pulumi.Input; } /** * The set of arguments for constructing a AiGatewayGovernance resource. */ export interface AiGatewayGovernanceArgs { /** * Default data capture mode, used for requests that don't match a data capture override. `metadataOnly` records request metadata without prompt or completion content. `fullCapture` also records prompt and completion content. Valid values are `metadataOnly`, `fullCapture`. */ dataCaptureMode: pulumi.Input; /** * Items that Metadata-only capture adds to spans. Some items require others: `toolOutputSize`, `toolNames`, and `conversationShape` require `toolUsage`, and `inputSizeByRole` requires `toolOutputSize`. When unset, Terraform leaves the current items unchanged. To record no items, set this attribute to an empty set (`[]`). */ metadataCaptures?: pulumi.Input[] | undefined>; /** * Whether every request must reach a provider covered by a zero data retention agreement (`required`) or not (`off`). When unset, Terraform leaves the current requirement unchanged. Valid values are `off`, `required`. */ zdrMode?: pulumi.Input; } //# sourceMappingURL=aiGatewayGovernance.d.ts.map