Skip to content

Commit 2571b2e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e3d54d5d of spec repo
1 parent a71e0ed commit 2571b2e

31 files changed

+978
-168
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-02-08 16:22:55.326401",
8-
"spec_repo_commit": "c826f5c2"
7+
"regenerated": "2023-02-08 21:24:45.376450",
8+
"spec_repo_commit": "e3d54d5d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-02-08 16:22:55.343166",
13-
"spec_repo_commit": "c826f5c2"
12+
"regenerated": "2023-02-08 21:24:45.387695",
13+
"spec_repo_commit": "e3d54d5d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3652,7 +3652,6 @@ components:
36523652
- appsec_fargate_usage
36533653
- appsec_usage
36543654
- browser_usage
3655-
- container_excl_agent_usage
36563655
- container_usage
36573656
- cspm_containers_usage
36583657
- cspm_hosts_usage
@@ -3674,6 +3673,7 @@ components:
36743673
- profiled_host_usage
36753674
- snmp_usage
36763675
- estimated_rum_sessions_usage
3676+
- cont_usage
36773677
type: string
36783678
x-enum-varnames:
36793679
- API_USAGE
@@ -3682,7 +3682,6 @@ components:
36823682
- APPSEC_FARGATE_USAGE
36833683
- APPSEC_USAGE
36843684
- BROWSER_USAGE
3685-
- CONTAINER_EXCL_AGENT_USAGE
36863685
- CONTAINER_USAGE
36873686
- CSPM_CONTAINERS_USAGE
36883687
- CSPM_HOSTS_USAGE
@@ -3704,6 +3703,7 @@ components:
37043703
- PROFILED_HOST_USAGE
37053704
- SNMP_USAGE
37063705
- ESTIMATED_RUM_SESSIONS_USAGE
3706+
- CONT_USAGE
37073707
IFrameWidgetDefinition:
37083708
description: The iframe widget allows you to embed a portion of any other web
37093709
page on your dashboard. Only available on FREE layout dashboards.
@@ -4078,8 +4078,6 @@ components:
40784078
type: array
40794079
data_source:
40804080
$ref: '#/components/schemas/ListStreamSource'
4081-
event_size:
4082-
$ref: '#/components/schemas/WidgetEventSize'
40834081
group_by:
40844082
description: Group by configuration for the List Stream Widget. Group by
40854083
can be used only with logs_pattern_stream (up to 3 items) or logs_transaction_stream
@@ -4124,7 +4122,6 @@ components:
41244122
- apm_issue_stream
41254123
- logs_pattern_stream
41264124
- logs_transaction_stream
4127-
- event_stream
41284125
example: apm_issue_stream
41294126
type: string
41304127
x-enum-varnames:
@@ -4134,7 +4131,6 @@ components:
41344131
- APM_ISSUE_STREAM
41354132
- LOGS_PATTERN_STREAM
41364133
- LOGS_TRANSACTION_STREAM
4137-
- EVENT_STREAM
41384134
ListStreamWidgetDefinition:
41394135
description: 'The list stream visualization displays a table of recent events
41404136
in your application that
@@ -7088,8 +7084,6 @@ components:
70887084
- appsec_percentage
70897085
- browser_usage
70907086
- browser_percentage
7091-
- container_excl_agent_usage
7092-
- container_excl_agent_percentage
70937087
- container_usage
70947088
- container_percentage
70957089
- cspm_containers_percentage
@@ -7132,6 +7126,8 @@ components:
71327126
- snmp_percentage
71337127
- estimated_rum_sessions_usage
71347128
- estimated_rum_sessions_percentage
7129+
- cont_usage
7130+
- cont_percentage
71357131
- '*'
71367132
type: string
71377133
x-enum-varnames:
@@ -7147,8 +7143,6 @@ components:
71477143
- APPSEC_PERCENTAGE
71487144
- BROWSER_USAGE
71497145
- BROWSER_PERCENTAGE
7150-
- CONTAINER_EXCL_AGENT_USAGE
7151-
- CONTAINER_EXCL_AGENT_PERCENTAGE
71527146
- CONTAINER_USAGE
71537147
- CONTAINER_PERCENTAGE
71547148
- CSPM_CONTAINERS_PERCENTAGE
@@ -7191,6 +7185,8 @@ components:
71917185
- SNMP_PERCENTAGE
71927186
- ESTIMATED_RUM_SESSIONS_USAGE
71937187
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
7188+
- CONT_USAGE
7189+
- CONT_PERCENTAGE
71947190
- ALL
71957191
MonthlyUsageAttributionValues:
71967192
description: Fields in Usage Summary by tag(s).
@@ -7246,12 +7242,12 @@ components:
72467242
description: The synthetic browser test usage by tag(s).
72477243
format: double
72487244
type: number
7249-
container_excl_agent_percentage:
7245+
cont_percentage:
72507246
description: The percentage of container usage without the Datadog Agent
72517247
by tag(s).
72527248
format: double
72537249
type: number
7254-
container_excl_agent_usage:
7250+
cont_usage:
72557251
description: The container usage without the Datadog Agent by tag(s).
72567252
format: double
72577253
type: number

.generator/schemas/v2/openapi.yaml

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3852,6 +3852,104 @@ components:
38523852
- APP_SEC_HOST_COUNT
38533853
- OBSERVABILITY_PIPELINES_BYTES_PROCESSSED
38543854
- LAMBDA_TRACED_INVOCATIONS_COUNT
3855+
IPAllowlist:
3856+
description: IP allowlist object returned by the API.
3857+
properties:
3858+
attributes:
3859+
$ref: '#/components/schemas/IPAllowlistAttributes'
3860+
id:
3861+
description: The unique identifier of the org.
3862+
type: string
3863+
type:
3864+
$ref: '#/components/schemas/IPAllowlistType'
3865+
required:
3866+
- type
3867+
type: object
3868+
IPAllowlistAttributes:
3869+
description: Attributes of the IP allowlist.
3870+
properties:
3871+
enabled:
3872+
description: Whether the IP allowlist logic is enabled or not.
3873+
type: boolean
3874+
entries:
3875+
description: Array of entries in the IP allowlist.
3876+
items:
3877+
$ref: '#/components/schemas/IPAllowlistEntry'
3878+
type: array
3879+
type: object
3880+
IPAllowlistEntry:
3881+
description: IP allowlist entry object.
3882+
properties:
3883+
data:
3884+
$ref: '#/components/schemas/IPAllowlistEntryData'
3885+
required:
3886+
- data
3887+
type: object
3888+
IPAllowlistEntryAttributes:
3889+
description: Attributes of the IP allowlist entry.
3890+
properties:
3891+
cidr_block:
3892+
description: The CIDR block describing the IP range of the entry.
3893+
type: string
3894+
created_at:
3895+
description: Creation time of the entry.
3896+
format: date-time
3897+
readOnly: true
3898+
type: string
3899+
modified_at:
3900+
description: Time of last entry modification.
3901+
format: date-time
3902+
readOnly: true
3903+
type: string
3904+
note:
3905+
description: A note describing the IP allowlist entry.
3906+
type: string
3907+
type: object
3908+
IPAllowlistEntryData:
3909+
description: Data of the IP allowlist entry object.
3910+
properties:
3911+
attributes:
3912+
$ref: '#/components/schemas/IPAllowlistEntryAttributes'
3913+
id:
3914+
description: The unique identifier of the IP allowlist entry.
3915+
type: string
3916+
type:
3917+
$ref: '#/components/schemas/IPAllowlistEntryType'
3918+
required:
3919+
- type
3920+
type: object
3921+
IPAllowlistEntryType:
3922+
default: ip_allowlist_entry
3923+
description: IP allowlist Entry type.
3924+
enum:
3925+
- ip_allowlist_entry
3926+
example: ip_allowlist_entry
3927+
type: string
3928+
x-enum-varnames:
3929+
- IP_ALLOWLIST_ENTRY
3930+
IPAllowlistResponse:
3931+
description: Response containing information about the IP allowlist.
3932+
properties:
3933+
data:
3934+
$ref: '#/components/schemas/IPAllowlist'
3935+
type: object
3936+
IPAllowlistType:
3937+
default: ip_allowlist
3938+
description: IP allowlist type.
3939+
enum:
3940+
- ip_allowlist
3941+
example: ip_allowlist
3942+
type: string
3943+
x-enum-varnames:
3944+
- IP_ALLOWLIST
3945+
IPAllowlistUpdateRequest:
3946+
description: Update the IP allowlist.
3947+
properties:
3948+
data:
3949+
$ref: '#/components/schemas/IPAllowlist'
3950+
required:
3951+
- data
3952+
type: object
38553953
IdPMetadataFormData:
38563954
description: The form data submitted to upload IdP metadata
38573955
properties:
@@ -15091,6 +15189,84 @@ paths:
1509115189
tags:
1509215190
- Fastly Integration
1509315191
x-codegen-request-body-name: body
15192+
/api/v2/ip_allowlist:
15193+
get:
15194+
description: Returns the IP allowlist and its enabled or disabled state.
15195+
operationId: GetIPAllowlist
15196+
responses:
15197+
'200':
15198+
content:
15199+
application/json:
15200+
schema:
15201+
$ref: '#/components/schemas/IPAllowlistResponse'
15202+
description: OK
15203+
'403':
15204+
content:
15205+
application/json:
15206+
schema:
15207+
$ref: '#/components/schemas/APIErrorResponse'
15208+
description: Authentication error
15209+
'404':
15210+
content:
15211+
application/json:
15212+
schema:
15213+
$ref: '#/components/schemas/APIErrorResponse'
15214+
description: Not found
15215+
'429':
15216+
$ref: '#/components/responses/TooManyRequestsResponse'
15217+
security:
15218+
- apiKeyAuth: []
15219+
appKeyAuth: []
15220+
- AuthZ:
15221+
- org_management
15222+
summary: Get IP Allowlist
15223+
tags:
15224+
- IP Allowlist
15225+
patch:
15226+
description: Edit the entries in the IP allowlist, and enable or disable it.
15227+
operationId: UpdateIPAllowlist
15228+
requestBody:
15229+
content:
15230+
application/json:
15231+
schema:
15232+
$ref: '#/components/schemas/IPAllowlistUpdateRequest'
15233+
required: true
15234+
responses:
15235+
'200':
15236+
content:
15237+
application/json:
15238+
schema:
15239+
$ref: '#/components/schemas/IPAllowlistResponse'
15240+
description: OK
15241+
'400':
15242+
content:
15243+
application/json:
15244+
schema:
15245+
$ref: '#/components/schemas/APIErrorResponse'
15246+
description: Bad Request
15247+
'403':
15248+
content:
15249+
application/json:
15250+
schema:
15251+
$ref: '#/components/schemas/APIErrorResponse'
15252+
description: Authentication error
15253+
'404':
15254+
content:
15255+
application/json:
15256+
schema:
15257+
$ref: '#/components/schemas/APIErrorResponse'
15258+
description: Not found
15259+
'429':
15260+
$ref: '#/components/responses/TooManyRequestsResponse'
15261+
security:
15262+
- apiKeyAuth: []
15263+
appKeyAuth: []
15264+
- AuthZ:
15265+
- org_management
15266+
summary: Update IP Allowlist
15267+
tags:
15268+
- IP Allowlist
15269+
x-codegen-request-body-name: body
1509415270
/api/v2/logs:
1509515271
post:
1509615272
description: 'Send your logs to your Datadog platform over HTTP. Limits per
@@ -20715,6 +20891,10 @@ tags:
2071520891
- description: Configure your Datadog Fastly integration directly through the Datadog
2071620892
API.
2071720893
name: Fastly Integration
20894+
- description: 'The IP allowlist API is used to manage the IP addresses that
20895+
20896+
can access the Datadog API and UI.'
20897+
name: IP Allowlist
2071820898
- description: Create, update, delete, and retrieve services which can be associated
2071920899
with incidents.
2072020900
name: Incident Services

docs/datadog_api_client.v2.api.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ incidents\_api
9292
:members:
9393
:show-inheritance:
9494

95+
ip\_allowlist\_api
96+
------------------
97+
98+
.. automodule:: datadog_api_client.v2.api.ip_allowlist_api
99+
:members:
100+
:show-inheritance:
101+
95102
key\_management\_api
96103
--------------------
97104

0 commit comments

Comments
 (0)