Skip to content

Commit 709ebe4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d091256 of spec repo
1 parent c9375f2 commit 709ebe4

9 files changed

Lines changed: 360 additions & 0 deletions

.generator/schemas/v1/openapi.yaml

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,123 @@ components:
12821282
type: string
12831283
x-enum-varnames:
12841284
- CHECK_STATUS
1285+
CloudcraftWidgetDefinition:
1286+
description: This widget displays a Cloudcraft topology of cloud resources for the selected provider.
1287+
properties:
1288+
custom_links:
1289+
description: List of custom links.
1290+
items:
1291+
$ref: "#/components/schemas/WidgetCustomLink"
1292+
type: array
1293+
description:
1294+
description: The description of the widget.
1295+
type: string
1296+
group_by:
1297+
description: List of tags or attributes used to group the cloud resources in the widget.
1298+
example:
1299+
- ""
1300+
items:
1301+
description: Tag or attribute used to group cloud resources.
1302+
type: string
1303+
type: array
1304+
highlighted:
1305+
description: Search query that visually highlights matching resources in the diagram.
1306+
example: ""
1307+
type: string
1308+
overlay:
1309+
$ref: "#/components/schemas/CloudcraftWidgetDefinitionOverlay"
1310+
overlay_filter:
1311+
description: Filter applied to the selected overlay.
1312+
example: ""
1313+
type: string
1314+
projection:
1315+
$ref: "#/components/schemas/CloudcraftWidgetDefinitionProjection"
1316+
provider:
1317+
$ref: "#/components/schemas/CloudcraftWidgetDefinitionProvider"
1318+
query_string:
1319+
description: Query string used to filter the cloud resources displayed in the widget.
1320+
example: ""
1321+
type: string
1322+
show_empty_groups:
1323+
description: Whether to show empty outline groups in the diagram.
1324+
example: false
1325+
type: boolean
1326+
title:
1327+
description: Title of your widget.
1328+
type: string
1329+
title_align:
1330+
$ref: "#/components/schemas/WidgetTextAlign"
1331+
title_size:
1332+
description: Size of the title.
1333+
type: string
1334+
type:
1335+
$ref: "#/components/schemas/CloudcraftWidgetDefinitionType"
1336+
required:
1337+
- type
1338+
- query_string
1339+
- provider
1340+
- overlay
1341+
- overlay_filter
1342+
- group_by
1343+
- projection
1344+
- highlighted
1345+
- show_empty_groups
1346+
type: object
1347+
CloudcraftWidgetDefinitionOverlay:
1348+
description: Overlay applied on top of the Cloudcraft topology.
1349+
enum:
1350+
- Observability
1351+
- CloudCost
1352+
- Security
1353+
- NDMReachability
1354+
- Monitors
1355+
- APM
1356+
- Default
1357+
example: Observability
1358+
type: string
1359+
x-enum-varnames:
1360+
- OBSERVABILITY
1361+
- CLOUD_COST
1362+
- SECURITY
1363+
- NDM_REACHABILITY
1364+
- MONITORS
1365+
- APM
1366+
- DEFAULT
1367+
CloudcraftWidgetDefinitionProjection:
1368+
description: Projection used to render the Cloudcraft topology.
1369+
enum:
1370+
- isometric
1371+
- 2d
1372+
example: isometric
1373+
type: string
1374+
x-enum-varnames:
1375+
- ISOMETRIC
1376+
- TWO_D
1377+
CloudcraftWidgetDefinitionProvider:
1378+
description: Cloud provider for the Cloudcraft widget.
1379+
enum:
1380+
- aws
1381+
- azure
1382+
- gcp
1383+
- ndm
1384+
- oci
1385+
example: aws
1386+
type: string
1387+
x-enum-varnames:
1388+
- AWS
1389+
- AZURE
1390+
- GCP
1391+
- NDM
1392+
- OCI
1393+
CloudcraftWidgetDefinitionType:
1394+
default: cloudcraft
1395+
description: Type of Cloudcraft widget.
1396+
enum:
1397+
- cloudcraft
1398+
example: cloudcraft
1399+
type: string
1400+
x-enum-varnames:
1401+
- CLOUDCRAFT
12851402
CohortWidgetDefinition:
12861403
additionalProperties: false
12871404
description: The cohort widget visualizes user retention over time.
@@ -25597,6 +25714,7 @@ components:
2559725714
- $ref: "#/components/schemas/BarChartWidgetDefinition"
2559825715
- $ref: "#/components/schemas/ChangeWidgetDefinition"
2559925716
- $ref: "#/components/schemas/CheckStatusWidgetDefinition"
25717+
- $ref: "#/components/schemas/CloudcraftWidgetDefinition"
2560025718
- $ref: "#/components/schemas/CohortWidgetDefinition"
2560125719
- $ref: "#/components/schemas/DistributionWidgetDefinition"
2560225720
- $ref: "#/components/schemas/EventStreamWidgetDefinition"

services/dashboards/src/v1/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ export { ChangeWidgetDefinitionType } from "./models/ChangeWidgetDefinitionType"
4242
export { ChangeWidgetRequest } from "./models/ChangeWidgetRequest";
4343
export { CheckStatusWidgetDefinition } from "./models/CheckStatusWidgetDefinition";
4444
export { CheckStatusWidgetDefinitionType } from "./models/CheckStatusWidgetDefinitionType";
45+
export { CloudcraftWidgetDefinition } from "./models/CloudcraftWidgetDefinition";
46+
export { CloudcraftWidgetDefinitionOverlay } from "./models/CloudcraftWidgetDefinitionOverlay";
47+
export { CloudcraftWidgetDefinitionProjection } from "./models/CloudcraftWidgetDefinitionProjection";
48+
export { CloudcraftWidgetDefinitionProvider } from "./models/CloudcraftWidgetDefinitionProvider";
49+
export { CloudcraftWidgetDefinitionType } from "./models/CloudcraftWidgetDefinitionType";
4550
export { CohortWidgetDefinition } from "./models/CohortWidgetDefinition";
4651
export { CohortWidgetDefinitionType } from "./models/CohortWidgetDefinitionType";
4752
export { Dashboard } from "./models/Dashboard";
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
import { AttributeTypeMap } from "@datadog/datadog-api-client";
2+
3+
import { CloudcraftWidgetDefinitionOverlay } from "./CloudcraftWidgetDefinitionOverlay";
4+
import { CloudcraftWidgetDefinitionProjection } from "./CloudcraftWidgetDefinitionProjection";
5+
import { CloudcraftWidgetDefinitionProvider } from "./CloudcraftWidgetDefinitionProvider";
6+
import { CloudcraftWidgetDefinitionType } from "./CloudcraftWidgetDefinitionType";
7+
import { WidgetCustomLink } from "./WidgetCustomLink";
8+
import { WidgetTextAlign } from "./WidgetTextAlign";
9+
10+
/**
11+
* This widget displays a Cloudcraft topology of cloud resources for the selected provider.
12+
*/
13+
export class CloudcraftWidgetDefinition {
14+
/**
15+
* List of custom links.
16+
*/
17+
"customLinks"?: Array<WidgetCustomLink>;
18+
/**
19+
* The description of the widget.
20+
*/
21+
"description"?: string;
22+
/**
23+
* List of tags or attributes used to group the cloud resources in the widget.
24+
*/
25+
"groupBy": Array<string>;
26+
/**
27+
* Search query that visually highlights matching resources in the diagram.
28+
*/
29+
"highlighted": string;
30+
/**
31+
* Overlay applied on top of the Cloudcraft topology.
32+
*/
33+
"overlay": CloudcraftWidgetDefinitionOverlay;
34+
/**
35+
* Filter applied to the selected overlay.
36+
*/
37+
"overlayFilter": string;
38+
/**
39+
* Projection used to render the Cloudcraft topology.
40+
*/
41+
"projection": CloudcraftWidgetDefinitionProjection;
42+
/**
43+
* Cloud provider for the Cloudcraft widget.
44+
*/
45+
"provider": CloudcraftWidgetDefinitionProvider;
46+
/**
47+
* Query string used to filter the cloud resources displayed in the widget.
48+
*/
49+
"queryString": string;
50+
/**
51+
* Whether to show empty outline groups in the diagram.
52+
*/
53+
"showEmptyGroups": boolean;
54+
/**
55+
* Title of your widget.
56+
*/
57+
"title"?: string;
58+
/**
59+
* How to align the text on the widget.
60+
*/
61+
"titleAlign"?: WidgetTextAlign;
62+
/**
63+
* Size of the title.
64+
*/
65+
"titleSize"?: string;
66+
/**
67+
* Type of Cloudcraft widget.
68+
*/
69+
"type": CloudcraftWidgetDefinitionType;
70+
/**
71+
* A container for additional, undeclared properties.
72+
* This is a holder for any undeclared properties as specified with
73+
* the 'additionalProperties' keyword in the OAS document.
74+
*/
75+
"additionalProperties"?: { [key: string]: any };
76+
/**
77+
* @ignore
78+
*/
79+
"_unparsed"?: boolean;
80+
81+
/**
82+
* @ignore
83+
*/
84+
static readonly attributeTypeMap: AttributeTypeMap = {
85+
customLinks: {
86+
baseName: "custom_links",
87+
type: "Array<WidgetCustomLink>",
88+
},
89+
description: {
90+
baseName: "description",
91+
type: "string",
92+
},
93+
groupBy: {
94+
baseName: "group_by",
95+
type: "Array<string>",
96+
required: true,
97+
},
98+
highlighted: {
99+
baseName: "highlighted",
100+
type: "string",
101+
required: true,
102+
},
103+
overlay: {
104+
baseName: "overlay",
105+
type: "CloudcraftWidgetDefinitionOverlay",
106+
required: true,
107+
},
108+
overlayFilter: {
109+
baseName: "overlay_filter",
110+
type: "string",
111+
required: true,
112+
},
113+
projection: {
114+
baseName: "projection",
115+
type: "CloudcraftWidgetDefinitionProjection",
116+
required: true,
117+
},
118+
provider: {
119+
baseName: "provider",
120+
type: "CloudcraftWidgetDefinitionProvider",
121+
required: true,
122+
},
123+
queryString: {
124+
baseName: "query_string",
125+
type: "string",
126+
required: true,
127+
},
128+
showEmptyGroups: {
129+
baseName: "show_empty_groups",
130+
type: "boolean",
131+
required: true,
132+
},
133+
title: {
134+
baseName: "title",
135+
type: "string",
136+
},
137+
titleAlign: {
138+
baseName: "title_align",
139+
type: "WidgetTextAlign",
140+
},
141+
titleSize: {
142+
baseName: "title_size",
143+
type: "string",
144+
},
145+
type: {
146+
baseName: "type",
147+
type: "CloudcraftWidgetDefinitionType",
148+
required: true,
149+
},
150+
additionalProperties: {
151+
baseName: "additionalProperties",
152+
type: "{ [key: string]: any; }",
153+
},
154+
};
155+
156+
/**
157+
* @ignore
158+
*/
159+
static getAttributeTypeMap(): AttributeTypeMap {
160+
return CloudcraftWidgetDefinition.attributeTypeMap;
161+
}
162+
163+
public constructor() {}
164+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { UnparsedObject } from "@datadog/datadog-api-client";
2+
3+
/**
4+
* Overlay applied on top of the Cloudcraft topology.
5+
*/
6+
export type CloudcraftWidgetDefinitionOverlay =
7+
| typeof OBSERVABILITY
8+
| typeof CLOUD_COST
9+
| typeof SECURITY
10+
| typeof NDM_REACHABILITY
11+
| typeof MONITORS
12+
| typeof APM
13+
| typeof DEFAULT
14+
| UnparsedObject;
15+
export const OBSERVABILITY = "Observability";
16+
export const CLOUD_COST = "CloudCost";
17+
export const SECURITY = "Security";
18+
export const NDM_REACHABILITY = "NDMReachability";
19+
export const MONITORS = "Monitors";
20+
export const APM = "APM";
21+
export const DEFAULT = "Default";
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { UnparsedObject } from "@datadog/datadog-api-client";
2+
3+
/**
4+
* Projection used to render the Cloudcraft topology.
5+
*/
6+
export type CloudcraftWidgetDefinitionProjection =
7+
| typeof ISOMETRIC
8+
| typeof TWO_D
9+
| UnparsedObject;
10+
export const ISOMETRIC = "isometric";
11+
export const TWO_D = "2d";
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { UnparsedObject } from "@datadog/datadog-api-client";
2+
3+
/**
4+
* Cloud provider for the Cloudcraft widget.
5+
*/
6+
export type CloudcraftWidgetDefinitionProvider =
7+
| typeof AWS
8+
| typeof AZURE
9+
| typeof GCP
10+
| typeof NDM
11+
| typeof OCI
12+
| UnparsedObject;
13+
export const AWS = "aws";
14+
export const AZURE = "azure";
15+
export const GCP = "gcp";
16+
export const NDM = "ndm";
17+
export const OCI = "oci";
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { UnparsedObject } from "@datadog/datadog-api-client";
2+
3+
/**
4+
* Type of Cloudcraft widget.
5+
*/
6+
export type CloudcraftWidgetDefinitionType = typeof CLOUDCRAFT | UnparsedObject;
7+
export const CLOUDCRAFT = "cloudcraft";

0 commit comments

Comments
 (0)