datadog_api_client 2.8.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +66 -5
- data/.generator/schemas/v2/openapi.yaml +860 -20
- data/.generator/src/generator/formatter.py +1 -0
- data/.generator/src/generator/templates/model_base.j2 +8 -4
- data/CHANGELOG.md +24 -0
- data/examples/v1/dashboards/CreateDashboard_2800096921.rb +62 -0
- data/examples/v1/dashboards/CreateDashboard_3195475781.rb +32 -0
- data/examples/v2/incidents/CreateIncidentIntegration.rb +31 -0
- data/examples/v2/incidents/DeleteIncidentIntegration.rb +14 -0
- data/examples/v2/incidents/GetIncidentIntegration.rb +14 -0
- data/examples/v2/incidents/ListIncidentIntegrations.rb +11 -0
- data/examples/v2/incidents/UpdateIncidentIntegration.rb +34 -0
- data/examples/v2/ip-allowlist/GetIPAllowlist.rb +5 -0
- data/examples/v2/ip-allowlist/UpdateIPAllowlist.rb +25 -0
- data/examples/v2/logs-metrics/CreateLogsMetric.rb +1 -1
- data/examples/v2/restriction-policies/DeleteRestrictionPolicy.rb +5 -0
- data/examples/v2/restriction-policies/GetRestrictionPolicy.rb +5 -0
- data/examples/v2/restriction-policies/UpdateRestrictionPolicy.rb +25 -0
- data/examples/v2/synthetics/GetOnDemandConcurrencyCap.rb +5 -0
- data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +5 -0
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +7 -0
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +9 -0
- data/lib/datadog_api_client/configuration.rb +5 -0
- data/lib/datadog_api_client/inflector.rb +35 -0
- data/lib/datadog_api_client/v1/api/snapshots_api.rb +2 -2
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v1/model_base.rb +7 -3
- data/lib/datadog_api_client/v1/models/application_key.rb +16 -16
- data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/downtime.rb +1 -1
- data/lib/datadog_api_client/v1/models/downtime_child.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +3 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +12 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
- data/lib/datadog_api_client/v2/api/incidents_api.rb +384 -0
- data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +153 -0
- data/lib/datadog_api_client/v2/api/logs_api.rb +1 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +236 -0
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +153 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
- data/lib/datadog_api_client/v2/model_base.rb +7 -3
- data/lib/datadog_api_client/v2/models/events_data_source.rb +1 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +161 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_list_response.rb +126 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +63 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response.rb +114 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_included_item.rb +62 -0
- data/lib/datadog_api_client/v2/models/incident_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/ip_allowlist_attributes.rb +103 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_data.rb +122 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry.rb +102 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry_attributes.rb +121 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry_data.rb +122 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/jira_integration_metadata.rb +104 -0
- data/lib/datadog_api_client/v2/models/jira_integration_metadata_issues_item.rb +153 -0
- data/lib/datadog_api_client/v2/models/metrics_aggregator.rb +4 -0
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +91 -0
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_attributes.rb +91 -0
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
- data/lib/datadog_api_client/v2/models/restriction_policy.rb +144 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_attributes.rb +104 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_binding.rb +127 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_response.rb +102 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +7 -7
- data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +7 -7
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +1 -0
- data/lib/datadog_api_client/v2/models/slack_integration_metadata.rb +104 -0
- data/lib/datadog_api_client/v2/models/slack_integration_metadata_channel_item.rb +154 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +53 -2
@@ -211,6 +211,13 @@ components:
|
|
211
211
|
items:
|
212
212
|
$ref: '#/components/schemas/IncidentRelatedObject'
|
213
213
|
type: array
|
214
|
+
IncidentIntegrationMetadataIDPathParameter:
|
215
|
+
description: The UUID of the incident integration metadata.
|
216
|
+
in: path
|
217
|
+
name: integration_metadata_id
|
218
|
+
required: true
|
219
|
+
schema:
|
220
|
+
type: string
|
214
221
|
IncidentSearchIncludeQueryParameter:
|
215
222
|
description: Specifies which types of related objects should be included in
|
216
223
|
the response.
|
@@ -347,6 +354,15 @@ components:
|
|
347
354
|
example: 10
|
348
355
|
format: int64
|
349
356
|
type: integer
|
357
|
+
ResourceID:
|
358
|
+
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
|
359
|
+
`dashboard`, `notebook`, `security-rule`, `slo`.'
|
360
|
+
example: dashboard:abc-def-ghi
|
361
|
+
in: path
|
362
|
+
name: resource_id
|
363
|
+
required: true
|
364
|
+
schema:
|
365
|
+
type: string
|
350
366
|
RoleID:
|
351
367
|
description: The unique identifier of the role.
|
352
368
|
in: path
|
@@ -3096,10 +3112,12 @@ components:
|
|
3096
3112
|
description: A data source that is powered by the Events Platform.
|
3097
3113
|
enum:
|
3098
3114
|
- logs
|
3115
|
+
- rum
|
3099
3116
|
example: logs
|
3100
3117
|
type: string
|
3101
3118
|
x-enum-varnames:
|
3102
3119
|
- LOGS
|
3120
|
+
- RUM
|
3103
3121
|
EventsGroupBy:
|
3104
3122
|
description: A dimension on which to split a query's results.
|
3105
3123
|
properties:
|
@@ -3862,6 +3880,104 @@ components:
|
|
3862
3880
|
- APP_SEC_HOST_COUNT
|
3863
3881
|
- OBSERVABILITY_PIPELINES_BYTES_PROCESSSED
|
3864
3882
|
- LAMBDA_TRACED_INVOCATIONS_COUNT
|
3883
|
+
IPAllowlistAttributes:
|
3884
|
+
description: Attributes of the IP allowlist.
|
3885
|
+
properties:
|
3886
|
+
enabled:
|
3887
|
+
description: Whether the IP allowlist logic is enabled or not.
|
3888
|
+
type: boolean
|
3889
|
+
entries:
|
3890
|
+
description: Array of entries in the IP allowlist.
|
3891
|
+
items:
|
3892
|
+
$ref: '#/components/schemas/IPAllowlistEntry'
|
3893
|
+
type: array
|
3894
|
+
type: object
|
3895
|
+
IPAllowlistData:
|
3896
|
+
description: IP allowlist data.
|
3897
|
+
properties:
|
3898
|
+
attributes:
|
3899
|
+
$ref: '#/components/schemas/IPAllowlistAttributes'
|
3900
|
+
id:
|
3901
|
+
description: The unique identifier of the org.
|
3902
|
+
type: string
|
3903
|
+
type:
|
3904
|
+
$ref: '#/components/schemas/IPAllowlistType'
|
3905
|
+
required:
|
3906
|
+
- type
|
3907
|
+
type: object
|
3908
|
+
IPAllowlistEntry:
|
3909
|
+
description: IP allowlist entry object.
|
3910
|
+
properties:
|
3911
|
+
data:
|
3912
|
+
$ref: '#/components/schemas/IPAllowlistEntryData'
|
3913
|
+
required:
|
3914
|
+
- data
|
3915
|
+
type: object
|
3916
|
+
IPAllowlistEntryAttributes:
|
3917
|
+
description: Attributes of the IP allowlist entry.
|
3918
|
+
properties:
|
3919
|
+
cidr_block:
|
3920
|
+
description: The CIDR block describing the IP range of the entry.
|
3921
|
+
type: string
|
3922
|
+
created_at:
|
3923
|
+
description: Creation time of the entry.
|
3924
|
+
format: date-time
|
3925
|
+
readOnly: true
|
3926
|
+
type: string
|
3927
|
+
modified_at:
|
3928
|
+
description: Time of last entry modification.
|
3929
|
+
format: date-time
|
3930
|
+
readOnly: true
|
3931
|
+
type: string
|
3932
|
+
note:
|
3933
|
+
description: A note describing the IP allowlist entry.
|
3934
|
+
type: string
|
3935
|
+
type: object
|
3936
|
+
IPAllowlistEntryData:
|
3937
|
+
description: Data of the IP allowlist entry object.
|
3938
|
+
properties:
|
3939
|
+
attributes:
|
3940
|
+
$ref: '#/components/schemas/IPAllowlistEntryAttributes'
|
3941
|
+
id:
|
3942
|
+
description: The unique identifier of the IP allowlist entry.
|
3943
|
+
type: string
|
3944
|
+
type:
|
3945
|
+
$ref: '#/components/schemas/IPAllowlistEntryType'
|
3946
|
+
required:
|
3947
|
+
- type
|
3948
|
+
type: object
|
3949
|
+
IPAllowlistEntryType:
|
3950
|
+
default: ip_allowlist_entry
|
3951
|
+
description: IP allowlist Entry type.
|
3952
|
+
enum:
|
3953
|
+
- ip_allowlist_entry
|
3954
|
+
example: ip_allowlist_entry
|
3955
|
+
type: string
|
3956
|
+
x-enum-varnames:
|
3957
|
+
- IP_ALLOWLIST_ENTRY
|
3958
|
+
IPAllowlistResponse:
|
3959
|
+
description: Response containing information about the IP allowlist.
|
3960
|
+
properties:
|
3961
|
+
data:
|
3962
|
+
$ref: '#/components/schemas/IPAllowlistData'
|
3963
|
+
type: object
|
3964
|
+
IPAllowlistType:
|
3965
|
+
default: ip_allowlist
|
3966
|
+
description: IP allowlist type.
|
3967
|
+
enum:
|
3968
|
+
- ip_allowlist
|
3969
|
+
example: ip_allowlist
|
3970
|
+
type: string
|
3971
|
+
x-enum-varnames:
|
3972
|
+
- IP_ALLOWLIST
|
3973
|
+
IPAllowlistUpdateRequest:
|
3974
|
+
description: Update the IP allowlist.
|
3975
|
+
properties:
|
3976
|
+
data:
|
3977
|
+
$ref: '#/components/schemas/IPAllowlistData'
|
3978
|
+
required:
|
3979
|
+
- data
|
3980
|
+
type: object
|
3865
3981
|
IdPMetadataFormData:
|
3866
3982
|
description: The form data submitted to upload IdP metadata
|
3867
3983
|
properties:
|
@@ -4238,6 +4354,137 @@ components:
|
|
4238
4354
|
- TEXTARRAY
|
4239
4355
|
- METRICTAG
|
4240
4356
|
- AUTOCOMPLETE
|
4357
|
+
IncidentIntegrationMetadataAttributes:
|
4358
|
+
description: Incident integration metadata's attributes for a create request.
|
4359
|
+
properties:
|
4360
|
+
incident_id:
|
4361
|
+
description: UUID of the incident this integration metadata is connected
|
4362
|
+
to.
|
4363
|
+
example: 00000000-aaaa-0000-0000-000000000000
|
4364
|
+
type: string
|
4365
|
+
integration_type:
|
4366
|
+
description: 'A number indicating the type of integration this metadata
|
4367
|
+
is for. 1 indicates Slack;
|
4368
|
+
|
4369
|
+
8 indicates Jira.'
|
4370
|
+
example: 1
|
4371
|
+
format: int32
|
4372
|
+
maximum: 9
|
4373
|
+
type: integer
|
4374
|
+
metadata:
|
4375
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataMetadata'
|
4376
|
+
status:
|
4377
|
+
description: 'A number indicating the status of this integration metadata.
|
4378
|
+
0 indicates unknown;
|
4379
|
+
|
4380
|
+
1 indicates pending; 2 indicates complete; 3 indicates manually created;
|
4381
|
+
|
4382
|
+
4 indicates manually updated; 5 indicates failed.'
|
4383
|
+
format: int32
|
4384
|
+
maximum: 5
|
4385
|
+
type: integer
|
4386
|
+
required:
|
4387
|
+
- integration_type
|
4388
|
+
- metadata
|
4389
|
+
type: object
|
4390
|
+
IncidentIntegrationMetadataCreateData:
|
4391
|
+
description: Incident integration metadata data for a create request.
|
4392
|
+
properties:
|
4393
|
+
attributes:
|
4394
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
|
4395
|
+
type:
|
4396
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataType'
|
4397
|
+
required:
|
4398
|
+
- type
|
4399
|
+
- attributes
|
4400
|
+
type: object
|
4401
|
+
IncidentIntegrationMetadataCreateRequest:
|
4402
|
+
description: Create request for an incident integration metadata.
|
4403
|
+
properties:
|
4404
|
+
data:
|
4405
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataCreateData'
|
4406
|
+
required:
|
4407
|
+
- data
|
4408
|
+
type: object
|
4409
|
+
IncidentIntegrationMetadataListResponse:
|
4410
|
+
description: Response with a list of incident integration metadata.
|
4411
|
+
properties:
|
4412
|
+
data:
|
4413
|
+
description: An array of incident integration metadata.
|
4414
|
+
items:
|
4415
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataResponseData'
|
4416
|
+
type: array
|
4417
|
+
included:
|
4418
|
+
description: Included related resources that the user requested.
|
4419
|
+
items:
|
4420
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataResponseIncludedItem'
|
4421
|
+
readOnly: true
|
4422
|
+
type: array
|
4423
|
+
meta:
|
4424
|
+
$ref: '#/components/schemas/IncidentResponseMeta'
|
4425
|
+
required:
|
4426
|
+
- data
|
4427
|
+
type: object
|
4428
|
+
IncidentIntegrationMetadataMetadata:
|
4429
|
+
description: Incident integration metadata's metadata attribute.
|
4430
|
+
oneOf:
|
4431
|
+
- $ref: '#/components/schemas/SlackIntegrationMetadata'
|
4432
|
+
- $ref: '#/components/schemas/JiraIntegrationMetadata'
|
4433
|
+
type: object
|
4434
|
+
IncidentIntegrationMetadataPatchData:
|
4435
|
+
description: Incident integration metadata data for a patch request.
|
4436
|
+
properties:
|
4437
|
+
attributes:
|
4438
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
|
4439
|
+
type:
|
4440
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataType'
|
4441
|
+
required:
|
4442
|
+
- type
|
4443
|
+
- attributes
|
4444
|
+
type: object
|
4445
|
+
IncidentIntegrationMetadataPatchRequest:
|
4446
|
+
description: Patch request for an incident integration metadata.
|
4447
|
+
properties:
|
4448
|
+
data:
|
4449
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataPatchData'
|
4450
|
+
required:
|
4451
|
+
- data
|
4452
|
+
type: object
|
4453
|
+
IncidentIntegrationMetadataResponse:
|
4454
|
+
description: Response with an incident integration metadata.
|
4455
|
+
properties:
|
4456
|
+
data:
|
4457
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataResponseData'
|
4458
|
+
included:
|
4459
|
+
description: Included related resources that the user requested.
|
4460
|
+
items:
|
4461
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataResponseIncludedItem'
|
4462
|
+
readOnly: true
|
4463
|
+
type: array
|
4464
|
+
required:
|
4465
|
+
- data
|
4466
|
+
type: object
|
4467
|
+
IncidentIntegrationMetadataResponseData:
|
4468
|
+
description: Incident integration metadata from a response.
|
4469
|
+
properties:
|
4470
|
+
attributes:
|
4471
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
|
4472
|
+
id:
|
4473
|
+
description: The incident integration metadata's ID.
|
4474
|
+
example: 00000000-0000-0000-1234-000000000000
|
4475
|
+
type: string
|
4476
|
+
type:
|
4477
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataType'
|
4478
|
+
required:
|
4479
|
+
- id
|
4480
|
+
- type
|
4481
|
+
type: object
|
4482
|
+
IncidentIntegrationMetadataResponseIncludedItem:
|
4483
|
+
description: An object related to an incident integration metadata that is included
|
4484
|
+
in the response.
|
4485
|
+
oneOf:
|
4486
|
+
- $ref: '#/components/schemas/User'
|
4487
|
+
type: object
|
4241
4488
|
IncidentIntegrationMetadataType:
|
4242
4489
|
default: incident_integrations
|
4243
4490
|
description: Integration metadata resource type.
|
@@ -5092,7 +5339,7 @@ components:
|
|
5092
5339
|
attributes:
|
5093
5340
|
$ref: '#/components/schemas/IncidentUpdateAttributes'
|
5094
5341
|
id:
|
5095
|
-
description: The
|
5342
|
+
description: The incident's ID.
|
5096
5343
|
example: 00000000-0000-0000-4567-000000000000
|
5097
5344
|
type: string
|
5098
5345
|
relationships:
|
@@ -5239,6 +5486,45 @@ components:
|
|
5239
5486
|
type: string
|
5240
5487
|
type: array
|
5241
5488
|
type: object
|
5489
|
+
JiraIntegrationMetadata:
|
5490
|
+
description: Incident integration metadata for the Jira integration.
|
5491
|
+
properties:
|
5492
|
+
issues:
|
5493
|
+
description: Array of Jira issues in this integration metadata.
|
5494
|
+
example: []
|
5495
|
+
items:
|
5496
|
+
$ref: '#/components/schemas/JiraIntegrationMetadataIssuesItem'
|
5497
|
+
type: array
|
5498
|
+
required:
|
5499
|
+
- issues
|
5500
|
+
type: object
|
5501
|
+
JiraIntegrationMetadataIssuesItem:
|
5502
|
+
description: Item in the Jira integration metadata issue array.
|
5503
|
+
properties:
|
5504
|
+
account:
|
5505
|
+
description: URL of issue's Jira account.
|
5506
|
+
example: https://example.atlassian.net
|
5507
|
+
type: string
|
5508
|
+
issue_key:
|
5509
|
+
description: Jira issue's issue key.
|
5510
|
+
example: PROJ-123
|
5511
|
+
type: string
|
5512
|
+
issuetype_id:
|
5513
|
+
description: Jira issue's issue type.
|
5514
|
+
example: '1000'
|
5515
|
+
type: string
|
5516
|
+
project_key:
|
5517
|
+
description: Jira issue's project keys.
|
5518
|
+
example: PROJ
|
5519
|
+
type: string
|
5520
|
+
redirect_url:
|
5521
|
+
description: URL redirecting to the Jira issue.
|
5522
|
+
example: https://example.atlassian.net/browse/PROJ-123
|
5523
|
+
type: string
|
5524
|
+
required:
|
5525
|
+
- project_key
|
5526
|
+
- account
|
5527
|
+
type: object
|
5242
5528
|
ListApplicationKeysResponse:
|
5243
5529
|
description: Response for a list of application keys.
|
5244
5530
|
properties:
|
@@ -7202,6 +7488,10 @@ components:
|
|
7202
7488
|
- max
|
7203
7489
|
- sum
|
7204
7490
|
- last
|
7491
|
+
- percentile
|
7492
|
+
- mean
|
7493
|
+
- l2norm
|
7494
|
+
- area
|
7205
7495
|
example: avg
|
7206
7496
|
type: string
|
7207
7497
|
x-enum-varnames:
|
@@ -7210,6 +7500,10 @@ components:
|
|
7210
7500
|
- MAX
|
7211
7501
|
- SUM
|
7212
7502
|
- LAST
|
7503
|
+
- PERCENTILE
|
7504
|
+
- MEAN
|
7505
|
+
- L2NORM
|
7506
|
+
- AREA
|
7213
7507
|
MetricsAndMetricTagConfigurations:
|
7214
7508
|
description: Object for a metrics and metric tag configurations.
|
7215
7509
|
oneOf:
|
@@ -7523,6 +7817,26 @@ components:
|
|
7523
7817
|
- id
|
7524
7818
|
- type
|
7525
7819
|
type: object
|
7820
|
+
OnDemandConcurrencyCap:
|
7821
|
+
description: On-demand concurrency cap.
|
7822
|
+
properties:
|
7823
|
+
attributes:
|
7824
|
+
$ref: '#/components/schemas/OnDemandConcurrencyCapAttributes'
|
7825
|
+
type: object
|
7826
|
+
OnDemandConcurrencyCapAttributes:
|
7827
|
+
description: On-demand concurrency cap attributes.
|
7828
|
+
properties:
|
7829
|
+
on_demand_concurrency_cap:
|
7830
|
+
description: Value of the on-demand concurrency cap.
|
7831
|
+
format: double
|
7832
|
+
type: number
|
7833
|
+
type: object
|
7834
|
+
OnDemandConcurrencyCapResponse:
|
7835
|
+
description: On-demand concurrency cap response.
|
7836
|
+
properties:
|
7837
|
+
data:
|
7838
|
+
$ref: '#/components/schemas/OnDemandConcurrencyCap'
|
7839
|
+
type: object
|
7526
7840
|
OpsgenieServiceCreateAttributes:
|
7527
7841
|
description: The Opsgenie service attributes for a create request.
|
7528
7842
|
properties:
|
@@ -8828,7 +9142,7 @@ components:
|
|
8828
9142
|
type: incident_integrations
|
8829
9143
|
properties:
|
8830
9144
|
data:
|
8831
|
-
description:
|
9145
|
+
description: Integration metadata relationship array
|
8832
9146
|
example:
|
8833
9147
|
- id: 00000000-abcd-0003-0000-000000000000
|
8834
9148
|
type: incident_integrations
|
@@ -9010,6 +9324,91 @@ components:
|
|
9010
9324
|
page:
|
9011
9325
|
$ref: '#/components/schemas/Pagination'
|
9012
9326
|
type: object
|
9327
|
+
RestrictionPolicy:
|
9328
|
+
description: Restriction policy object.
|
9329
|
+
properties:
|
9330
|
+
attributes:
|
9331
|
+
$ref: '#/components/schemas/RestrictionPolicyAttributes'
|
9332
|
+
id:
|
9333
|
+
description: The identifier, always equivalent to the value specified in
|
9334
|
+
the `resource_id` path parameter.
|
9335
|
+
example: dashboard:abc-def-ghi
|
9336
|
+
type: string
|
9337
|
+
type:
|
9338
|
+
$ref: '#/components/schemas/RestrictionPolicyType'
|
9339
|
+
required:
|
9340
|
+
- type
|
9341
|
+
- id
|
9342
|
+
- attributes
|
9343
|
+
type: object
|
9344
|
+
RestrictionPolicyAttributes:
|
9345
|
+
description: Restriction policy attributes.
|
9346
|
+
example:
|
9347
|
+
bindings: []
|
9348
|
+
properties:
|
9349
|
+
bindings:
|
9350
|
+
description: An array of bindings.
|
9351
|
+
items:
|
9352
|
+
$ref: '#/components/schemas/RestrictionPolicyBinding'
|
9353
|
+
type: array
|
9354
|
+
required:
|
9355
|
+
- bindings
|
9356
|
+
type: object
|
9357
|
+
RestrictionPolicyBinding:
|
9358
|
+
description: Specifies which principals are associated with a relation.
|
9359
|
+
properties:
|
9360
|
+
principals:
|
9361
|
+
description: 'An array of principals. A principal is a subject or group
|
9362
|
+
of subjects.
|
9363
|
+
|
9364
|
+
Each principal is formatted as `type:id`. Supported types: `role` and
|
9365
|
+
`org`.
|
9366
|
+
|
9367
|
+
The org ID can be obtained through the api/v2/current_user API.'
|
9368
|
+
example:
|
9369
|
+
- role:00000000-0000-1111-0000-000000000000
|
9370
|
+
items:
|
9371
|
+
description: 'Subject or group of subjects. Each principal is formatted
|
9372
|
+
as `type:id`.
|
9373
|
+
|
9374
|
+
Supported types: `role` and `org`.
|
9375
|
+
|
9376
|
+
The org ID can be obtained through the api/v2/current_user API.'
|
9377
|
+
type: string
|
9378
|
+
type: array
|
9379
|
+
relation:
|
9380
|
+
description: The role/level of access.
|
9381
|
+
example: editor
|
9382
|
+
type: string
|
9383
|
+
required:
|
9384
|
+
- relation
|
9385
|
+
- principals
|
9386
|
+
type: object
|
9387
|
+
RestrictionPolicyResponse:
|
9388
|
+
description: Response containing information about a single restriction policy.
|
9389
|
+
properties:
|
9390
|
+
data:
|
9391
|
+
$ref: '#/components/schemas/RestrictionPolicy'
|
9392
|
+
required:
|
9393
|
+
- data
|
9394
|
+
type: object
|
9395
|
+
RestrictionPolicyType:
|
9396
|
+
default: restriction_policy
|
9397
|
+
description: Restriction policy type.
|
9398
|
+
enum:
|
9399
|
+
- restriction_policy
|
9400
|
+
example: restriction_policy
|
9401
|
+
type: string
|
9402
|
+
x-enum-varnames:
|
9403
|
+
- RESTRICTION_POLICY
|
9404
|
+
RestrictionPolicyUpdateRequest:
|
9405
|
+
description: Update request for a restriction policy.
|
9406
|
+
properties:
|
9407
|
+
data:
|
9408
|
+
$ref: '#/components/schemas/RestrictionPolicy'
|
9409
|
+
required:
|
9410
|
+
- data
|
9411
|
+
type: object
|
9013
9412
|
Role:
|
9014
9413
|
description: Role object returned by the API.
|
9015
9414
|
properties:
|
@@ -10020,12 +10419,14 @@ components:
|
|
10020
10419
|
- infrastructure_configuration
|
10021
10420
|
- workload_security
|
10022
10421
|
- cloud_configuration
|
10422
|
+
- application_security
|
10023
10423
|
type: string
|
10024
10424
|
x-enum-varnames:
|
10025
10425
|
- LOG_DETECTION
|
10026
10426
|
- INFRASTRUCTURE_CONFIGURATION
|
10027
10427
|
- WORKLOAD_SECURITY
|
10028
10428
|
- CLOUD_CONFIGURATION
|
10429
|
+
- APPLICATION_SECURITY
|
10029
10430
|
SecurityMonitoringRuleUpdatePayload:
|
10030
10431
|
description: Update an existing rule.
|
10031
10432
|
properties:
|
@@ -11907,6 +12308,42 @@ components:
|
|
11907
12308
|
$ref: '#/components/schemas/ServiceDefinitionData'
|
11908
12309
|
type: array
|
11909
12310
|
type: object
|
12311
|
+
SlackIntegrationMetadata:
|
12312
|
+
description: Incident integration metadata for the Slack integration.
|
12313
|
+
properties:
|
12314
|
+
channels:
|
12315
|
+
description: Array of Slack channels in this integration metadata.
|
12316
|
+
example: []
|
12317
|
+
items:
|
12318
|
+
$ref: '#/components/schemas/SlackIntegrationMetadataChannelItem'
|
12319
|
+
type: array
|
12320
|
+
required:
|
12321
|
+
- channels
|
12322
|
+
type: object
|
12323
|
+
SlackIntegrationMetadataChannelItem:
|
12324
|
+
description: Item in the Slack integration metadata channel array.
|
12325
|
+
properties:
|
12326
|
+
channel_id:
|
12327
|
+
description: Slack channel ID.
|
12328
|
+
example: C0123456789
|
12329
|
+
type: string
|
12330
|
+
channel_name:
|
12331
|
+
description: Name of the Slack channel.
|
12332
|
+
example: '#example-channel-name'
|
12333
|
+
type: string
|
12334
|
+
redirect_url:
|
12335
|
+
description: URL redirecting to the Slack channel.
|
12336
|
+
example: https://slack.com/app_redirect?channel=C0123456789&team=T01234567
|
12337
|
+
type: string
|
12338
|
+
team_id:
|
12339
|
+
description: Slack team ID.
|
12340
|
+
example: T01234567
|
12341
|
+
type: string
|
12342
|
+
required:
|
12343
|
+
- channel_id
|
12344
|
+
- channel_name
|
12345
|
+
- redirect_url
|
12346
|
+
type: object
|
11910
12347
|
TagsEventAttribute:
|
11911
12348
|
description: Array of tags associated with your event.
|
11912
12349
|
example:
|
@@ -14253,32 +14690,215 @@ paths:
|
|
14253
14690
|
x-unstable: '**Note**: This endpoint is in public beta.
|
14254
14691
|
|
14255
14692
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
14256
|
-
/api/v2/
|
14693
|
+
/api/v2/incidents/{incident_id}/relationships/integrations:
|
14257
14694
|
get:
|
14258
|
-
description: Get
|
14259
|
-
operationId:
|
14695
|
+
description: Get all integration metadata for an incident.
|
14696
|
+
operationId: ListIncidentIntegrations
|
14697
|
+
parameters:
|
14698
|
+
- $ref: '#/components/parameters/IncidentIDPathParameter'
|
14260
14699
|
responses:
|
14261
14700
|
'200':
|
14262
14701
|
content:
|
14263
14702
|
application/json:
|
14264
14703
|
schema:
|
14265
|
-
$ref: '#/components/schemas/
|
14704
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataListResponse'
|
14266
14705
|
description: OK
|
14706
|
+
'400':
|
14707
|
+
$ref: '#/components/responses/BadRequestResponse'
|
14708
|
+
'401':
|
14709
|
+
$ref: '#/components/responses/UnauthorizedResponse'
|
14267
14710
|
'403':
|
14268
14711
|
$ref: '#/components/responses/ForbiddenResponse'
|
14712
|
+
'404':
|
14713
|
+
$ref: '#/components/responses/NotFoundResponse'
|
14269
14714
|
'429':
|
14270
14715
|
$ref: '#/components/responses/TooManyRequestsResponse'
|
14271
|
-
|
14716
|
+
security:
|
14717
|
+
- apiKeyAuth: []
|
14718
|
+
appKeyAuth: []
|
14719
|
+
- AuthZ:
|
14720
|
+
- incident_read
|
14721
|
+
summary: Get a list of an incident's integration metadata
|
14272
14722
|
tags:
|
14273
|
-
-
|
14723
|
+
- Incidents
|
14724
|
+
x-unstable: '**Note**: This endpoint is in public beta.
|
14725
|
+
|
14726
|
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
14274
14727
|
post:
|
14275
|
-
description: Create
|
14276
|
-
operationId:
|
14728
|
+
description: Create an incident integration metadata.
|
14729
|
+
operationId: CreateIncidentIntegration
|
14730
|
+
parameters:
|
14731
|
+
- $ref: '#/components/parameters/IncidentIDPathParameter'
|
14277
14732
|
requestBody:
|
14278
14733
|
content:
|
14279
14734
|
application/json:
|
14280
14735
|
schema:
|
14281
|
-
$ref: '#/components/schemas/
|
14736
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataCreateRequest'
|
14737
|
+
description: Incident integration metadata payload.
|
14738
|
+
required: true
|
14739
|
+
responses:
|
14740
|
+
'201':
|
14741
|
+
content:
|
14742
|
+
application/json:
|
14743
|
+
schema:
|
14744
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
|
14745
|
+
description: CREATED
|
14746
|
+
'400':
|
14747
|
+
$ref: '#/components/responses/BadRequestResponse'
|
14748
|
+
'401':
|
14749
|
+
$ref: '#/components/responses/UnauthorizedResponse'
|
14750
|
+
'403':
|
14751
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
14752
|
+
'404':
|
14753
|
+
$ref: '#/components/responses/NotFoundResponse'
|
14754
|
+
'429':
|
14755
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
14756
|
+
security:
|
14757
|
+
- apiKeyAuth: []
|
14758
|
+
appKeyAuth: []
|
14759
|
+
- AuthZ:
|
14760
|
+
- incident_write
|
14761
|
+
summary: Create an incident integration metadata
|
14762
|
+
tags:
|
14763
|
+
- Incidents
|
14764
|
+
x-codegen-request-body-name: body
|
14765
|
+
x-unstable: '**Note**: This endpoint is in public beta.
|
14766
|
+
|
14767
|
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
14768
|
+
/api/v2/incidents/{incident_id}/relationships/integrations/{integration_metadata_id}:
|
14769
|
+
delete:
|
14770
|
+
description: Delete an incident integration metadata.
|
14771
|
+
operationId: DeleteIncidentIntegration
|
14772
|
+
parameters:
|
14773
|
+
- $ref: '#/components/parameters/IncidentIDPathParameter'
|
14774
|
+
- $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
|
14775
|
+
responses:
|
14776
|
+
'204':
|
14777
|
+
description: OK
|
14778
|
+
'400':
|
14779
|
+
$ref: '#/components/responses/BadRequestResponse'
|
14780
|
+
'401':
|
14781
|
+
$ref: '#/components/responses/UnauthorizedResponse'
|
14782
|
+
'403':
|
14783
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
14784
|
+
'404':
|
14785
|
+
$ref: '#/components/responses/NotFoundResponse'
|
14786
|
+
'429':
|
14787
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
14788
|
+
security:
|
14789
|
+
- apiKeyAuth: []
|
14790
|
+
appKeyAuth: []
|
14791
|
+
- AuthZ:
|
14792
|
+
- incident_write
|
14793
|
+
summary: Delete an incident integration metadata
|
14794
|
+
tags:
|
14795
|
+
- Incidents
|
14796
|
+
x-codegen-request-body-name: body
|
14797
|
+
x-unstable: '**Note**: This endpoint is in public beta.
|
14798
|
+
|
14799
|
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
14800
|
+
get:
|
14801
|
+
description: Get incident integration metadata details.
|
14802
|
+
operationId: GetIncidentIntegration
|
14803
|
+
parameters:
|
14804
|
+
- $ref: '#/components/parameters/IncidentIDPathParameter'
|
14805
|
+
- $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
|
14806
|
+
responses:
|
14807
|
+
'200':
|
14808
|
+
content:
|
14809
|
+
application/json:
|
14810
|
+
schema:
|
14811
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
|
14812
|
+
description: OK
|
14813
|
+
'400':
|
14814
|
+
$ref: '#/components/responses/BadRequestResponse'
|
14815
|
+
'401':
|
14816
|
+
$ref: '#/components/responses/UnauthorizedResponse'
|
14817
|
+
'403':
|
14818
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
14819
|
+
'404':
|
14820
|
+
$ref: '#/components/responses/NotFoundResponse'
|
14821
|
+
'429':
|
14822
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
14823
|
+
security:
|
14824
|
+
- apiKeyAuth: []
|
14825
|
+
appKeyAuth: []
|
14826
|
+
- AuthZ:
|
14827
|
+
- incident_read
|
14828
|
+
summary: Get incident integration metadata details
|
14829
|
+
tags:
|
14830
|
+
- Incidents
|
14831
|
+
x-unstable: '**Note**: This endpoint is in public beta.
|
14832
|
+
|
14833
|
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
14834
|
+
patch:
|
14835
|
+
description: Update an existing incident integration metadata.
|
14836
|
+
operationId: UpdateIncidentIntegration
|
14837
|
+
parameters:
|
14838
|
+
- $ref: '#/components/parameters/IncidentIDPathParameter'
|
14839
|
+
- $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
|
14840
|
+
requestBody:
|
14841
|
+
content:
|
14842
|
+
application/json:
|
14843
|
+
schema:
|
14844
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataPatchRequest'
|
14845
|
+
description: Incident integration metadata payload.
|
14846
|
+
required: true
|
14847
|
+
responses:
|
14848
|
+
'200':
|
14849
|
+
content:
|
14850
|
+
application/json:
|
14851
|
+
schema:
|
14852
|
+
$ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
|
14853
|
+
description: OK
|
14854
|
+
'400':
|
14855
|
+
$ref: '#/components/responses/BadRequestResponse'
|
14856
|
+
'401':
|
14857
|
+
$ref: '#/components/responses/UnauthorizedResponse'
|
14858
|
+
'403':
|
14859
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
14860
|
+
'404':
|
14861
|
+
$ref: '#/components/responses/NotFoundResponse'
|
14862
|
+
'429':
|
14863
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
14864
|
+
security:
|
14865
|
+
- apiKeyAuth: []
|
14866
|
+
appKeyAuth: []
|
14867
|
+
- AuthZ:
|
14868
|
+
- incident_write
|
14869
|
+
summary: Update an existing incident integration metadata
|
14870
|
+
tags:
|
14871
|
+
- Incidents
|
14872
|
+
x-codegen-request-body-name: body
|
14873
|
+
x-unstable: '**Note**: This endpoint is in public beta.
|
14874
|
+
|
14875
|
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
14876
|
+
/api/v2/integration/opsgenie/services:
|
14877
|
+
get:
|
14878
|
+
description: Get a list of all services from the Datadog Opsgenie integration.
|
14879
|
+
operationId: ListOpsgenieServices
|
14880
|
+
responses:
|
14881
|
+
'200':
|
14882
|
+
content:
|
14883
|
+
application/json:
|
14884
|
+
schema:
|
14885
|
+
$ref: '#/components/schemas/OpsgenieServicesResponse'
|
14886
|
+
description: OK
|
14887
|
+
'403':
|
14888
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
14889
|
+
'429':
|
14890
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
14891
|
+
summary: Get all service objects
|
14892
|
+
tags:
|
14893
|
+
- Opsgenie Integration
|
14894
|
+
post:
|
14895
|
+
description: Create a new service object in the Opsgenie integration.
|
14896
|
+
operationId: CreateOpsgenieService
|
14897
|
+
requestBody:
|
14898
|
+
content:
|
14899
|
+
application/json:
|
14900
|
+
schema:
|
14901
|
+
$ref: '#/components/schemas/OpsgenieServiceCreateRequest'
|
14282
14902
|
description: Opsgenie service payload
|
14283
14903
|
required: true
|
14284
14904
|
responses:
|
@@ -15035,6 +15655,64 @@ paths:
|
|
15035
15655
|
tags:
|
15036
15656
|
- Fastly Integration
|
15037
15657
|
x-codegen-request-body-name: body
|
15658
|
+
/api/v2/ip_allowlist:
|
15659
|
+
get:
|
15660
|
+
description: Returns the IP allowlist and its enabled or disabled state.
|
15661
|
+
operationId: GetIPAllowlist
|
15662
|
+
responses:
|
15663
|
+
'200':
|
15664
|
+
content:
|
15665
|
+
application/json:
|
15666
|
+
schema:
|
15667
|
+
$ref: '#/components/schemas/IPAllowlistResponse'
|
15668
|
+
description: OK
|
15669
|
+
'403':
|
15670
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
15671
|
+
'404':
|
15672
|
+
$ref: '#/components/responses/NotFoundResponse'
|
15673
|
+
'429':
|
15674
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
15675
|
+
security:
|
15676
|
+
- apiKeyAuth: []
|
15677
|
+
appKeyAuth: []
|
15678
|
+
- AuthZ:
|
15679
|
+
- org_management
|
15680
|
+
summary: Get IP Allowlist
|
15681
|
+
tags:
|
15682
|
+
- IP Allowlist
|
15683
|
+
patch:
|
15684
|
+
description: Edit the entries in the IP allowlist, and enable or disable it.
|
15685
|
+
operationId: UpdateIPAllowlist
|
15686
|
+
requestBody:
|
15687
|
+
content:
|
15688
|
+
application/json:
|
15689
|
+
schema:
|
15690
|
+
$ref: '#/components/schemas/IPAllowlistUpdateRequest'
|
15691
|
+
required: true
|
15692
|
+
responses:
|
15693
|
+
'200':
|
15694
|
+
content:
|
15695
|
+
application/json:
|
15696
|
+
schema:
|
15697
|
+
$ref: '#/components/schemas/IPAllowlistResponse'
|
15698
|
+
description: OK
|
15699
|
+
'400':
|
15700
|
+
$ref: '#/components/responses/BadRequestResponse'
|
15701
|
+
'403':
|
15702
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
15703
|
+
'404':
|
15704
|
+
$ref: '#/components/responses/NotFoundResponse'
|
15705
|
+
'429':
|
15706
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
15707
|
+
security:
|
15708
|
+
- apiKeyAuth: []
|
15709
|
+
appKeyAuth: []
|
15710
|
+
- AuthZ:
|
15711
|
+
- org_management
|
15712
|
+
summary: Update IP Allowlist
|
15713
|
+
tags:
|
15714
|
+
- IP Allowlist
|
15715
|
+
x-codegen-request-body-name: body
|
15038
15716
|
/api/v2/logs:
|
15039
15717
|
post:
|
15040
15718
|
description: 'Send your logs to your Datadog platform over HTTP. Limits per
|
@@ -15062,6 +15740,9 @@ paths:
|
|
15062
15740
|
Add the `Content-Encoding: gzip` header to the request when sending compressed
|
15063
15741
|
logs.
|
15064
15742
|
|
15743
|
+
Log events can be submitted up to 18 hours in the past and 2 hours in the
|
15744
|
+
future.
|
15745
|
+
|
15065
15746
|
|
15066
15747
|
The status codes answered by the HTTP API are:
|
15067
15748
|
|
@@ -16948,11 +17629,11 @@ paths:
|
|
16948
17629
|
tags:
|
16949
17630
|
- Metrics
|
16950
17631
|
x-codegen-request-body-name: body
|
16951
|
-
x-unstable: '**Note**: This endpoint is GA for the metrics
|
16952
|
-
sources.
|
17632
|
+
x-unstable: '**Note**: This endpoint is GA for the metrics, real user monitoring
|
17633
|
+
(RUM) and cloud cost data sources.
|
16953
17634
|
|
16954
|
-
in beta. We are gradually onboarding support for more
|
16955
|
-
any
|
17635
|
+
Support for logs is in beta. We are gradually onboarding support for more
|
17636
|
+
sources. If you have any
|
16956
17637
|
|
16957
17638
|
feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
16958
17639
|
/api/v2/query/timeseries:
|
@@ -16991,13 +17672,105 @@ paths:
|
|
16991
17672
|
tags:
|
16992
17673
|
- Metrics
|
16993
17674
|
x-codegen-request-body-name: body
|
16994
|
-
x-unstable: '**Note**: This endpoint is GA for the metrics
|
16995
|
-
sources.
|
17675
|
+
x-unstable: '**Note**: This endpoint is GA for the metrics, real user monitoring
|
17676
|
+
(RUM) and cloud cost data sources.
|
16996
17677
|
|
16997
|
-
in beta. We are gradually onboarding support for more
|
16998
|
-
any
|
17678
|
+
Support for logs is in beta. We are gradually onboarding support for more
|
17679
|
+
sources. If you have any
|
16999
17680
|
|
17000
17681
|
feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
17682
|
+
/api/v2/restriction_policy/{resource_id}:
|
17683
|
+
delete:
|
17684
|
+
description: Deletes the restriction policy associated with a specified resource.
|
17685
|
+
operationId: DeleteRestrictionPolicy
|
17686
|
+
parameters:
|
17687
|
+
- $ref: '#/components/parameters/ResourceID'
|
17688
|
+
responses:
|
17689
|
+
'204':
|
17690
|
+
description: No Content
|
17691
|
+
'400':
|
17692
|
+
$ref: '#/components/responses/BadRequestResponse'
|
17693
|
+
'403':
|
17694
|
+
$ref: '#/components/responses/NotAuthorizedResponse'
|
17695
|
+
'429':
|
17696
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
17697
|
+
security:
|
17698
|
+
- apiKeyAuth: []
|
17699
|
+
appKeyAuth: []
|
17700
|
+
summary: Delete a restriction policy
|
17701
|
+
tags:
|
17702
|
+
- Restriction Policies
|
17703
|
+
get:
|
17704
|
+
description: Retrieves the restriction policy associated with a specified resource.
|
17705
|
+
operationId: GetRestrictionPolicy
|
17706
|
+
parameters:
|
17707
|
+
- $ref: '#/components/parameters/ResourceID'
|
17708
|
+
responses:
|
17709
|
+
'200':
|
17710
|
+
content:
|
17711
|
+
application/json:
|
17712
|
+
schema:
|
17713
|
+
$ref: '#/components/schemas/RestrictionPolicyResponse'
|
17714
|
+
description: OK
|
17715
|
+
'400':
|
17716
|
+
$ref: '#/components/responses/BadRequestResponse'
|
17717
|
+
'403':
|
17718
|
+
$ref: '#/components/responses/NotAuthorizedResponse'
|
17719
|
+
'429':
|
17720
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
17721
|
+
security:
|
17722
|
+
- apiKeyAuth: []
|
17723
|
+
appKeyAuth: []
|
17724
|
+
summary: Get a restriction policy
|
17725
|
+
tags:
|
17726
|
+
- Restriction Policies
|
17727
|
+
post:
|
17728
|
+
description: 'Updates the restriction policy associated with a resource.
|
17729
|
+
|
17730
|
+
|
17731
|
+
#### Supported resources
|
17732
|
+
|
17733
|
+
Restriction policies can be applied to the following resources:
|
17734
|
+
|
17735
|
+
- Connections: `connection`
|
17736
|
+
|
17737
|
+
- Dashboards: `dashboard`
|
17738
|
+
|
17739
|
+
- Notebooks: `notebook`
|
17740
|
+
|
17741
|
+
- Security Rules: `security-rule`
|
17742
|
+
|
17743
|
+
- Service Level Objectives: `slo`'
|
17744
|
+
operationId: UpdateRestrictionPolicy
|
17745
|
+
parameters:
|
17746
|
+
- $ref: '#/components/parameters/ResourceID'
|
17747
|
+
requestBody:
|
17748
|
+
content:
|
17749
|
+
application/json:
|
17750
|
+
schema:
|
17751
|
+
$ref: '#/components/schemas/RestrictionPolicyUpdateRequest'
|
17752
|
+
description: Restriction policy payload
|
17753
|
+
required: true
|
17754
|
+
responses:
|
17755
|
+
'200':
|
17756
|
+
content:
|
17757
|
+
application/json:
|
17758
|
+
schema:
|
17759
|
+
$ref: '#/components/schemas/RestrictionPolicyResponse'
|
17760
|
+
description: OK
|
17761
|
+
'400':
|
17762
|
+
$ref: '#/components/responses/BadRequestResponse'
|
17763
|
+
'403':
|
17764
|
+
$ref: '#/components/responses/NotAuthorizedResponse'
|
17765
|
+
'429':
|
17766
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
17767
|
+
security:
|
17768
|
+
- apiKeyAuth: []
|
17769
|
+
appKeyAuth: []
|
17770
|
+
summary: Update a restriction policy
|
17771
|
+
tags:
|
17772
|
+
- Restriction Policies
|
17773
|
+
x-codegen-request-body-name: body
|
17001
17774
|
/api/v2/roles:
|
17002
17775
|
get:
|
17003
17776
|
description: Returns all roles, including their names and their unique identifiers.
|
@@ -19491,6 +20264,45 @@ paths:
|
|
19491
20264
|
x-unstable: '**Note**: This endpoint is in public beta.
|
19492
20265
|
|
19493
20266
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
20267
|
+
/api/v2/synthetics/settings/on_demand_concurrency_cap:
|
20268
|
+
get:
|
20269
|
+
description: Get the on-demand concurrency cap.
|
20270
|
+
operationId: GetOnDemandConcurrencyCap
|
20271
|
+
responses:
|
20272
|
+
'200':
|
20273
|
+
content:
|
20274
|
+
application/json:
|
20275
|
+
schema:
|
20276
|
+
$ref: '#/components/schemas/OnDemandConcurrencyCapResponse'
|
20277
|
+
description: OK
|
20278
|
+
'429':
|
20279
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
20280
|
+
summary: Get the on-demand concurrency cap
|
20281
|
+
tags:
|
20282
|
+
- Synthetics
|
20283
|
+
post:
|
20284
|
+
description: Save new value for on-demand concurrency cap.
|
20285
|
+
operationId: SetOnDemandConcurrencyCap
|
20286
|
+
requestBody:
|
20287
|
+
content:
|
20288
|
+
application/json:
|
20289
|
+
schema:
|
20290
|
+
$ref: '#/components/schemas/OnDemandConcurrencyCapAttributes'
|
20291
|
+
description: .
|
20292
|
+
required: true
|
20293
|
+
responses:
|
20294
|
+
'200':
|
20295
|
+
content:
|
20296
|
+
application/json:
|
20297
|
+
schema:
|
20298
|
+
$ref: '#/components/schemas/OnDemandConcurrencyCapResponse'
|
20299
|
+
description: OK
|
20300
|
+
'429':
|
20301
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
20302
|
+
summary: Save new value for on-demand concurrency cap
|
20303
|
+
tags:
|
20304
|
+
- Synthetics
|
20305
|
+
x-codegen-request-body-name: body
|
19494
20306
|
/api/v2/teams:
|
19495
20307
|
get:
|
19496
20308
|
description: Get all incident teams for the requesting user's organization.
|
@@ -19978,7 +20790,9 @@ paths:
|
|
19978
20790
|
- description: 'Comma separated list of product families to retrieve. Available
|
19979
20791
|
families are `all`, `analyzed_logs`,
|
19980
20792
|
|
19981
|
-
`application_security`, `audit_logs`, `
|
20793
|
+
`application_security`, `audit_logs`, `audit_trail`, `serverless`, `ci_app`,
|
20794
|
+
`cloud_cost_management`,
|
20795
|
+
|
19982
20796
|
`cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
|
19983
20797
|
|
19984
20798
|
`infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
|
@@ -20656,6 +21470,17 @@ tags:
|
|
20656
21470
|
- description: Configure your Datadog Fastly integration directly through the Datadog
|
20657
21471
|
API.
|
20658
21472
|
name: Fastly Integration
|
21473
|
+
- description: 'The IP allowlist API is used to manage the IP addresses that
|
21474
|
+
|
21475
|
+
can access the Datadog API and web UI. It does not block
|
21476
|
+
|
21477
|
+
access to intake APIs or public dashboards.
|
21478
|
+
|
21479
|
+
|
21480
|
+
This is an enterprise-only feature. Request access by
|
21481
|
+
|
21482
|
+
contacting Datadog support.'
|
21483
|
+
name: IP Allowlist
|
20659
21484
|
- description: Create, update, delete, and retrieve services which can be associated
|
20660
21485
|
with incidents.
|
20661
21486
|
name: Incident Services
|
@@ -20733,6 +21558,14 @@ tags:
|
|
20733
21558
|
name: Processes
|
20734
21559
|
- description: Search or aggregate your RUM events over HTTP.
|
20735
21560
|
name: RUM
|
21561
|
+
- description: 'A restriction policy defines the access control rules for a resource,
|
21562
|
+
mapping a set of relations
|
21563
|
+
|
21564
|
+
(such as editor and viewer) to a set of allowed principals (such as roles). The
|
21565
|
+
restriction policy
|
21566
|
+
|
21567
|
+
determines who is authorized to perform what actions on the resource.'
|
21568
|
+
name: Restriction Policies
|
20736
21569
|
- description: 'The Roles API is used to create and manage Datadog roles, what
|
20737
21570
|
|
20738
21571
|
[global permissions](https://docs.datadoghq.com/account_management/rbac/)
|
@@ -20761,6 +21594,13 @@ tags:
|
|
20761
21594
|
externalDocs:
|
20762
21595
|
url: https://docs.datadoghq.com/tracing/service_catalog/
|
20763
21596
|
name: Service Definition
|
21597
|
+
- description: "Datadog Synthetics uses simulated user requests and browser rendering
|
21598
|
+
to help you ensure uptime,\nidentify regional issues, and track your application
|
21599
|
+
performance. Datadog Synthetics tests come in\ntwo different flavors, [API tests](https://docs.datadoghq.com/synthetics/api_tests/)\nand
|
21600
|
+
[browser tests](https://docs.datadoghq.com/synthetics/browser_tests). You can
|
21601
|
+
use Datadog\u2019s API to\nmanage both test types programmatically.\n\nFor more
|
21602
|
+
information about Synthetics, see the [Synthetics overview](https://docs.datadoghq.com/synthetics/)."
|
21603
|
+
name: Synthetics
|
20764
21604
|
- description: 'The usage metering API allows you to get hourly, daily, and
|
20765
21605
|
|
20766
21606
|
monthly usage across multiple facets of Datadog.
|