Skip to content

Commit f86e94e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cf174fc of spec repo
1 parent faf6b7d commit f86e94e

File tree

28 files changed

+170
-1231
lines changed

28 files changed

+170
-1231
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 22 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -37462,12 +37462,14 @@ components:
3746237462
- none
3746337463
- basic
3746437464
- bearer
37465+
- custom
3746537466
example: basic
3746637467
type: string
3746737468
x-enum-varnames:
3746837469
- NONE
3746937470
- BASIC
3747037471
- BEARER
37472+
- CUSTOM
3747137473
ObservabilityPipelineHttpClientSourceType:
3747237474
default: http_client
3747337475
description: The source type. The value should always be `http_client`.
@@ -38030,6 +38032,8 @@ components:
3803038032
description: The index to write logs to.
3803138033
example: logs-index
3803238034
type: string
38035+
data_stream:
38036+
$ref: '#/components/schemas/ObservabilityPipelineOpenSearchDestinationDataStream'
3803338037
id:
3803438038
description: The unique identifier for this component.
3803538039
example: opensearch-destination
@@ -38051,6 +38055,23 @@ components:
3805138055
type: object
3805238056
x-pipeline-types:
3805338057
- logs
38058+
ObservabilityPipelineOpenSearchDestinationDataStream:
38059+
description: Configuration options for writing to OpenSearch Data Streams instead
38060+
of a fixed index.
38061+
properties:
38062+
dataset:
38063+
description: The data stream dataset for your logs. This groups logs by
38064+
their source or application.
38065+
type: string
38066+
dtype:
38067+
description: The data stream type for your logs. This determines how logs
38068+
are categorized within the data stream.
38069+
type: string
38070+
namespace:
38071+
description: The data stream namespace for your logs. This separates logs
38072+
into different environments or domains.
38073+
type: string
38074+
type: object
3805438075
ObservabilityPipelineOpenSearchDestinationType:
3805538076
default: opensearch
3805638077
description: The destination type. The value should always be `opensearch`.
@@ -49256,18 +49277,6 @@ components:
4925649277
meta:
4925749278
$ref: '#/components/schemas/ResponseMetaAttributes'
4925849279
type: object
49259-
SecurityMonitoringPaginatedSuppressionsResponse:
49260-
description: Response object containing the available suppression rules with
49261-
pagination metadata.
49262-
properties:
49263-
data:
49264-
description: A list of suppressions objects.
49265-
items:
49266-
$ref: '#/components/schemas/SecurityMonitoringSuppression'
49267-
type: array
49268-
meta:
49269-
$ref: '#/components/schemas/SecurityMonitoringSuppressionsMeta'
49270-
type: object
4927149280
SecurityMonitoringReferenceTable:
4927249281
description: Reference tables used in the queries.
4927349282
properties:
@@ -51417,31 +51426,6 @@ components:
5141751426
data:
5141851427
$ref: '#/components/schemas/SecurityMonitoringSuppression'
5141951428
type: object
51420-
SecurityMonitoringSuppressionSort:
51421-
description: The sort parameters used for querying suppression rules.
51422-
enum:
51423-
- name
51424-
- start_date
51425-
- expiration_date
51426-
- update_date
51427-
- enabled
51428-
- -name
51429-
- -start_date
51430-
- -expiration_date
51431-
- -update_date
51432-
- -enabled
51433-
type: string
51434-
x-enum-varnames:
51435-
- NAME
51436-
- START_DATE
51437-
- EXPIRATION_DATE
51438-
- UPDATE_DATE
51439-
- ENABLED
51440-
- NAME_DESCENDING
51441-
- START_DATE_DESCENDING
51442-
- EXPIRATION_DATE_DESCENDING
51443-
- UPDATE_DATE_DESCENDING
51444-
- ENABLED_DESCENDING
5144551429
SecurityMonitoringSuppressionType:
5144651430
default: suppressions
5144751431
description: The type of the resource. The value should always be `suppressions`.
@@ -51537,31 +51521,6 @@ components:
5153751521
required:
5153851522
- data
5153951523
type: object
51540-
SecurityMonitoringSuppressionsMeta:
51541-
description: Metadata for the suppression list response.
51542-
properties:
51543-
page:
51544-
$ref: '#/components/schemas/SecurityMonitoringSuppressionsPageMeta'
51545-
type: object
51546-
SecurityMonitoringSuppressionsPageMeta:
51547-
description: Pagination metadata.
51548-
properties:
51549-
pageNumber:
51550-
description: Current page number.
51551-
example: 0
51552-
format: int64
51553-
type: integer
51554-
pageSize:
51555-
description: Current page size.
51556-
example: 2
51557-
format: int64
51558-
type: integer
51559-
totalCount:
51560-
description: Total count of suppressions.
51561-
example: 2
51562-
format: int64
51563-
type: integer
51564-
type: object
5156551524
SecurityMonitoringSuppressionsResponse:
5156651525
description: Response object containing the available suppression rules.
5156751526
properties:
@@ -85732,29 +85691,12 @@ paths:
8573285691
required: false
8573385692
schema:
8573485693
type: string
85735-
- description: Attribute used to sort the list of suppression rules. Prefix
85736-
with `-` to sort in descending order.
85737-
in: query
85738-
name: sort
85739-
required: false
85740-
schema:
85741-
$ref: '#/components/schemas/SecurityMonitoringSuppressionSort'
85742-
- description: Size for a given page. Use `-1` to return all items.
85743-
in: query
85744-
name: page[size]
85745-
required: false
85746-
schema:
85747-
default: -1
85748-
example: 10
85749-
format: int64
85750-
type: integer
85751-
- $ref: '#/components/parameters/PageNumber'
8575285694
responses:
8575385695
'200':
8575485696
content:
8575585697
application/json:
8575685698
schema:
85757-
$ref: '#/components/schemas/SecurityMonitoringPaginatedSuppressionsResponse'
85699+
$ref: '#/components/schemas/SecurityMonitoringSuppressionsResponse'
8575885700
description: OK
8575985701
'403':
8576085702
$ref: '#/components/responses/NotAuthorizedResponse'

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;
55
import com.datadog.api.client.v2.api.SecurityMonitoringApi;
6-
import com.datadog.api.client.v2.model.SecurityMonitoringPaginatedSuppressionsResponse;
6+
import com.datadog.api.client.v2.model.SecurityMonitoringSuppressionsResponse;
77

88
public class Example {
99
public static void main(String[] args) {
1010
ApiClient defaultClient = ApiClient.getDefaultApiClient();
1111
SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient);
1212

1313
try {
14-
SecurityMonitoringPaginatedSuppressionsResponse result =
14+
SecurityMonitoringSuppressionsResponse result =
1515
apiInstance.listSecurityMonitoringSuppressions();
1616
System.out.println(result);
1717
} catch (ApiException e) {

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions_1315707136.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions_1741429096.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions_3985905558.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)