Skip to content

Commit 50aa2b0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Update IP ranges with remote configuration section (#1244)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 23af0aa commit 50aa2b0

File tree

6 files changed

+83
-4
lines changed

6 files changed

+83
-4
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.5",
7-
"regenerated": "2023-07-18 13:52:24.256316",
8-
"spec_repo_commit": "cbddd387"
7+
"regenerated": "2023-07-18 19:28:49.350850",
8+
"spec_repo_commit": "0259ae38"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-18 13:52:24.269927",
13-
"spec_repo_commit": "cbddd387"
12+
"regenerated": "2023-07-18 19:28:49.369703",
13+
"spec_repo_commit": "0259ae38"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4049,6 +4049,22 @@ components:
40494049
type: string
40504050
type: array
40514051
type: object
4052+
IPPrefixesRemoteConfiguration:
4053+
description: Available prefix information for the Remote Configuration endpoints.
4054+
properties:
4055+
prefixes_ipv4:
4056+
description: List of IPv4 prefixes.
4057+
items:
4058+
description: IPv4 prefix
4059+
type: string
4060+
type: array
4061+
prefixes_ipv6:
4062+
description: List of IPv6 prefixes.
4063+
items:
4064+
description: IPv6 prefix
4065+
type: string
4066+
type: array
4067+
type: object
40524068
IPPrefixesSynthetics:
40534069
description: Available prefix information for the Synthetics endpoints.
40544070
properties:
@@ -4135,6 +4151,8 @@ components:
41354151
$ref: '#/components/schemas/IPPrefixesOrchestrator'
41364152
process:
41374153
$ref: '#/components/schemas/IPPrefixesProcess'
4154+
remote-configuration:
4155+
$ref: '#/components/schemas/IPPrefixesRemoteConfiguration'
41384156
synthetics:
41394157
$ref: '#/components/schemas/IPPrefixesSynthetics'
41404158
synthetics-private-locations:

packages/datadog-api-client-v1/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ export { IPPrefixesAPM } from "./models/IPPrefixesAPM";
504504
export { IPPrefixesLogs } from "./models/IPPrefixesLogs";
505505
export { IPPrefixesOrchestrator } from "./models/IPPrefixesOrchestrator";
506506
export { IPPrefixesProcess } from "./models/IPPrefixesProcess";
507+
export { IPPrefixesRemoteConfiguration } from "./models/IPPrefixesRemoteConfiguration";
507508
export { IPPrefixesSynthetics } from "./models/IPPrefixesSynthetics";
508509
export { IPPrefixesSyntheticsPrivateLocations } from "./models/IPPrefixesSyntheticsPrivateLocations";
509510
export { IPPrefixesWebhooks } from "./models/IPPrefixesWebhooks";
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/**
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2020-Present Datadog, Inc.
5+
*/
6+
7+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8+
9+
/**
10+
* Available prefix information for the Remote Configuration endpoints.
11+
*/
12+
export class IPPrefixesRemoteConfiguration {
13+
/**
14+
* List of IPv4 prefixes.
15+
*/
16+
"prefixesIpv4"?: Array<string>;
17+
/**
18+
* List of IPv6 prefixes.
19+
*/
20+
"prefixesIpv6"?: Array<string>;
21+
22+
/**
23+
* @ignore
24+
*/
25+
"_unparsed"?: boolean;
26+
27+
/**
28+
* @ignore
29+
*/
30+
static readonly attributeTypeMap: AttributeTypeMap = {
31+
prefixesIpv4: {
32+
baseName: "prefixes_ipv4",
33+
type: "Array<string>",
34+
},
35+
prefixesIpv6: {
36+
baseName: "prefixes_ipv6",
37+
type: "Array<string>",
38+
},
39+
};
40+
41+
/**
42+
* @ignore
43+
*/
44+
static getAttributeTypeMap(): AttributeTypeMap {
45+
return IPPrefixesRemoteConfiguration.attributeTypeMap;
46+
}
47+
48+
public constructor() {}
49+
}

packages/datadog-api-client-v1/models/IPRanges.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { IPPrefixesAPM } from "./IPPrefixesAPM";
99
import { IPPrefixesLogs } from "./IPPrefixesLogs";
1010
import { IPPrefixesOrchestrator } from "./IPPrefixesOrchestrator";
1111
import { IPPrefixesProcess } from "./IPPrefixesProcess";
12+
import { IPPrefixesRemoteConfiguration } from "./IPPrefixesRemoteConfiguration";
1213
import { IPPrefixesSynthetics } from "./IPPrefixesSynthetics";
1314
import { IPPrefixesSyntheticsPrivateLocations } from "./IPPrefixesSyntheticsPrivateLocations";
1415
import { IPPrefixesWebhooks } from "./IPPrefixesWebhooks";
@@ -47,6 +48,10 @@ export class IPRanges {
4748
* Available prefix information for the Process endpoints.
4849
*/
4950
"process"?: IPPrefixesProcess;
51+
/**
52+
* Available prefix information for the Remote Configuration endpoints.
53+
*/
54+
"remoteConfiguration"?: IPPrefixesRemoteConfiguration;
5055
/**
5156
* Available prefix information for the Synthetics endpoints.
5257
*/
@@ -101,6 +106,10 @@ export class IPRanges {
101106
baseName: "process",
102107
type: "IPPrefixesProcess",
103108
},
109+
remoteConfiguration: {
110+
baseName: "remote-configuration",
111+
type: "IPPrefixesRemoteConfiguration",
112+
},
104113
synthetics: {
105114
baseName: "synthetics",
106115
type: "IPPrefixesSynthetics",

packages/datadog-api-client-v1/models/ObjectSerializer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ import { IPPrefixesAgents } from "./IPPrefixesAgents";
121121
import { IPPrefixesLogs } from "./IPPrefixesLogs";
122122
import { IPPrefixesOrchestrator } from "./IPPrefixesOrchestrator";
123123
import { IPPrefixesProcess } from "./IPPrefixesProcess";
124+
import { IPPrefixesRemoteConfiguration } from "./IPPrefixesRemoteConfiguration";
124125
import { IPPrefixesSynthetics } from "./IPPrefixesSynthetics";
125126
import { IPPrefixesSyntheticsPrivateLocations } from "./IPPrefixesSyntheticsPrivateLocations";
126127
import { IPPrefixesWebhooks } from "./IPPrefixesWebhooks";
@@ -1581,6 +1582,7 @@ const typeMap: { [index: string]: any } = {
15811582
IPPrefixesLogs: IPPrefixesLogs,
15821583
IPPrefixesOrchestrator: IPPrefixesOrchestrator,
15831584
IPPrefixesProcess: IPPrefixesProcess,
1585+
IPPrefixesRemoteConfiguration: IPPrefixesRemoteConfiguration,
15841586
IPPrefixesSynthetics: IPPrefixesSynthetics,
15851587
IPPrefixesSyntheticsPrivateLocations: IPPrefixesSyntheticsPrivateLocations,
15861588
IPPrefixesWebhooks: IPPrefixesWebhooks,

0 commit comments

Comments
 (0)