datadog_api_client 2.41.0 → 2.42.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.
- checksums.yaml +4 -4
- data/.generator/schemas/v1/openapi.yaml +69 -8
- data/.generator/schemas/v2/openapi.yaml +1568 -40
- data/CHANGELOG.md +15 -0
- data/examples/v2/actions-datastores/BulkWriteDatastoreItems.rb +24 -0
- data/examples/v2/actions-datastores/CreateDatastore.rb +15 -0
- data/examples/v2/actions-datastores/DeleteDatastore.rb +8 -0
- data/examples/v2/actions-datastores/DeleteDatastoreItem.rb +17 -0
- data/examples/v2/actions-datastores/GetDatastore.rb +8 -0
- data/examples/v2/actions-datastores/ListDatastoreItems.rb +8 -0
- data/examples/v2/actions-datastores/ListDatastores.rb +5 -0
- data/examples/v2/actions-datastores/UpdateDatastore.rb +18 -0
- data/examples/v2/actions-datastores/UpdateDatastoreItem.rb +18 -0
- data/examples/v2/aws-integration/CreateAWSAccount.rb +0 -3
- data/examples/v2/aws-integration/CreateAWSAccount_1716720881.rb +0 -3
- data/examples/v2/aws-integration/CreateNewAWSExternalID.rb +0 -3
- data/examples/v2/aws-integration/CreateNewAWSExternalID_364713854.rb +0 -3
- data/examples/v2/aws-integration/DeleteAWSAccount.rb +0 -3
- data/examples/v2/aws-integration/GetAWSAccount.rb +0 -3
- data/examples/v2/aws-integration/ListAWSAccounts.rb +0 -3
- data/examples/v2/aws-integration/ListAWSNamespaces.rb +0 -3
- data/examples/v2/aws-integration/ListAWSNamespaces_3031307873.rb +0 -3
- data/examples/v2/aws-integration/UpdateAWSAccount.rb +0 -3
- data/examples/v2/aws-logs-integration/ListAWSLogsServices.rb +0 -3
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_2836340212.rb +52 -0
- data/examples/v2/incidents/CreateIncidentNotificationRule.rb +50 -0
- data/examples/v2/incidents/CreateIncidentNotificationRule_3029800608.rb +42 -0
- data/examples/v2/incidents/DeleteIncidentNotificationRule.rb +8 -0
- data/examples/v2/incidents/DeleteIncidentNotificationRule_4148107167.rb +11 -0
- data/examples/v2/incidents/GetIncidentNotificationRule.rb +8 -0
- data/examples/v2/incidents/GetIncidentNotificationRule_67441486.rb +11 -0
- data/examples/v2/incidents/ListIncidentNotificationRules.rb +8 -0
- data/examples/v2/incidents/UpdateIncidentNotificationRule.rb +51 -0
- data/examples/v2/incidents/UpdateIncidentNotificationRule_1207309457.rb +45 -0
- data/lib/datadog_api_client/configuration.rb +5 -8
- data/lib/datadog_api_client/inflector.rb +67 -0
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +27 -0
- data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +9 -0
- data/lib/datadog_api_client/v1/models/gcp_account.rb +18 -4
- data/lib/datadog_api_client/v1/models/gcp_monitored_resource_config.rb +118 -0
- data/lib/datadog_api_client/v1/models/gcp_monitored_resource_config_type.rb +28 -0
- data/lib/datadog_api_client/v2/api/actions_datastores_api.rb +655 -0
- data/lib/datadog_api_client/v2/api/aws_integration_api.rb +0 -42
- data/lib/datadog_api_client/v2/api/aws_logs_integration_api.rb +0 -6
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +2 -0
- data/lib/datadog_api_client/v2/api/incidents_api.rb +367 -0
- data/lib/datadog_api_client/v2/api/org_connections_api.rb +8 -0
- data/lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request_data_attributes.rb +139 -0
- data/lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_data_single_or_array.rb +63 -0
- data/lib/datadog_api_client/v2/models/create_apps_datastore_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/create_apps_datastore_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/create_apps_datastore_request_data_attributes.rb +180 -0
- data/lib/datadog_api_client/v2/models/create_apps_datastore_request_data_attributes_org_access.rb +28 -0
- data/lib/datadog_api_client/v2/models/create_apps_datastore_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/create_apps_datastore_response_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/create_incident_notification_rule_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/datastore.rb +105 -0
- data/lib/datadog_api_client/v2/models/datastore_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/datastore_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/datastore_data_attributes.rb +205 -0
- data/lib/datadog_api_client/v2/models/datastore_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/datastore_item_conflict_mode.rb +27 -0
- data/lib/datadog_api_client/v2/models/datastore_items_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/datastore_primary_key_generation_strategy.rb +27 -0
- data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_request_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_request_data_attributes.rb +137 -0
- data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_response_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/dora_failure_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/gcp_monitored_resource_config.rb +118 -0
- data/lib/datadog_api_client/v2/models/gcp_monitored_resource_config_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +17 -2
- data/lib/datadog_api_client/v2/models/incident_notification_rule.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_array.rb +147 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_array_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_array_meta_page.rb +125 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_attributes.rb +265 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_attributes_visibility.rb +28 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_conditions_items.rb +146 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_create_attributes.rb +201 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_create_attributes_visibility.rb +28 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_create_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_create_data_relationships.rb +115 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_included_items.rb +64 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_relationships.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_response_data.rb +164 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/incident_notification_rule_update_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_object.rb +164 -0
- data/lib/datadog_api_client/v2/models/item_api_payload.rb +105 -0
- data/lib/datadog_api_client/v2/models/item_api_payload_array.rb +139 -0
- data/lib/datadog_api_client/v2/models/item_api_payload_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/item_api_payload_data_attributes.rb +185 -0
- data/lib/datadog_api_client/v2/models/item_api_payload_meta.rb +115 -0
- data/lib/datadog_api_client/v2/models/item_api_payload_meta_page.rb +125 -0
- data/lib/datadog_api_client/v2/models/item_api_payload_meta_schema.rb +117 -0
- data/lib/datadog_api_client/v2/models/item_api_payload_meta_schema_field.rb +144 -0
- data/lib/datadog_api_client/v2/models/put_apps_datastore_item_response_array.rb +129 -0
- data/lib/datadog_api_client/v2/models/put_apps_datastore_item_response_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/put_incident_notification_rule_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_notification_template.rb +123 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_notification_template_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_convert_response.rb +11 -1
- data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_attributes.rb +158 -0
- data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_attributes_item_changes.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/update_apps_datastore_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_apps_datastore_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/update_apps_datastore_request_data_attributes.rb +115 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +87 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89b824a5b4aa2800b04212b73ad0c60c432b87ffe4c0d2feef64b2653bc9666f
|
|
4
|
+
data.tar.gz: 035abe3532c2240a3e7f4947ee70adab673f88a200dd285f6a4e0c3b7af297b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58979e61f1173f32ce514773ee121263b7e4feb14e48e1bd5e4eec145368a22070b84efe5fa284ecde0b9bcc264fb3bc2576018f5d5b84c5fef67fd68126cf5d
|
|
7
|
+
data.tar.gz: d88b7aedc49c92ed65e235114e801599ebb80832b631867377c8d440d17deba3dc2f1166d036a934a4823e95c75e41315294fc939c737301bd06d532f2b048ea
|
|
@@ -3288,15 +3288,19 @@ components:
|
|
|
3288
3288
|
example: https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL
|
|
3289
3289
|
type: string
|
|
3290
3290
|
cloud_run_revision_filters:
|
|
3291
|
-
|
|
3292
|
-
|
|
3291
|
+
deprecated: true
|
|
3292
|
+
description: 'List of filters to limit the Cloud Run revisions that are
|
|
3293
|
+
pulled into Datadog by using tags.
|
|
3293
3294
|
|
|
3294
3295
|
Only Cloud Run revision resources that apply to specified filters are
|
|
3295
|
-
imported into Datadog.
|
|
3296
|
+
imported into Datadog.
|
|
3297
|
+
|
|
3298
|
+
**Note:** This field is deprecated. Instead, use `monitored_resource_configs`
|
|
3299
|
+
with `type=cloud_run_revision`'
|
|
3296
3300
|
example:
|
|
3297
3301
|
- $KEY:$VALUE
|
|
3298
3302
|
items:
|
|
3299
|
-
description: Cloud Run
|
|
3303
|
+
description: Cloud Run revision filters
|
|
3300
3304
|
type: string
|
|
3301
3305
|
type: array
|
|
3302
3306
|
errors:
|
|
@@ -3309,11 +3313,16 @@ components:
|
|
|
3309
3313
|
type: string
|
|
3310
3314
|
type: array
|
|
3311
3315
|
host_filters:
|
|
3312
|
-
|
|
3313
|
-
|
|
3316
|
+
deprecated: true
|
|
3317
|
+
description: 'A comma-separated list of filters to limit the VM instances
|
|
3318
|
+
that are pulled into Datadog by using tags.
|
|
3314
3319
|
|
|
3315
|
-
Only
|
|
3316
|
-
|
|
3320
|
+
Only VM instance resources that apply to specified filters are imported
|
|
3321
|
+
into Datadog.
|
|
3322
|
+
|
|
3323
|
+
**Note:** This field is deprecated. Instead, use `monitored_resource_configs`
|
|
3324
|
+
with `type=gce_instance`'
|
|
3325
|
+
example: $KEY1:$VALUE1,$KEY2:$VALUE2
|
|
3317
3326
|
type: string
|
|
3318
3327
|
is_cspm_enabled:
|
|
3319
3328
|
description: 'When enabled, Datadog will activate the Cloud Security Monitoring
|
|
@@ -3334,6 +3343,15 @@ components:
|
|
|
3334
3343
|
account.'
|
|
3335
3344
|
example: true
|
|
3336
3345
|
type: boolean
|
|
3346
|
+
monitored_resource_configs:
|
|
3347
|
+
description: Configurations for GCP monitored resources.
|
|
3348
|
+
example:
|
|
3349
|
+
- filters:
|
|
3350
|
+
- $KEY:$VALUE
|
|
3351
|
+
type: gce_instance
|
|
3352
|
+
items:
|
|
3353
|
+
$ref: '#/components/schemas/GCPMonitoredResourceConfig'
|
|
3354
|
+
type: array
|
|
3337
3355
|
private_key:
|
|
3338
3356
|
description: Your private key name found in your JSON service account key.
|
|
3339
3357
|
example: private_key
|
|
@@ -3366,6 +3384,37 @@ components:
|
|
|
3366
3384
|
items:
|
|
3367
3385
|
$ref: '#/components/schemas/GCPAccount'
|
|
3368
3386
|
type: array
|
|
3387
|
+
GCPMonitoredResourceConfig:
|
|
3388
|
+
description: Configuration for a GCP monitored resource.
|
|
3389
|
+
properties:
|
|
3390
|
+
filters:
|
|
3391
|
+
description: 'List of filters to limit the monitored resources that are
|
|
3392
|
+
pulled into Datadog by using tags.
|
|
3393
|
+
|
|
3394
|
+
Only monitored resources that apply to specified filters are imported
|
|
3395
|
+
into Datadog.'
|
|
3396
|
+
example:
|
|
3397
|
+
- $KEY:$VALUE
|
|
3398
|
+
items:
|
|
3399
|
+
description: A monitored resource filter
|
|
3400
|
+
type: string
|
|
3401
|
+
type: array
|
|
3402
|
+
type:
|
|
3403
|
+
$ref: '#/components/schemas/GCPMonitoredResourceConfigType'
|
|
3404
|
+
type: object
|
|
3405
|
+
GCPMonitoredResourceConfigType:
|
|
3406
|
+
description: The GCP monitored resource type. Only a subset of resource types
|
|
3407
|
+
are supported.
|
|
3408
|
+
enum:
|
|
3409
|
+
- cloud_function
|
|
3410
|
+
- cloud_run_revision
|
|
3411
|
+
- gce_instance
|
|
3412
|
+
example: gce_instance
|
|
3413
|
+
type: string
|
|
3414
|
+
x-enum-varnames:
|
|
3415
|
+
- CLOUD_FUNCTION
|
|
3416
|
+
- CLOUD_RUN_REVISION
|
|
3417
|
+
- GCE_INSTANCE
|
|
3369
3418
|
GeomapWidgetDefinition:
|
|
3370
3419
|
description: This visualization displays a series of values by country on a
|
|
3371
3420
|
world map.
|
|
@@ -27347,6 +27396,7 @@ paths:
|
|
|
27347
27396
|
- hosts_read
|
|
27348
27397
|
/api/v1/integration/aws:
|
|
27349
27398
|
delete:
|
|
27399
|
+
deprecated: true
|
|
27350
27400
|
description: Delete a Datadog-AWS integration matching the specified `account_id`
|
|
27351
27401
|
and `role_name parameters`.
|
|
27352
27402
|
operationId: DeleteAWSAccount
|
|
@@ -27393,6 +27443,7 @@ paths:
|
|
|
27393
27443
|
permissions:
|
|
27394
27444
|
- aws_configurations_manage
|
|
27395
27445
|
get:
|
|
27446
|
+
deprecated: true
|
|
27396
27447
|
description: List all Datadog-AWS integrations available in your Datadog organization.
|
|
27397
27448
|
operationId: ListAWSAccounts
|
|
27398
27449
|
parameters:
|
|
@@ -27443,6 +27494,7 @@ paths:
|
|
|
27443
27494
|
permissions:
|
|
27444
27495
|
- aws_configuration_read
|
|
27445
27496
|
post:
|
|
27497
|
+
deprecated: true
|
|
27446
27498
|
description: 'Create a Datadog-Amazon Web Services integration.
|
|
27447
27499
|
|
|
27448
27500
|
Using the `POST` method updates your integration configuration
|
|
@@ -27494,6 +27546,7 @@ paths:
|
|
|
27494
27546
|
permissions:
|
|
27495
27547
|
- aws_configurations_manage
|
|
27496
27548
|
put:
|
|
27549
|
+
deprecated: true
|
|
27497
27550
|
description: Update a Datadog-Amazon Web Services integration.
|
|
27498
27551
|
operationId: UpdateAWSAccount
|
|
27499
27552
|
parameters:
|
|
@@ -27563,6 +27616,7 @@ paths:
|
|
|
27563
27616
|
- aws_configuration_edit
|
|
27564
27617
|
/api/v1/integration/aws/available_namespace_rules:
|
|
27565
27618
|
get:
|
|
27619
|
+
deprecated: true
|
|
27566
27620
|
description: List all namespace rules for a given Datadog-AWS integration. This
|
|
27567
27621
|
endpoint takes no arguments.
|
|
27568
27622
|
operationId: ListAvailableAWSNamespaces
|
|
@@ -27708,6 +27762,7 @@ paths:
|
|
|
27708
27762
|
- manage_integrations
|
|
27709
27763
|
/api/v1/integration/aws/filtering:
|
|
27710
27764
|
delete:
|
|
27765
|
+
deprecated: true
|
|
27711
27766
|
description: Delete a tag filtering entry.
|
|
27712
27767
|
operationId: DeleteAWSTagFilter
|
|
27713
27768
|
requestBody:
|
|
@@ -27749,6 +27804,7 @@ paths:
|
|
|
27749
27804
|
permissions:
|
|
27750
27805
|
- aws_configuration_edit
|
|
27751
27806
|
get:
|
|
27807
|
+
deprecated: true
|
|
27752
27808
|
description: Get all AWS tag filters.
|
|
27753
27809
|
operationId: ListAWSTagFilters
|
|
27754
27810
|
parameters:
|
|
@@ -27787,6 +27843,7 @@ paths:
|
|
|
27787
27843
|
permissions:
|
|
27788
27844
|
- aws_configuration_read
|
|
27789
27845
|
post:
|
|
27846
|
+
deprecated: true
|
|
27790
27847
|
description: Set an AWS tag filter.
|
|
27791
27848
|
operationId: CreateAWSTagFilter
|
|
27792
27849
|
requestBody:
|
|
@@ -27832,6 +27889,7 @@ paths:
|
|
|
27832
27889
|
- aws_configuration_edit
|
|
27833
27890
|
/api/v1/integration/aws/generate_new_external_id:
|
|
27834
27891
|
put:
|
|
27892
|
+
deprecated: true
|
|
27835
27893
|
description: Generate a new AWS external ID for a given AWS account ID and role
|
|
27836
27894
|
name pair.
|
|
27837
27895
|
operationId: CreateNewAWSExternalID
|
|
@@ -27917,6 +27975,7 @@ paths:
|
|
|
27917
27975
|
permissions:
|
|
27918
27976
|
- aws_configuration_edit
|
|
27919
27977
|
get:
|
|
27978
|
+
deprecated: true
|
|
27920
27979
|
description: List all Datadog-AWS Logs integrations configured in your Datadog
|
|
27921
27980
|
account.
|
|
27922
27981
|
operationId: ListAWSLogsIntegrations
|
|
@@ -28058,6 +28117,7 @@ paths:
|
|
|
28058
28117
|
- aws_configuration_read
|
|
28059
28118
|
/api/v1/integration/aws/logs/services:
|
|
28060
28119
|
get:
|
|
28120
|
+
deprecated: true
|
|
28061
28121
|
description: Get the list of current AWS services that Datadog offers automatic
|
|
28062
28122
|
log collection. Use returned service IDs with the services parameter for the
|
|
28063
28123
|
Enable an AWS service log collection API endpoint.
|
|
@@ -28100,6 +28160,7 @@ paths:
|
|
|
28100
28160
|
permissions:
|
|
28101
28161
|
- aws_configuration_read
|
|
28102
28162
|
post:
|
|
28163
|
+
deprecated: true
|
|
28103
28164
|
description: Enable automatic log collection for a list of services. This should
|
|
28104
28165
|
be run after running `CreateAWSLambdaARN` to save the configuration.
|
|
28105
28166
|
operationId: EnableAWSLogServices
|