Skip to content

Commit 14092ee

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add orchestrator section in IP ranges (#1013)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 51d6c50 commit 14092ee

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.4",
7-
"regenerated": "2023-02-08 16:22:59.782448",
8-
"spec_repo_commit": "c826f5c2"
7+
"regenerated": "2023-02-10 07:58:02.678617",
8+
"spec_repo_commit": "062e75ae"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-02-08 16:22:59.797784",
13-
"spec_repo_commit": "c826f5c2"
12+
"regenerated": "2023-02-10 07:58:02.696723",
13+
"spec_repo_commit": "062e75ae"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,6 +3791,22 @@ components:
37913791
type: string
37923792
type: array
37933793
type: object
3794+
IPPrefixesOrchestrator:
3795+
description: Available prefix information for the Orchestrator endpoints.
3796+
properties:
3797+
prefixes_ipv4:
3798+
description: List of IPv4 prefixes.
3799+
items:
3800+
description: IPv4 prefix
3801+
type: string
3802+
type: array
3803+
prefixes_ipv6:
3804+
description: List of IPv6 prefixes.
3805+
items:
3806+
description: IPv6 prefix
3807+
type: string
3808+
type: array
3809+
type: object
37943810
IPPrefixesProcess:
37953811
description: Available prefix information for the Process endpoints.
37963812
properties:
@@ -3889,6 +3905,8 @@ components:
38893905
description: Date when last updated, in the form `YYYY-MM-DD-hh-mm-ss`.
38903906
example: 2019-10-31-20-00-00
38913907
type: string
3908+
orchestrator:
3909+
$ref: '#/components/schemas/IPPrefixesOrchestrator'
38923910
process:
38933911
$ref: '#/components/schemas/IPPrefixesProcess'
38943912
synthetics:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ export { IPPrefixesAgents } from "./models/IPPrefixesAgents";
482482
export { IPPrefixesAPI } from "./models/IPPrefixesAPI";
483483
export { IPPrefixesAPM } from "./models/IPPrefixesAPM";
484484
export { IPPrefixesLogs } from "./models/IPPrefixesLogs";
485+
export { IPPrefixesOrchestrator } from "./models/IPPrefixesOrchestrator";
485486
export { IPPrefixesProcess } from "./models/IPPrefixesProcess";
486487
export { IPPrefixesSynthetics } from "./models/IPPrefixesSynthetics";
487488
export { IPPrefixesSyntheticsPrivateLocations } from "./models/IPPrefixesSyntheticsPrivateLocations";
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 Orchestrator endpoints.
11+
*/
12+
export class IPPrefixesOrchestrator {
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 IPPrefixesOrchestrator.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
@@ -7,6 +7,7 @@ import { IPPrefixesAgents } from "./IPPrefixesAgents";
77
import { IPPrefixesAPI } from "./IPPrefixesAPI";
88
import { IPPrefixesAPM } from "./IPPrefixesAPM";
99
import { IPPrefixesLogs } from "./IPPrefixesLogs";
10+
import { IPPrefixesOrchestrator } from "./IPPrefixesOrchestrator";
1011
import { IPPrefixesProcess } from "./IPPrefixesProcess";
1112
import { IPPrefixesSynthetics } from "./IPPrefixesSynthetics";
1213
import { IPPrefixesSyntheticsPrivateLocations } from "./IPPrefixesSyntheticsPrivateLocations";
@@ -38,6 +39,10 @@ export class IPRanges {
3839
* Date when last updated, in the form `YYYY-MM-DD-hh-mm-ss`.
3940
*/
4041
"modified"?: string;
42+
/**
43+
* Available prefix information for the Orchestrator endpoints.
44+
*/
45+
"orchestrator"?: IPPrefixesOrchestrator;
4146
/**
4247
* Available prefix information for the Process endpoints.
4348
*/
@@ -88,6 +93,10 @@ export class IPRanges {
8893
baseName: "modified",
8994
type: "string",
9095
},
96+
orchestrator: {
97+
baseName: "orchestrator",
98+
type: "IPPrefixesOrchestrator",
99+
},
91100
process: {
92101
baseName: "process",
93102
type: "IPPrefixesProcess",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ import { IPPrefixesAPI } from "./IPPrefixesAPI";
115115
import { IPPrefixesAPM } from "./IPPrefixesAPM";
116116
import { IPPrefixesAgents } from "./IPPrefixesAgents";
117117
import { IPPrefixesLogs } from "./IPPrefixesLogs";
118+
import { IPPrefixesOrchestrator } from "./IPPrefixesOrchestrator";
118119
import { IPPrefixesProcess } from "./IPPrefixesProcess";
119120
import { IPPrefixesSynthetics } from "./IPPrefixesSynthetics";
120121
import { IPPrefixesSyntheticsPrivateLocations } from "./IPPrefixesSyntheticsPrivateLocations";
@@ -1505,6 +1506,7 @@ const typeMap: { [index: string]: any } = {
15051506
IPPrefixesAPM: IPPrefixesAPM,
15061507
IPPrefixesAgents: IPPrefixesAgents,
15071508
IPPrefixesLogs: IPPrefixesLogs,
1509+
IPPrefixesOrchestrator: IPPrefixesOrchestrator,
15081510
IPPrefixesProcess: IPPrefixesProcess,
15091511
IPPrefixesSynthetics: IPPrefixesSynthetics,
15101512
IPPrefixesSyntheticsPrivateLocations: IPPrefixesSyntheticsPrivateLocations,

0 commit comments

Comments
 (0)