@pulumi/datadog 5.21.0-alpha.1795067942 → 5.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/aiGatewayBudget.d.ts +235 -0
  2. package/aiGatewayBudget.d.ts.map +1 -0
  3. package/aiGatewayBudget.js +158 -0
  4. package/aiGatewayBudget.js.map +1 -0
  5. package/aiGatewayDataCaptureOverride.d.ts +174 -0
  6. package/aiGatewayDataCaptureOverride.d.ts.map +1 -0
  7. package/aiGatewayDataCaptureOverride.js +133 -0
  8. package/aiGatewayDataCaptureOverride.js.map +1 -0
  9. package/aiGatewayGovernance.d.ts +105 -0
  10. package/aiGatewayGovernance.d.ts.map +1 -0
  11. package/aiGatewayGovernance.js +113 -0
  12. package/aiGatewayGovernance.js.map +1 -0
  13. package/aiGatewayModelGroup.d.ts +147 -0
  14. package/aiGatewayModelGroup.d.ts.map +1 -0
  15. package/aiGatewayModelGroup.js +125 -0
  16. package/aiGatewayModelGroup.js.map +1 -0
  17. package/aiGatewayPolicy.d.ts +139 -0
  18. package/aiGatewayPolicy.d.ts.map +1 -0
  19. package/aiGatewayPolicy.js +138 -0
  20. package/aiGatewayPolicy.js.map +1 -0
  21. package/aiGatewayProvider.d.ts +154 -0
  22. package/aiGatewayProvider.d.ts.map +1 -0
  23. package/aiGatewayProvider.js +136 -0
  24. package/aiGatewayProvider.js.map +1 -0
  25. package/aiGatewayRateLimit.d.ts +192 -0
  26. package/aiGatewayRateLimit.d.ts.map +1 -0
  27. package/aiGatewayRateLimit.js +134 -0
  28. package/aiGatewayRateLimit.js.map +1 -0
  29. package/aiGatewayRoutingRule.d.ts +126 -0
  30. package/aiGatewayRoutingRule.d.ts.map +1 -0
  31. package/aiGatewayRoutingRule.js +139 -0
  32. package/aiGatewayRoutingRule.js.map +1 -0
  33. package/cloudWorkloadSecurityAgentRule.d.ts +1 -1
  34. package/cloudWorkloadSecurityAgentRule.js +1 -1
  35. package/config/vars.d.ts +5 -1
  36. package/config/vars.d.ts.map +1 -1
  37. package/config/vars.js +6 -0
  38. package/config/vars.js.map +1 -1
  39. package/dashboard.d.ts +12 -0
  40. package/dashboard.d.ts.map +1 -1
  41. package/dashboard.js +2 -0
  42. package/dashboard.js.map +1 -1
  43. package/dashboardV2.d.ts +18 -0
  44. package/dashboardV2.d.ts.map +1 -1
  45. package/dashboardV2.js +8 -0
  46. package/dashboardV2.js.map +1 -1
  47. package/getStatusPage.d.ts +16 -0
  48. package/getStatusPage.d.ts.map +1 -1
  49. package/getStatusPage.js.map +1 -1
  50. package/index.d.ts +30 -0
  51. package/index.d.ts.map +1 -1
  52. package/index.js +57 -7
  53. package/index.js.map +1 -1
  54. package/package.json +2 -2
  55. package/provider.d.ts +6 -2
  56. package/provider.d.ts.map +1 -1
  57. package/provider.js +1 -0
  58. package/provider.js.map +1 -1
  59. package/statusPage.d.ts +53 -3
  60. package/statusPage.d.ts.map +1 -1
  61. package/statusPage.js +10 -0
  62. package/statusPage.js.map +1 -1
  63. package/statusPageEmailAccessPolicy.d.ts +127 -0
  64. package/statusPageEmailAccessPolicy.d.ts.map +1 -0
  65. package/statusPageEmailAccessPolicy.js +135 -0
  66. package/statusPageEmailAccessPolicy.js.map +1 -0
  67. package/types/input.d.ts +204 -8
  68. package/types/input.d.ts.map +1 -1
  69. package/types/output.d.ts +232 -7
  70. package/types/output.d.ts.map +1 -1
  71. package/usageQuota.d.ts +146 -0
  72. package/usageQuota.d.ts.map +1 -0
  73. package/usageQuota.js +132 -0
  74. package/usageQuota.js.map +1 -0
@@ -0,0 +1,235 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides a Datadog AI Gateway budget resource. A budget caps spend over a daily, weekly, or monthly UTC period for the requests that match its scope. This resource is in Preview.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as datadog from "@pulumi/datadog";
12
+ *
13
+ * // Block the coding assistant's OpenAI spend over $500 a month.
14
+ * const codingAssistant = new datadog.AiGatewayBudget("coding_assistant", {
15
+ * name: "coding-assistant-openai",
16
+ * capacityMicrocents: 50000000000,
17
+ * windowPolicy: "MONTHLY",
18
+ * enforcement: "BLOCK",
19
+ * warningThreshold: 0.8,
20
+ * tags: {
21
+ * ml_app: "coding-assistant",
22
+ * provider: "openai",
23
+ * },
24
+ * });
25
+ * // Give each user their own $20 daily budget.
26
+ * const perUser = new datadog.AiGatewayBudget("per_user", {
27
+ * name: "per-user-daily",
28
+ * capacityMicrocents: 2000000000,
29
+ * windowPolicy: "DAILY",
30
+ * enforcement: "NOTIFY",
31
+ * selectors: [{
32
+ * dim: "user_id",
33
+ * per_value: true,
34
+ * }],
35
+ * });
36
+ * ```
37
+ *
38
+ * ## Import
39
+ *
40
+ * Use the `pulumi import` command. For example:
41
+ *
42
+ * ```sh
43
+ * $ pulumi import datadog:index/aiGatewayBudget:AiGatewayBudget coding_assistant "<budget_id>"
44
+ * ```
45
+ */
46
+ export declare class AiGatewayBudget extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing AiGatewayBudget resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiGatewayBudgetState, opts?: pulumi.CustomResourceOptions): AiGatewayBudget;
57
+ /**
58
+ * Check whether an existing AiGatewayBudget resource with the given ID exists.
59
+ *
60
+ * @param id The _unique_ provider ID of the resource to check.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static exists(id: pulumi.Input<string>, state?: AiGatewayBudgetState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
65
+ /**
66
+ * Returns true if the given object is an instance of AiGatewayBudget. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj: any): obj is AiGatewayBudget;
70
+ /**
71
+ * Whether a change to `capacityMicrocents` also applies to the current period. When `false`, the current period keeps its capacity. Not supported for budgets with a `selector`. Defaults to `false`.
72
+ */
73
+ readonly applyToCurrentPeriod: pulumi.Output<boolean>;
74
+ /**
75
+ * Spend allowed per period, in microcents: one US dollar is 100,000,000 microcents. A change applies from the next period unless `applyToCurrentPeriod` is `true`. Value must be at least 1.
76
+ */
77
+ readonly capacityMicrocents: pulumi.Output<number>;
78
+ /**
79
+ * Whether the budget is active. Defaults to `true`.
80
+ */
81
+ readonly enabled: pulumi.Output<boolean>;
82
+ /**
83
+ * Whether the budget rejects requests over its capacity (`BLOCK`) or only notifies (`NOTIFY`). Valid values are `BLOCK`, `NOTIFY`.
84
+ */
85
+ readonly enforcement: pulumi.Output<string>;
86
+ /**
87
+ * ID of the Datadog monitor created for the budget. Unset when the monitor wasn't created.
88
+ */
89
+ readonly monitorId: pulumi.Output<number>;
90
+ /**
91
+ * Name of the budget. String length must be at least 1.
92
+ */
93
+ readonly name: pulumi.Output<string>;
94
+ /**
95
+ * Dimension rules that make this budget a template budget. Each combination of values for the dimensions with `perValue = true` gets its own budget instance, and each request counts toward the instance that matches its values. Changing it replaces the budget.
96
+ */
97
+ readonly selectors: pulumi.Output<outputs.AiGatewayBudgetSelector[] | undefined>;
98
+ /**
99
+ * Scope tags, such as `provider`, `model`, or `mlApp`. A request counts toward the budget when it has all of these tags. Keys must be lowercase. Changing them replaces the budget.
100
+ */
101
+ readonly tags: pulumi.Output<{
102
+ [key: string]: string;
103
+ } | undefined>;
104
+ /**
105
+ * UUID of a Datadog Team. When set, only requests attributed to this team count toward the budget. Changing it replaces the budget.
106
+ */
107
+ readonly teamId: pulumi.Output<string | undefined>;
108
+ /**
109
+ * UUID of a Datadog user. When set, only this user's requests count toward the budget. Changing it replaces the budget.
110
+ */
111
+ readonly userId: pulumi.Output<string | undefined>;
112
+ /**
113
+ * Fraction of capacity that triggers a warning from the budget's monitor. Must be greater than 0 and at most 1. Defaults to `0.9`.
114
+ */
115
+ readonly warningThreshold: pulumi.Output<number>;
116
+ /**
117
+ * UTC accounting period of the budget. Changing it replaces the budget. Valid values are `DAILY`, `WEEKLY`, `MONTHLY`.
118
+ */
119
+ readonly windowPolicy: pulumi.Output<string>;
120
+ /**
121
+ * Create a AiGatewayBudget resource with the given unique name, arguments, and options.
122
+ *
123
+ * @param name The _unique_ name of the resource.
124
+ * @param args The arguments to use to populate this resource's properties.
125
+ * @param opts A bag of options that control this resource's behavior.
126
+ */
127
+ constructor(name: string, args: AiGatewayBudgetArgs, opts?: pulumi.CustomResourceOptions);
128
+ }
129
+ /**
130
+ * Input properties used for looking up and filtering AiGatewayBudget resources.
131
+ */
132
+ export interface AiGatewayBudgetState {
133
+ /**
134
+ * Whether a change to `capacityMicrocents` also applies to the current period. When `false`, the current period keeps its capacity. Not supported for budgets with a `selector`. Defaults to `false`.
135
+ */
136
+ applyToCurrentPeriod?: pulumi.Input<boolean | undefined>;
137
+ /**
138
+ * Spend allowed per period, in microcents: one US dollar is 100,000,000 microcents. A change applies from the next period unless `applyToCurrentPeriod` is `true`. Value must be at least 1.
139
+ */
140
+ capacityMicrocents?: pulumi.Input<number | undefined>;
141
+ /**
142
+ * Whether the budget is active. Defaults to `true`.
143
+ */
144
+ enabled?: pulumi.Input<boolean | undefined>;
145
+ /**
146
+ * Whether the budget rejects requests over its capacity (`BLOCK`) or only notifies (`NOTIFY`). Valid values are `BLOCK`, `NOTIFY`.
147
+ */
148
+ enforcement?: pulumi.Input<string | undefined>;
149
+ /**
150
+ * ID of the Datadog monitor created for the budget. Unset when the monitor wasn't created.
151
+ */
152
+ monitorId?: pulumi.Input<number | undefined>;
153
+ /**
154
+ * Name of the budget. String length must be at least 1.
155
+ */
156
+ name?: pulumi.Input<string | undefined>;
157
+ /**
158
+ * Dimension rules that make this budget a template budget. Each combination of values for the dimensions with `perValue = true` gets its own budget instance, and each request counts toward the instance that matches its values. Changing it replaces the budget.
159
+ */
160
+ selectors?: pulumi.Input<pulumi.Input<inputs.AiGatewayBudgetSelector>[] | undefined>;
161
+ /**
162
+ * Scope tags, such as `provider`, `model`, or `mlApp`. A request counts toward the budget when it has all of these tags. Keys must be lowercase. Changing them replaces the budget.
163
+ */
164
+ tags?: pulumi.Input<{
165
+ [key: string]: pulumi.Input<string>;
166
+ } | undefined>;
167
+ /**
168
+ * UUID of a Datadog Team. When set, only requests attributed to this team count toward the budget. Changing it replaces the budget.
169
+ */
170
+ teamId?: pulumi.Input<string | undefined>;
171
+ /**
172
+ * UUID of a Datadog user. When set, only this user's requests count toward the budget. Changing it replaces the budget.
173
+ */
174
+ userId?: pulumi.Input<string | undefined>;
175
+ /**
176
+ * Fraction of capacity that triggers a warning from the budget's monitor. Must be greater than 0 and at most 1. Defaults to `0.9`.
177
+ */
178
+ warningThreshold?: pulumi.Input<number | undefined>;
179
+ /**
180
+ * UTC accounting period of the budget. Changing it replaces the budget. Valid values are `DAILY`, `WEEKLY`, `MONTHLY`.
181
+ */
182
+ windowPolicy?: pulumi.Input<string | undefined>;
183
+ }
184
+ /**
185
+ * The set of arguments for constructing a AiGatewayBudget resource.
186
+ */
187
+ export interface AiGatewayBudgetArgs {
188
+ /**
189
+ * Whether a change to `capacityMicrocents` also applies to the current period. When `false`, the current period keeps its capacity. Not supported for budgets with a `selector`. Defaults to `false`.
190
+ */
191
+ applyToCurrentPeriod?: pulumi.Input<boolean | undefined>;
192
+ /**
193
+ * Spend allowed per period, in microcents: one US dollar is 100,000,000 microcents. A change applies from the next period unless `applyToCurrentPeriod` is `true`. Value must be at least 1.
194
+ */
195
+ capacityMicrocents: pulumi.Input<number>;
196
+ /**
197
+ * Whether the budget is active. Defaults to `true`.
198
+ */
199
+ enabled?: pulumi.Input<boolean | undefined>;
200
+ /**
201
+ * Whether the budget rejects requests over its capacity (`BLOCK`) or only notifies (`NOTIFY`). Valid values are `BLOCK`, `NOTIFY`.
202
+ */
203
+ enforcement: pulumi.Input<string>;
204
+ /**
205
+ * Name of the budget. String length must be at least 1.
206
+ */
207
+ name: pulumi.Input<string>;
208
+ /**
209
+ * Dimension rules that make this budget a template budget. Each combination of values for the dimensions with `perValue = true` gets its own budget instance, and each request counts toward the instance that matches its values. Changing it replaces the budget.
210
+ */
211
+ selectors?: pulumi.Input<pulumi.Input<inputs.AiGatewayBudgetSelector>[] | undefined>;
212
+ /**
213
+ * Scope tags, such as `provider`, `model`, or `mlApp`. A request counts toward the budget when it has all of these tags. Keys must be lowercase. Changing them replaces the budget.
214
+ */
215
+ tags?: pulumi.Input<{
216
+ [key: string]: pulumi.Input<string>;
217
+ } | undefined>;
218
+ /**
219
+ * UUID of a Datadog Team. When set, only requests attributed to this team count toward the budget. Changing it replaces the budget.
220
+ */
221
+ teamId?: pulumi.Input<string | undefined>;
222
+ /**
223
+ * UUID of a Datadog user. When set, only this user's requests count toward the budget. Changing it replaces the budget.
224
+ */
225
+ userId?: pulumi.Input<string | undefined>;
226
+ /**
227
+ * Fraction of capacity that triggers a warning from the budget's monitor. Must be greater than 0 and at most 1. Defaults to `0.9`.
228
+ */
229
+ warningThreshold?: pulumi.Input<number | undefined>;
230
+ /**
231
+ * UTC accounting period of the budget. Changing it replaces the budget. Valid values are `DAILY`, `WEEKLY`, `MONTHLY`.
232
+ */
233
+ windowPolicy: pulumi.Input<string>;
234
+ }
235
+ //# sourceMappingURL=aiGatewayBudget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aiGatewayBudget.d.ts","sourceRoot":"","sources":["../aiGatewayBudget.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CA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AAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AiGatewayBudget = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Provides a Datadog AI Gateway budget resource. A budget caps spend over a daily, weekly, or monthly UTC period for the requests that match its scope. This resource is in Preview.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as datadog from "@pulumi/datadog";
39
+ *
40
+ * // Block the coding assistant's OpenAI spend over $500 a month.
41
+ * const codingAssistant = new datadog.AiGatewayBudget("coding_assistant", {
42
+ * name: "coding-assistant-openai",
43
+ * capacityMicrocents: 50000000000,
44
+ * windowPolicy: "MONTHLY",
45
+ * enforcement: "BLOCK",
46
+ * warningThreshold: 0.8,
47
+ * tags: {
48
+ * ml_app: "coding-assistant",
49
+ * provider: "openai",
50
+ * },
51
+ * });
52
+ * // Give each user their own $20 daily budget.
53
+ * const perUser = new datadog.AiGatewayBudget("per_user", {
54
+ * name: "per-user-daily",
55
+ * capacityMicrocents: 2000000000,
56
+ * windowPolicy: "DAILY",
57
+ * enforcement: "NOTIFY",
58
+ * selectors: [{
59
+ * dim: "user_id",
60
+ * per_value: true,
61
+ * }],
62
+ * });
63
+ * ```
64
+ *
65
+ * ## Import
66
+ *
67
+ * Use the `pulumi import` command. For example:
68
+ *
69
+ * ```sh
70
+ * $ pulumi import datadog:index/aiGatewayBudget:AiGatewayBudget coding_assistant "<budget_id>"
71
+ * ```
72
+ */
73
+ class AiGatewayBudget extends pulumi.CustomResource {
74
+ /**
75
+ * Get an existing AiGatewayBudget resource's state with the given name, ID, and optional extra
76
+ * properties used to qualify the lookup.
77
+ *
78
+ * @param name The _unique_ name of the resulting resource.
79
+ * @param id The _unique_ provider ID of the resource to lookup.
80
+ * @param state Any extra arguments used during the lookup.
81
+ * @param opts Optional settings to control the behavior of the CustomResource.
82
+ */
83
+ static get(name, id, state, opts) {
84
+ return new AiGatewayBudget(name, state, { ...opts, id: id });
85
+ }
86
+ /**
87
+ * Check whether an existing AiGatewayBudget resource with the given ID exists.
88
+ *
89
+ * @param id The _unique_ provider ID of the resource to check.
90
+ * @param state Any extra arguments used during the lookup.
91
+ * @param opts Optional settings to control the behavior of the CustomResource.
92
+ */
93
+ static exists(id, state, opts) {
94
+ return pulumi.runtime.existsResource("datadog:index/aiGatewayBudget:AiGatewayBudget", id, state || {}, { ...opts }, undefined);
95
+ }
96
+ /** @internal */
97
+ static __pulumiType = 'datadog:index/aiGatewayBudget:AiGatewayBudget';
98
+ /**
99
+ * Returns true if the given object is an instance of AiGatewayBudget. This is designed to work even
100
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
101
+ */
102
+ static isInstance(obj) {
103
+ if (obj === undefined || obj === null) {
104
+ return false;
105
+ }
106
+ return obj['__pulumiType'] === AiGatewayBudget.__pulumiType;
107
+ }
108
+ constructor(name, argsOrState, opts) {
109
+ let resourceInputs = {};
110
+ opts = opts || {};
111
+ if (opts.id) {
112
+ const state = argsOrState;
113
+ resourceInputs["applyToCurrentPeriod"] = state?.applyToCurrentPeriod;
114
+ resourceInputs["capacityMicrocents"] = state?.capacityMicrocents;
115
+ resourceInputs["enabled"] = state?.enabled;
116
+ resourceInputs["enforcement"] = state?.enforcement;
117
+ resourceInputs["monitorId"] = state?.monitorId;
118
+ resourceInputs["name"] = state?.name;
119
+ resourceInputs["selectors"] = state?.selectors;
120
+ resourceInputs["tags"] = state?.tags;
121
+ resourceInputs["teamId"] = state?.teamId;
122
+ resourceInputs["userId"] = state?.userId;
123
+ resourceInputs["warningThreshold"] = state?.warningThreshold;
124
+ resourceInputs["windowPolicy"] = state?.windowPolicy;
125
+ }
126
+ else {
127
+ const args = argsOrState;
128
+ if (args?.capacityMicrocents === undefined && !opts.urn) {
129
+ throw new Error("Missing required property 'capacityMicrocents'");
130
+ }
131
+ if (args?.enforcement === undefined && !opts.urn) {
132
+ throw new Error("Missing required property 'enforcement'");
133
+ }
134
+ if (args?.name === undefined && !opts.urn) {
135
+ throw new Error("Missing required property 'name'");
136
+ }
137
+ if (args?.windowPolicy === undefined && !opts.urn) {
138
+ throw new Error("Missing required property 'windowPolicy'");
139
+ }
140
+ resourceInputs["applyToCurrentPeriod"] = args?.applyToCurrentPeriod;
141
+ resourceInputs["capacityMicrocents"] = args?.capacityMicrocents;
142
+ resourceInputs["enabled"] = args?.enabled;
143
+ resourceInputs["enforcement"] = args?.enforcement;
144
+ resourceInputs["name"] = args?.name;
145
+ resourceInputs["selectors"] = args?.selectors;
146
+ resourceInputs["tags"] = args?.tags;
147
+ resourceInputs["teamId"] = args?.teamId;
148
+ resourceInputs["userId"] = args?.userId;
149
+ resourceInputs["warningThreshold"] = args?.warningThreshold;
150
+ resourceInputs["windowPolicy"] = args?.windowPolicy;
151
+ resourceInputs["monitorId"] = undefined /*out*/;
152
+ }
153
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
154
+ super(AiGatewayBudget.__pulumiType, name, resourceInputs, opts);
155
+ }
156
+ }
157
+ exports.AiGatewayBudget = AiGatewayBudget;
158
+ //# sourceMappingURL=aiGatewayBudget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aiGatewayBudget.js","sourceRoot":"","sources":["../aiGatewayBudget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;I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AC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA9IL,0CA+IC"}
@@ -0,0 +1,174 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Datadog AI Gateway data capture override resource. An override sets the data capture mode for the requests that match its scope, instead of the organization default set by `datadog.AiGatewayGovernance`. When several overrides match a request, `metadataOnly` takes precedence over `fullCapture`. This resource is in Preview.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as datadog from "@pulumi/datadog";
10
+ *
11
+ * // Record only metadata for the coding assistant's requests, regardless of the organization default.
12
+ * const codingAssistant = new datadog.AiGatewayDataCaptureOverride("coding_assistant", {
13
+ * name: "coding-assistant-metadata-only",
14
+ * mode: "metadata_only",
15
+ * metadataCaptures: [
16
+ * "tool_usage",
17
+ * "tool_names",
18
+ * ],
19
+ * tags: {
20
+ * ml_app: "coding-assistant",
21
+ * },
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * Use the `pulumi import` command. For example:
28
+ *
29
+ * ```sh
30
+ * $ pulumi import datadog:index/aiGatewayDataCaptureOverride:AiGatewayDataCaptureOverride coding_assistant "<override_id>"
31
+ * ```
32
+ */
33
+ export declare class AiGatewayDataCaptureOverride extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing AiGatewayDataCaptureOverride resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiGatewayDataCaptureOverrideState, opts?: pulumi.CustomResourceOptions): AiGatewayDataCaptureOverride;
44
+ /**
45
+ * Check whether an existing AiGatewayDataCaptureOverride resource with the given ID exists.
46
+ *
47
+ * @param id The _unique_ provider ID of the resource to check.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static exists(id: pulumi.Input<string>, state?: AiGatewayDataCaptureOverrideState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
52
+ /**
53
+ * Returns true if the given object is an instance of AiGatewayDataCaptureOverride. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj: any): obj is AiGatewayDataCaptureOverride;
57
+ /**
58
+ * Set to `true` to confirm a change that can turn on full capture for more requests, such as creating a `fullCapture` override or deleting a `metadataOnly` one. The API rejects such a change without it. Defaults to `false`.
59
+ */
60
+ readonly confirmFullCapture: pulumi.Output<boolean>;
61
+ /**
62
+ * Items that Metadata-only capture adds to matching 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, use an empty set.
63
+ */
64
+ readonly metadataCaptures: pulumi.Output<string[]>;
65
+ /**
66
+ * Data capture mode for matching requests. `metadataOnly` records request metadata without prompt or completion content; `fullCapture` also records content. Valid values are `metadataOnly`, `fullCapture`.
67
+ */
68
+ readonly mode: pulumi.Output<string>;
69
+ /**
70
+ * Display name of the override. Names need not be unique. String length must be at least 1.
71
+ */
72
+ readonly name: pulumi.Output<string>;
73
+ /**
74
+ * Revision of the override. It increases with every change.
75
+ */
76
+ readonly revision: pulumi.Output<number>;
77
+ /**
78
+ * Request tags the override matches, such as `provider`, `model`, or `mlApp`. A request matches when it has all of these tags. Keys must be lowercase.
79
+ */
80
+ readonly tags: pulumi.Output<{
81
+ [key: string]: string;
82
+ } | undefined>;
83
+ /**
84
+ * UUID of a Datadog Team. When set, the override matches requests that select this team with the `x-ai-gateway-team` header. At least one of `teamId`, `userId`, and `tags` is required.
85
+ */
86
+ readonly teamId: pulumi.Output<string | undefined>;
87
+ /**
88
+ * UUID of a Datadog user. When set, the override matches requests from this user.
89
+ */
90
+ readonly userId: pulumi.Output<string | undefined>;
91
+ /**
92
+ * Create a AiGatewayDataCaptureOverride resource with the given unique name, arguments, and options.
93
+ *
94
+ * @param name The _unique_ name of the resource.
95
+ * @param args The arguments to use to populate this resource's properties.
96
+ * @param opts A bag of options that control this resource's behavior.
97
+ */
98
+ constructor(name: string, args: AiGatewayDataCaptureOverrideArgs, opts?: pulumi.CustomResourceOptions);
99
+ }
100
+ /**
101
+ * Input properties used for looking up and filtering AiGatewayDataCaptureOverride resources.
102
+ */
103
+ export interface AiGatewayDataCaptureOverrideState {
104
+ /**
105
+ * Set to `true` to confirm a change that can turn on full capture for more requests, such as creating a `fullCapture` override or deleting a `metadataOnly` one. The API rejects such a change without it. Defaults to `false`.
106
+ */
107
+ confirmFullCapture?: pulumi.Input<boolean | undefined>;
108
+ /**
109
+ * Items that Metadata-only capture adds to matching 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, use an empty set.
110
+ */
111
+ metadataCaptures?: pulumi.Input<pulumi.Input<string>[] | undefined>;
112
+ /**
113
+ * Data capture mode for matching requests. `metadataOnly` records request metadata without prompt or completion content; `fullCapture` also records content. Valid values are `metadataOnly`, `fullCapture`.
114
+ */
115
+ mode?: pulumi.Input<string | undefined>;
116
+ /**
117
+ * Display name of the override. Names need not be unique. String length must be at least 1.
118
+ */
119
+ name?: pulumi.Input<string | undefined>;
120
+ /**
121
+ * Revision of the override. It increases with every change.
122
+ */
123
+ revision?: pulumi.Input<number | undefined>;
124
+ /**
125
+ * Request tags the override matches, such as `provider`, `model`, or `mlApp`. A request matches when it has all of these tags. Keys must be lowercase.
126
+ */
127
+ tags?: pulumi.Input<{
128
+ [key: string]: pulumi.Input<string>;
129
+ } | undefined>;
130
+ /**
131
+ * UUID of a Datadog Team. When set, the override matches requests that select this team with the `x-ai-gateway-team` header. At least one of `teamId`, `userId`, and `tags` is required.
132
+ */
133
+ teamId?: pulumi.Input<string | undefined>;
134
+ /**
135
+ * UUID of a Datadog user. When set, the override matches requests from this user.
136
+ */
137
+ userId?: pulumi.Input<string | undefined>;
138
+ }
139
+ /**
140
+ * The set of arguments for constructing a AiGatewayDataCaptureOverride resource.
141
+ */
142
+ export interface AiGatewayDataCaptureOverrideArgs {
143
+ /**
144
+ * Set to `true` to confirm a change that can turn on full capture for more requests, such as creating a `fullCapture` override or deleting a `metadataOnly` one. The API rejects such a change without it. Defaults to `false`.
145
+ */
146
+ confirmFullCapture?: pulumi.Input<boolean | undefined>;
147
+ /**
148
+ * Items that Metadata-only capture adds to matching 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, use an empty set.
149
+ */
150
+ metadataCaptures?: pulumi.Input<pulumi.Input<string>[] | undefined>;
151
+ /**
152
+ * Data capture mode for matching requests. `metadataOnly` records request metadata without prompt or completion content; `fullCapture` also records content. Valid values are `metadataOnly`, `fullCapture`.
153
+ */
154
+ mode: pulumi.Input<string>;
155
+ /**
156
+ * Display name of the override. Names need not be unique. String length must be at least 1.
157
+ */
158
+ name: pulumi.Input<string>;
159
+ /**
160
+ * Request tags the override matches, such as `provider`, `model`, or `mlApp`. A request matches when it has all of these tags. Keys must be lowercase.
161
+ */
162
+ tags?: pulumi.Input<{
163
+ [key: string]: pulumi.Input<string>;
164
+ } | undefined>;
165
+ /**
166
+ * UUID of a Datadog Team. When set, the override matches requests that select this team with the `x-ai-gateway-team` header. At least one of `teamId`, `userId`, and `tags` is required.
167
+ */
168
+ teamId?: pulumi.Input<string | undefined>;
169
+ /**
170
+ * UUID of a Datadog user. When set, the override matches requests from this user.
171
+ */
172
+ userId?: pulumi.Input<string | undefined>;
173
+ }
174
+ //# sourceMappingURL=aiGatewayDataCaptureOverride.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aiGatewayDataCaptureOverride.d.ts","sourceRoot":"","sources":["../aiGatewayDataCaptureOverride.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,4BAA4B;IAI1K;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAOtJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,4BAA4B;IAOvE;;OAEG;IACH,S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