Skip to content

Commit 7e67356

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d29d358 of spec repo
1 parent 037c3c3 commit 7e67356

24 files changed

Lines changed: 1094 additions & 113 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 292 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4053,6 +4053,86 @@ components:
40534053
type: string
40544054
type: array
40554055
type: object
4056+
AccountFilters:
4057+
description: The account filters for a cloud account.
4058+
properties:
4059+
attributes:
4060+
$ref: "#/components/schemas/AccountFiltersAttributes"
4061+
id:
4062+
description: The ID of the cloud account.
4063+
example: "123456789123"
4064+
type: string
4065+
type:
4066+
$ref: "#/components/schemas/AccountFiltersType"
4067+
required:
4068+
- attributes
4069+
- type
4070+
type: object
4071+
AccountFiltersAttributes:
4072+
description: Attributes for the account filters of a cloud account.
4073+
properties:
4074+
account_filters:
4075+
$ref: "#/components/schemas/AccountFilteringConfig"
4076+
account_id:
4077+
description: The cloud account ID.
4078+
example: "123456789123"
4079+
type: string
4080+
cloud:
4081+
description: The cloud provider of the account, for example `aws`, `aws_cur2`, or `oci`.
4082+
example: "aws_cur2"
4083+
type: string
4084+
type: object
4085+
AccountFiltersPatchData:
4086+
description: Account filters patch data.
4087+
properties:
4088+
attributes:
4089+
$ref: "#/components/schemas/AccountFiltersPatchRequestAttributes"
4090+
type:
4091+
$ref: "#/components/schemas/AccountFiltersPatchRequestType"
4092+
required:
4093+
- attributes
4094+
- type
4095+
type: object
4096+
AccountFiltersPatchRequest:
4097+
description: Account filters patch request.
4098+
properties:
4099+
data:
4100+
$ref: "#/components/schemas/AccountFiltersPatchData"
4101+
required:
4102+
- data
4103+
type: object
4104+
AccountFiltersPatchRequestAttributes:
4105+
description: Attributes for an account filters patch request.
4106+
properties:
4107+
account_filters:
4108+
$ref: "#/components/schemas/AccountFilteringConfig"
4109+
required:
4110+
- account_filters
4111+
type: object
4112+
AccountFiltersPatchRequestType:
4113+
default: account_filters_patch_request
4114+
description: Type of account filters patch request.
4115+
enum:
4116+
- account_filters_patch_request
4117+
example: account_filters_patch_request
4118+
type: string
4119+
x-enum-varnames:
4120+
- ACCOUNT_FILTERS_PATCH_REQUEST
4121+
AccountFiltersResponse:
4122+
description: Response containing the account filters for a cloud account.
4123+
properties:
4124+
data:
4125+
$ref: "#/components/schemas/AccountFilters"
4126+
type: object
4127+
AccountFiltersType:
4128+
default: account_filters
4129+
description: Type of account filters.
4130+
enum:
4131+
- account_filters
4132+
example: account_filters
4133+
type: string
4134+
x-enum-varnames:
4135+
- ACCOUNT_FILTERS
40564136
ActionConnectionAttributes:
40574137
description: The definition of `ActionConnectionAttributes` object.
40584138
properties:
@@ -70492,6 +70572,8 @@ components:
7049270572
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorPerMetricLimit"
7049370573
maxItems: 100
7049470574
type: array
70575+
tracking_mode:
70576+
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorTrackingMode"
7049570577
type:
7049670578
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorType"
7049770579
value_limit:
@@ -70506,6 +70588,7 @@ components:
7050670588
- type
7050770589
- include
7050870590
- limit_exceeded_action
70591+
- tracking_mode
7050970592
- value_limit
7051070593
- enabled
7051170594
type: object
@@ -70520,6 +70603,16 @@ components:
7052070603
x-enum-varnames:
7052170604
- DROP_TAG
7052270605
- DROP_EVENT
70606+
ObservabilityPipelineTagCardinalityLimitProcessorOverrideType:
70607+
description: How the override is applied. `limit_override` enforces a custom limit; `excluded` omits the metric or tag from cardinality tracking.
70608+
enum:
70609+
- limit_override
70610+
- excluded
70611+
example: limit_override
70612+
type: string
70613+
x-enum-varnames:
70614+
- LIMIT_OVERRIDE
70615+
- EXCLUDED
7052370616
ObservabilityPipelineTagCardinalityLimitProcessorPerMetricLimit:
7052470617
description: A cardinality override applied to a specific metric.
7052570618
properties:
@@ -70529,65 +70622,63 @@ components:
7052970622
description: The name of the metric this override applies to.
7053070623
example: "system.cpu.user"
7053170624
type: string
70532-
mode:
70533-
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorPerMetricMode"
70625+
override_type:
70626+
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorOverrideType"
7053470627
per_tag_limits:
70535-
description: A list of per-tag cardinality overrides that apply within this metric. Must be omitted when `mode` is `excluded`.
70628+
description: A list of per-tag cardinality overrides that apply within this metric. Must be omitted when `override_type` is `excluded`.
7053670629
items:
7053770630
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit"
7053870631
maxItems: 50
7053970632
type: array
7054070633
value_limit:
70541-
description: The maximum number of distinct tag value combinations allowed for this metric. Required when `mode` is `tracked`. Must be omitted when `mode` is `excluded`.
70634+
description: The maximum number of distinct tag value combinations allowed for this metric. Required when `override_type` is `limit_override`. Must be omitted when `override_type` is `excluded`.
7054270635
example: 10000
7054370636
format: int64
7054470637
maximum: 1000000
7054570638
minimum: 0
7054670639
type: integer
7054770640
required:
7054870641
- metric_name
70549-
- mode
70642+
- override_type
7055070643
type: object
70551-
ObservabilityPipelineTagCardinalityLimitProcessorPerMetricMode:
70552-
description: How the per-metric override is applied. `tracked` enforces a custom limit; `excluded` skips the metric entirely.
70553-
enum:
70554-
- tracked
70555-
- excluded
70556-
example: tracked
70557-
type: string
70558-
x-enum-varnames:
70559-
- TRACKED
70560-
- EXCLUDED
7056170644
ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit:
7056270645
description: A cardinality override for a specific tag key within a per-metric limit.
7056370646
properties:
70564-
mode:
70565-
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorPerTagMode"
70647+
override_type:
70648+
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorOverrideType"
7056670649
tag_key:
7056770650
description: The tag key this override applies to.
7056870651
example: "host"
7056970652
type: string
7057070653
value_limit:
70571-
description: The maximum number of distinct values allowed for this tag. Required when `mode` is `limit_override`. Must be omitted when `mode` is `excluded`.
70654+
description: The maximum number of distinct values allowed for this tag. Required when `override_type` is `limit_override`. Must be omitted when `override_type` is `excluded`.
7057270655
example: 5000
7057370656
format: int64
7057470657
maximum: 1000000
7057570658
minimum: 0
7057670659
type: integer
7057770660
required:
7057870661
- tag_key
70662+
- override_type
70663+
type: object
70664+
ObservabilityPipelineTagCardinalityLimitProcessorTrackingMode:
70665+
description: Controls whether the processor uses exact or probabilistic tag tracking.
70666+
properties:
70667+
mode:
70668+
$ref: "#/components/schemas/ObservabilityPipelineTagCardinalityLimitProcessorTrackingModeMode"
70669+
required:
7057970670
- mode
7058070671
type: object
70581-
ObservabilityPipelineTagCardinalityLimitProcessorPerTagMode:
70582-
description: How the per-tag override is applied. `limit_override` enforces a custom limit on the tag; `excluded` skips the tag from cardinality tracking.
70672+
ObservabilityPipelineTagCardinalityLimitProcessorTrackingModeMode:
70673+
description: The cardinality tracking algorithm to use.
7058370674
enum:
70584-
- limit_override
70585-
- excluded
70586-
example: limit_override
70675+
- exact_fingerprint
70676+
- probabilistic
70677+
example: exact_fingerprint
7058770678
type: string
7058870679
x-enum-varnames:
70589-
- LIMIT_OVERRIDE
70590-
- EXCLUDED
70680+
- EXACT_FINGERPRINT
70681+
- PROBABILISTIC
7059170682
ObservabilityPipelineTagCardinalityLimitProcessorType:
7059270683
default: tag_cardinality_limit
7059370684
description: The processor type. The value must be `tag_cardinality_limit`.
@@ -125706,6 +125797,182 @@ paths:
125706125797
"x-permission":
125707125798
operator: OPEN
125708125799
permissions: []
125800+
/api/v2/cost/account_filters/{cloud_account_id}:
125801+
get:
125802+
description: Get the account filters for a cloud account (AWS CUR 1.0/2.0, OCI, and other clouds).
125803+
operationId: GetCostAccountFilters
125804+
parameters:
125805+
- $ref: "#/components/parameters/CloudAccountID"
125806+
responses:
125807+
"200":
125808+
content:
125809+
application/json:
125810+
examples:
125811+
default:
125812+
summary: Include new accounts and exclude specific accounts
125813+
value:
125814+
data:
125815+
attributes:
125816+
account_filters:
125817+
excluded_accounts:
125818+
- "123456789123"
125819+
- "123456789143"
125820+
include_new_accounts: true
125821+
account_id: "123456789123"
125822+
cloud: aws_cur2
125823+
id: "123"
125824+
type: account_filters
125825+
include_accounts:
125826+
summary: Exclude new accounts and include specific accounts
125827+
value:
125828+
data:
125829+
attributes:
125830+
account_filters:
125831+
include_new_accounts: false
125832+
included_accounts:
125833+
- "123456789123"
125834+
- "123456789143"
125835+
account_id: "123456789123"
125836+
cloud: aws_cur2
125837+
id: "123"
125838+
type: account_filters
125839+
schema:
125840+
$ref: "#/components/schemas/AccountFiltersResponse"
125841+
description: OK
125842+
"400":
125843+
content:
125844+
application/json:
125845+
schema:
125846+
$ref: "#/components/schemas/APIErrorResponse"
125847+
description: Bad Request
125848+
"403":
125849+
content:
125850+
application/json:
125851+
schema:
125852+
$ref: "#/components/schemas/APIErrorResponse"
125853+
description: Forbidden
125854+
"404":
125855+
content:
125856+
application/json:
125857+
schema:
125858+
$ref: "#/components/schemas/APIErrorResponse"
125859+
description: Not Found
125860+
"429":
125861+
$ref: "#/components/responses/TooManyRequestsResponse"
125862+
security:
125863+
- apiKeyAuth: []
125864+
appKeyAuth: []
125865+
- AuthZ:
125866+
- cloud_cost_management_read
125867+
summary: Get account filters
125868+
tags:
125869+
- Cloud Cost Management
125870+
"x-permission":
125871+
operator: OR
125872+
permissions:
125873+
- cloud_cost_management_read
125874+
patch:
125875+
description: Update the account filters for a cloud account (AWS CUR 1.0/2.0, OCI, and other clouds).
125876+
operationId: UpdateCostAccountFilters
125877+
parameters:
125878+
- $ref: "#/components/parameters/CloudAccountID"
125879+
requestBody:
125880+
content:
125881+
application/json:
125882+
examples:
125883+
default:
125884+
summary: Exclude new accounts and include specific accounts
125885+
value:
125886+
data:
125887+
attributes:
125888+
account_filters:
125889+
include_new_accounts: false
125890+
included_accounts:
125891+
- "123456789123"
125892+
- "123456789143"
125893+
type: account_filters_patch_request
125894+
exclude_accounts:
125895+
summary: Include new accounts and exclude specific accounts
125896+
value:
125897+
data:
125898+
attributes:
125899+
account_filters:
125900+
excluded_accounts:
125901+
- "123456789123"
125902+
- "123456789143"
125903+
include_new_accounts: true
125904+
type: account_filters_patch_request
125905+
schema:
125906+
$ref: "#/components/schemas/AccountFiltersPatchRequest"
125907+
required: true
125908+
responses:
125909+
"200":
125910+
content:
125911+
application/json:
125912+
examples:
125913+
default:
125914+
summary: Exclude new accounts and include specific accounts
125915+
value:
125916+
data:
125917+
attributes:
125918+
account_filters:
125919+
include_new_accounts: false
125920+
included_accounts:
125921+
- "123456789123"
125922+
- "123456789143"
125923+
account_id: "123456789123"
125924+
cloud: aws_cur2
125925+
id: "123"
125926+
type: account_filters
125927+
exclude_accounts:
125928+
summary: Include new accounts and exclude specific accounts
125929+
value:
125930+
data:
125931+
attributes:
125932+
account_filters:
125933+
excluded_accounts:
125934+
- "123456789123"
125935+
- "123456789143"
125936+
include_new_accounts: true
125937+
account_id: "123456789123"
125938+
cloud: aws_cur2
125939+
id: "123"
125940+
type: account_filters
125941+
schema:
125942+
$ref: "#/components/schemas/AccountFiltersResponse"
125943+
description: OK
125944+
"400":
125945+
content:
125946+
application/json:
125947+
schema:
125948+
$ref: "#/components/schemas/APIErrorResponse"
125949+
description: Bad Request
125950+
"403":
125951+
content:
125952+
application/json:
125953+
schema:
125954+
$ref: "#/components/schemas/APIErrorResponse"
125955+
description: Forbidden
125956+
"404":
125957+
content:
125958+
application/json:
125959+
schema:
125960+
$ref: "#/components/schemas/APIErrorResponse"
125961+
description: Not Found
125962+
"429":
125963+
$ref: "#/components/responses/TooManyRequestsResponse"
125964+
security:
125965+
- apiKeyAuth: []
125966+
appKeyAuth: []
125967+
- AuthZ:
125968+
- cloud_cost_management_write
125969+
summary: Update account filters
125970+
tags:
125971+
- Cloud Cost Management
125972+
"x-permission":
125973+
operator: OR
125974+
permissions:
125975+
- cloud_cost_management_write
125709125976
/api/v2/cost/anomalies:
125710125977
get:
125711125978
description: List detected Cloud Cost Management anomalies for the organization.

0 commit comments

Comments
 (0)