datadog_api_client 2.7.0 → 2.8.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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +129 -41
  4. data/.generator/schemas/v2/openapi.yaml +36 -95
  5. data/CHANGELOG.md +15 -0
  6. data/examples/v1/dashboards/CreateDashboard_109450134.rb +44 -0
  7. data/examples/v1/service-level-objectives/SearchSLO.rb +0 -3
  8. data/lib/datadog_api_client/configuration.rb +0 -1
  9. data/lib/datadog_api_client/inflector.rb +3 -0
  10. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +0 -6
  11. data/lib/datadog_api_client/v1/models/host_meta.rb +3 -3
  12. data/lib/datadog_api_client/v1/models/ip_prefixes_orchestrator.rb +105 -0
  13. data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
  14. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +10 -10
  15. data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +11 -1
  16. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +16 -4
  17. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +24 -1
  18. data/lib/datadog_api_client/v1/models/slo_state.rb +29 -0
  19. data/lib/datadog_api_client/v1/models/slo_status.rb +164 -0
  20. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +10 -10
  21. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  22. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
  23. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
  24. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +3 -3
  25. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +3 -3
  26. data/lib/datadog_api_client/v2/api/metrics_api.rb +2 -2
  27. data/lib/datadog_api_client/v2/api/monitors_api.rb +3 -3
  28. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  29. data/lib/datadog_api_client/v2/models/metrics_data_source.rb +2 -1
  30. data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +1 -1
  31. data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +1 -1
  32. data/lib/datadog_api_client/version.rb +1 -1
  33. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51e5e16ca6bfef7998f07b014a76e4dd7094d0df48adb23611f48a0d0473c8b0
4
- data.tar.gz: 86266b38280b894c9af29edc4428429a6d9dd56e56f681371d05849c05e4db97
3
+ metadata.gz: cfcd86bdc842ea275c973bb387536a28bf7b669ad69c46b4b218dcb5865d7b97
4
+ data.tar.gz: 496277194f0cf0fd16564b517cf8a675ba48c4f3ae834f26e301192d9a965a03
5
5
  SHA512:
6
- metadata.gz: add86b5cf7128ad5fdccd90eba761c544e41fbaa3a937e8bc09febb3543078e5ac7ab3d0768e137e8c57e20358890e8d94f968e8d3483fdedda9035e9432d1ad
7
- data.tar.gz: '08eeb4d325a6ba1e97f6e009f2ceed062de7f3396a727b2934e0017d3bb8f70a45fc834d86e23ee1ace47f4ea91f8047dbb698aa842c0a0876f99d5e15579dd2'
6
+ metadata.gz: da0a8f215389429429ac2ef36f43a2129383e130b3a137128dfd385df02631a449969bf678574604fe65156a404136549f25bb64f54fb484fb27dbb32931cacb
7
+ data.tar.gz: 6164233d26946caed6177ffe90a7d43012c93e91dde79616c0ab45f41d21041841950854d18b319603d2e8fe98ee553ab3bdb3bde86f0c8344cefeabaa10d6de
data/.apigentools-info CHANGED
@@ -4,13 +4,13 @@
4
4
  "spec_versions": {
5
5
  "v1": {
6
6
  "apigentools_version": "1.6.4",
7
- "regenerated": "2023-02-08 16:22:44.829792",
8
- "spec_repo_commit": "c826f5c2"
7
+ "regenerated": "2023-02-15 14:52:56.430550",
8
+ "spec_repo_commit": "3371aaa2"
9
9
  },
10
10
  "v2": {
11
11
  "apigentools_version": "1.6.4",
12
- "regenerated": "2023-02-08 16:22:44.841610",
13
- "spec_repo_commit": "c826f5c2"
12
+ "regenerated": "2023-02-15 14:52:56.443856",
13
+ "spec_repo_commit": "3371aaa2"
14
14
  }
15
15
  }
16
16
  }
@@ -3425,8 +3425,6 @@ components:
3425
3425
  items:
3426
3426
  description: The version name.
3427
3427
  example: FreeBSD
3428
- nullable: true
3429
- type: string
3430
3428
  type: array
3431
3429
  gohai:
3432
3430
  description: JSON string containing system information.
@@ -3451,8 +3449,6 @@ components:
3451
3449
  items:
3452
3450
  description: Version name.
3453
3451
  example: Ubuntu
3454
- nullable: true
3455
- type: string
3456
3452
  type: array
3457
3453
  platform:
3458
3454
  description: The OS platform.
@@ -3479,8 +3475,6 @@ components:
3479
3475
  items:
3480
3476
  description: Version name.
3481
3477
  example: Windows
3482
- nullable: true
3483
- type: string
3484
3478
  type: array
3485
3479
  type: object
3486
3480
  HostMetaInstallMethod:
@@ -3791,6 +3785,22 @@ components:
3791
3785
  type: string
3792
3786
  type: array
3793
3787
  type: object
3788
+ IPPrefixesOrchestrator:
3789
+ description: Available prefix information for the Orchestrator endpoints.
3790
+ properties:
3791
+ prefixes_ipv4:
3792
+ description: List of IPv4 prefixes.
3793
+ items:
3794
+ description: IPv4 prefix
3795
+ type: string
3796
+ type: array
3797
+ prefixes_ipv6:
3798
+ description: List of IPv6 prefixes.
3799
+ items:
3800
+ description: IPv6 prefix
3801
+ type: string
3802
+ type: array
3803
+ type: object
3794
3804
  IPPrefixesProcess:
3795
3805
  description: Available prefix information for the Process endpoints.
3796
3806
  properties:
@@ -3889,6 +3899,8 @@ components:
3889
3899
  description: Date when last updated, in the form `YYYY-MM-DD-hh-mm-ss`.
3890
3900
  example: 2019-10-31-20-00-00
3891
3901
  type: string
3902
+ orchestrator:
3903
+ $ref: '#/components/schemas/IPPrefixesOrchestrator'
3892
3904
  process:
3893
3905
  $ref: '#/components/schemas/IPPrefixesProcess'
3894
3906
  synthetics:
@@ -7322,52 +7334,42 @@ components:
7322
7334
  type: number
7323
7335
  estimated_indexed_logs_percentage:
7324
7336
  description: The percentage of estimated live indexed logs usage by tag(s).
7325
- This field is in private beta.
7326
7337
  format: double
7327
7338
  type: number
7328
7339
  estimated_indexed_logs_usage:
7329
- description: The estimated live indexed logs usage by tag(s). This field
7330
- is in private beta.
7340
+ description: The estimated live indexed logs usage by tag(s).
7331
7341
  format: double
7332
7342
  type: number
7333
7343
  estimated_indexed_spans_percentage:
7334
7344
  description: The percentage of estimated indexed spans usage by tag(s).
7335
- This field is in private beta.
7336
7345
  format: double
7337
7346
  type: number
7338
7347
  estimated_indexed_spans_usage:
7339
- description: The estimated indexed spans usage by tag(s). This field is
7340
- in private beta.
7348
+ description: The estimated indexed spans usage by tag(s).
7341
7349
  format: double
7342
7350
  type: number
7343
7351
  estimated_ingested_logs_percentage:
7344
7352
  description: The percentage of estimated live ingested logs usage by tag(s).
7345
- This field is in private beta.
7346
7353
  format: double
7347
7354
  type: number
7348
7355
  estimated_ingested_logs_usage:
7349
- description: The estimated live ingested logs usage by tag(s). This field
7350
- is in private beta.
7356
+ description: The estimated live ingested logs usage by tag(s).
7351
7357
  format: double
7352
7358
  type: number
7353
7359
  estimated_ingested_spans_percentage:
7354
7360
  description: The percentage of estimated ingested spans usage by tag(s).
7355
- This field is in private beta.
7356
7361
  format: double
7357
7362
  type: number
7358
7363
  estimated_ingested_spans_usage:
7359
- description: The estimated ingested spans usage by tag(s). This field is
7360
- in private beta.
7364
+ description: The estimated ingested spans usage by tag(s).
7361
7365
  format: double
7362
7366
  type: number
7363
7367
  estimated_rum_sessions_percentage:
7364
- description: The percentage of estimated rum sessions usage by tag(s). This
7365
- field is in private beta.
7368
+ description: The percentage of estimated rum sessions usage by tag(s).
7366
7369
  format: double
7367
7370
  type: number
7368
7371
  estimated_rum_sessions_usage:
7369
- description: The estimated rum sessions usage by tag(s). This field is in
7370
- private beta.
7372
+ description: The estimated rum sessions usage by tag(s).
7371
7373
  format: double
7372
7374
  type: number
7373
7375
  fargate_percentage:
@@ -9666,6 +9668,11 @@ components:
9666
9668
  description: Widget query.
9667
9669
  example: env:prod AND service:my-app
9668
9670
  type: string
9671
+ sort:
9672
+ description: Options for sorting results.
9673
+ items:
9674
+ $ref: '#/components/schemas/WidgetFieldSort'
9675
+ type: array
9669
9676
  required:
9670
9677
  - query_string
9671
9678
  type: object
@@ -9695,6 +9702,12 @@ components:
9695
9702
  description: Error message if SLO status or error budget could not be calculated.
9696
9703
  nullable: true
9697
9704
  type: string
9705
+ error_budget_remaining:
9706
+ description: Remaining error budget of the SLO in percentage.
9707
+ example: 100
9708
+ format: double
9709
+ nullable: true
9710
+ type: number
9698
9711
  indexed_at:
9699
9712
  description: 'timestamp (UNIX time in seconds) of when the SLO status and
9700
9713
  error budget
@@ -9709,7 +9722,10 @@ components:
9709
9722
  description: The amount of decimal places the SLI value is accurate to.
9710
9723
  example: 2
9711
9724
  format: int64
9725
+ nullable: true
9712
9726
  type: integer
9727
+ state:
9728
+ $ref: '#/components/schemas/SLOState'
9713
9729
  status:
9714
9730
  description: The status of the SLO.
9715
9731
  example: 100
@@ -9726,6 +9742,7 @@ components:
9726
9742
  type: object
9727
9743
  SLORawErrorBudgetRemaining:
9728
9744
  description: Error budget remaining for an SLO.
9745
+ nullable: true
9729
9746
  properties:
9730
9747
  unit:
9731
9748
  description: Error budget remaining unit.
@@ -9915,6 +9932,59 @@ components:
9915
9932
  format: double
9916
9933
  type: number
9917
9934
  type: object
9935
+ SLOState:
9936
+ description: State of the SLO.
9937
+ enum:
9938
+ - breached
9939
+ - warning
9940
+ - ok
9941
+ - no_data
9942
+ example: ok
9943
+ type: string
9944
+ x-enum-varnames:
9945
+ - BREACHED
9946
+ - WARNING
9947
+ - OK
9948
+ - NO_DATA
9949
+ SLOStatus:
9950
+ description: Status of the SLO's primary timeframe.
9951
+ properties:
9952
+ calculation_error:
9953
+ description: Error message if SLO status or error budget could not be calculated.
9954
+ nullable: true
9955
+ type: string
9956
+ error_budget_remaining:
9957
+ description: Remaining error budget of the SLO in percentage.
9958
+ example: 100
9959
+ format: double
9960
+ nullable: true
9961
+ type: number
9962
+ indexed_at:
9963
+ description: 'timestamp (UNIX time in seconds) of when the SLO status and
9964
+ error budget
9965
+
9966
+ were calculated.'
9967
+ example: 1662496260
9968
+ format: int64
9969
+ type: integer
9970
+ raw_error_budget_remaining:
9971
+ $ref: '#/components/schemas/SLORawErrorBudgetRemaining'
9972
+ sli:
9973
+ description: The current service level indicator (SLI) of the SLO, also
9974
+ known as 'status'. This is a percentage value from 0-100 (inclusive).
9975
+ example: 100
9976
+ format: double
9977
+ nullable: true
9978
+ type: number
9979
+ span_precision:
9980
+ description: The number of decimal places the SLI value is accurate to.
9981
+ example: 2
9982
+ format: int64
9983
+ nullable: true
9984
+ type: integer
9985
+ state:
9986
+ $ref: '#/components/schemas/SLOState'
9987
+ type: object
9918
9988
  SLOThreshold:
9919
9989
  description: SLO thresholds (target and optionally warning) for a single time
9920
9990
  window.
@@ -10547,6 +10617,8 @@ components:
10547
10617
  type: array
10548
10618
  slo_type:
10549
10619
  $ref: '#/components/schemas/SLOType'
10620
+ status:
10621
+ $ref: '#/components/schemas/SLOStatus'
10550
10622
  team_tags:
10551
10623
  description: Tags with the `team` tag key.
10552
10624
  items:
@@ -15138,52 +15210,42 @@ components:
15138
15210
  type: number
15139
15211
  estimated_indexed_logs_percentage:
15140
15212
  description: The percentage of estimated live indexed logs usage by tag(s).
15141
- Note this field is in private beta.
15142
15213
  format: double
15143
15214
  type: number
15144
15215
  estimated_indexed_logs_usage:
15145
- description: The estimated live indexed logs usage by tag(s). Note this
15146
- field is in private beta.
15216
+ description: The estimated live indexed logs usage by tag(s).
15147
15217
  format: double
15148
15218
  type: number
15149
15219
  estimated_indexed_spans_percentage:
15150
15220
  description: The percentage of estimated indexed spans usage by tag(s).
15151
- Note this field is in private beta.
15152
15221
  format: double
15153
15222
  type: number
15154
15223
  estimated_indexed_spans_usage:
15155
- description: The estimated indexed spans usage by tag(s). Note this field
15156
- is in private beta.
15224
+ description: The estimated indexed spans usage by tag(s).
15157
15225
  format: double
15158
15226
  type: number
15159
15227
  estimated_ingested_logs_percentage:
15160
15228
  description: The percentage of estimated live ingested logs usage by tag(s).
15161
- Note this field is in private beta.
15162
15229
  format: double
15163
15230
  type: number
15164
15231
  estimated_ingested_logs_usage:
15165
- description: The estimated live ingested logs usage by tag(s). Note this
15166
- field is in private beta.
15232
+ description: The estimated live ingested logs usage by tag(s).
15167
15233
  format: double
15168
15234
  type: number
15169
15235
  estimated_ingested_spans_percentage:
15170
15236
  description: The percentage of estimated ingested spans usage by tag(s).
15171
- Note this field is in private beta.
15172
15237
  format: double
15173
15238
  type: number
15174
15239
  estimated_ingested_spans_usage:
15175
- description: The estimated ingested spans usage by tag(s). Note this field
15176
- is in private beta.
15240
+ description: The estimated ingested spans usage by tag(s).
15177
15241
  format: double
15178
15242
  type: number
15179
15243
  estimated_rum_sessions_percentage:
15180
- description: The percentage of estimated rum sessions usage by tag(s). This
15181
- field is in private beta.
15244
+ description: The percentage of estimated rum sessions usage by tag(s).
15182
15245
  format: double
15183
15246
  type: number
15184
15247
  estimated_rum_sessions_usage:
15185
- description: The estimated rum sessions usage by tag(s). This field is in
15186
- private beta.
15248
+ description: The estimated rum sessions usage by tag(s).
15187
15249
  format: double
15188
15250
  type: number
15189
15251
  infra_host_percentage:
@@ -16685,11 +16747,21 @@ components:
16685
16747
  over all hours in the current month for all organizations.
16686
16748
  format: int64
16687
16749
  type: integer
16750
+ cloud_cost_management_host_count_avg:
16751
+ description: Host count average of Cloud Cost Management for the given date
16752
+ and given organization.
16753
+ format: int64
16754
+ type: integer
16688
16755
  container_avg:
16689
16756
  description: Shows the average of all distinct containers over all hours
16690
16757
  in the current date for all organizations.
16691
16758
  format: int64
16692
16759
  type: integer
16760
+ container_excl_agent_avg:
16761
+ description: Shows the average of containers without the Datadog Agent over
16762
+ all hours in the current date for all organizations.
16763
+ format: int64
16764
+ type: integer
16693
16765
  container_hwm:
16694
16766
  description: Shows the high-water mark of all distinct containers over all
16695
16767
  hours in the current date for all organizations.
@@ -17056,11 +17128,21 @@ components:
17056
17128
  over all hours in the current date for the given org.
17057
17129
  format: int64
17058
17130
  type: integer
17131
+ cloud_cost_management_host_count_avg:
17132
+ description: Host count average of Cloud Cost Management for the given date
17133
+ and given org.
17134
+ format: int64
17135
+ type: integer
17059
17136
  container_avg:
17060
17137
  description: Shows the average of all distinct containers over all hours
17061
17138
  in the current date for the given org.
17062
17139
  format: int64
17063
17140
  type: integer
17141
+ container_excl_agent_avg:
17142
+ description: Shows the average of containers without the Datadog Agent over
17143
+ all hours in the current date for the given organization.
17144
+ format: int64
17145
+ type: integer
17064
17146
  container_hwm:
17065
17147
  description: Shows the high-water mark of all distinct containers over all
17066
17148
  hours in the current date for the given org.
@@ -17436,11 +17518,20 @@ components:
17436
17518
  over all hours in the current months for all organizations.
17437
17519
  format: int64
17438
17520
  type: integer
17521
+ cloud_cost_management_host_count_avg_sum:
17522
+ description: Sum of the host count average for Cloud Cost Management.
17523
+ format: int64
17524
+ type: integer
17439
17525
  container_avg_sum:
17440
17526
  description: Shows the average of all distinct containers over all hours
17441
17527
  in the current months for all organizations.
17442
17528
  format: int64
17443
17529
  type: integer
17530
+ container_excl_agent_avg_sum:
17531
+ description: Shows the average of the containers without the Datadog Agent
17532
+ over all hours in the current month for all organizations.
17533
+ format: int64
17534
+ type: integer
17444
17535
  container_hwm_sum:
17445
17536
  description: Shows the sum of the high-water marks of all distinct containers
17446
17537
  over all hours in the current months for all organizations.
@@ -25853,9 +25944,6 @@ paths:
25853
25944
  summary: Search for SLOs
25854
25945
  tags:
25855
25946
  - Service Level Objectives
25856
- x-unstable: '**Note**: This endpoint is in public beta.
25857
-
25858
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
25859
25947
  /api/v1/slo/{slo_id}:
25860
25948
  delete:
25861
25949
  description: 'Permanently delete the specified service level objective object.