Skip to content

Commit fdeea98

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 6940785 of spec repo (#174)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 230b459 commit fdeea98

18 files changed

+62
-242
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.3.0",
7-
"regenerated": "2020-11-25 12:07:54.558690",
8-
"spec_repo_commit": "7f2258a"
7+
"regenerated": "2020-11-27 08:39:24.738328",
8+
"spec_repo_commit": "6940785"
99
},
1010
"v2": {
1111
"apigentools_version": "1.3.0",
12-
"regenerated": "2020-11-25 12:08:05.663112",
13-
"spec_repo_commit": "7f2258a"
12+
"regenerated": "2020-11-27 08:39:36.876593",
13+
"spec_repo_commit": "6940785"
1414
}
1515
}
1616
}

docs/v1/AWSIntegrationApi.md

Lines changed: 12 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
6666
account_specific_namespace_rules={
6767
"key": True,
6868
},
69-
excluded_regions=[
70-
"["us-east-1","us-west-2"]",
71-
],
72-
filter_tags=[
73-
"["<KEY>:<VALUE>"]",
74-
],
75-
host_tags=[
76-
"["<KEY>:<VALUE>"]",
77-
],
69+
["us-east-1","us-west-2"],
70+
["<KEY>:<VALUE>"],
71+
["<KEY>:<VALUE>"],
7872
role_name="DatadogAWSIntegrationRole",
7973
secret_access_key="secret_access_key_example",
8074
) # AWSAccount | AWS Request Object
@@ -256,15 +250,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
256250
account_specific_namespace_rules={
257251
"key": True,
258252
},
259-
excluded_regions=[
260-
"["us-east-1","us-west-2"]",
261-
],
262-
filter_tags=[
263-
"["<KEY>:<VALUE>"]",
264-
],
265-
host_tags=[
266-
"["<KEY>:<VALUE>"]",
267-
],
253+
["us-east-1","us-west-2"],
254+
["<KEY>:<VALUE>"],
255+
["<KEY>:<VALUE>"],
268256
role_name="DatadogAWSIntegrationRole",
269257
secret_access_key="secret_access_key_example",
270258
) # AWSAccount | Your Datadog role delegation name. For more information about your AWS account Role name, see the [Datadog AWS integration configuration info](https://github.com/DataDog/documentation/blob/master/integrations/amazon_web_services/#installation).
@@ -357,15 +345,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
357345
account_specific_namespace_rules={
358346
"key": True,
359347
},
360-
excluded_regions=[
361-
"["us-east-1","us-west-2"]",
362-
],
363-
filter_tags=[
364-
"["<KEY>:<VALUE>"]",
365-
],
366-
host_tags=[
367-
"["<KEY>:<VALUE>"]",
368-
],
348+
["us-east-1","us-west-2"],
349+
["<KEY>:<VALUE>"],
350+
["<KEY>:<VALUE>"],
369351
role_name="DatadogAWSIntegrationRole",
370352
secret_access_key="secret_access_key_example",
371353
) # AWSAccount | AWS request object
@@ -798,15 +780,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
798780
account_specific_namespace_rules={
799781
"key": True,
800782
},
801-
excluded_regions=[
802-
"["us-east-1","us-west-2"]",
803-
],
804-
filter_tags=[
805-
"["<KEY>:<VALUE>"]",
806-
],
807-
host_tags=[
808-
"["<KEY>:<VALUE>"]",
809-
],
783+
["us-east-1","us-west-2"],
784+
["<KEY>:<VALUE>"],
785+
["<KEY>:<VALUE>"],
810786
role_name="DatadogAWSIntegrationRole",
811787
secret_access_key="secret_access_key_example",
812788
) # AWSAccount | AWS request object

docs/v1/AWSLogsIntegrationApi.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
147147
api_instance = aws_logs_integration_api.AWSLogsIntegrationApi(api_client)
148148
body = AWSLogsServicesRequest(
149149
account_id="1234567",
150-
services=[
151-
"["s3","elb","elbv2","cloudfront","redshift","lambda"]",
152-
],
150+
["s3","elb","elbv2","cloudfront","redshift","lambda"],
153151
) # AWSLogsServicesRequest | Check AWS Logs Async Services request body.
154152

155153
# example passing only required values which don't have defaults set
@@ -410,9 +408,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
410408
api_instance = aws_logs_integration_api.AWSLogsIntegrationApi(api_client)
411409
body = AWSLogsServicesRequest(
412410
account_id="1234567",
413-
services=[
414-
"["s3","elb","elbv2","cloudfront","redshift","lambda"]",
415-
],
411+
["s3","elb","elbv2","cloudfront","redshift","lambda"],
416412
) # AWSLogsServicesRequest | Enable AWS Log Services request body.
417413

418414
# example passing only required values which don't have defaults set

docs/v1/AzureIntegrationApi.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
5959
body = AzureAccount(
6060
client_id="testc7f6-1234-5678-9101-3fcbf464test",
6161
client_secret="testingx./Sw*g/Y33t..R1cH+hScMDt",
62-
errors=[
63-
"["*"]",
64-
],
62+
["*"],
6563
host_filters="key:value,filter:example",
6664
new_client_id="new1c7f6-1234-5678-9101-3fcbf464test",
6765
new_tenant_name="new1c44-1234-5678-9101-cc00736ftest",
@@ -153,9 +151,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
153151
body = AzureAccount(
154152
client_id="testc7f6-1234-5678-9101-3fcbf464test",
155153
client_secret="testingx./Sw*g/Y33t..R1cH+hScMDt",
156-
errors=[
157-
"["*"]",
158-
],
154+
["*"],
159155
host_filters="key:value,filter:example",
160156
new_client_id="new1c7f6-1234-5678-9101-3fcbf464test",
161157
new_tenant_name="new1c44-1234-5678-9101-cc00736ftest",
@@ -327,9 +323,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
327323
body = AzureAccount(
328324
client_id="testc7f6-1234-5678-9101-3fcbf464test",
329325
client_secret="testingx./Sw*g/Y33t..R1cH+hScMDt",
330-
errors=[
331-
"["*"]",
332-
],
326+
["*"],
333327
host_filters="key:value,filter:example",
334328
new_client_id="new1c7f6-1234-5678-9101-3fcbf464test",
335329
new_tenant_name="new1c44-1234-5678-9101-cc00736ftest",
@@ -421,9 +415,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
421415
body = AzureAccount(
422416
client_id="testc7f6-1234-5678-9101-3fcbf464test",
423417
client_secret="testingx./Sw*g/Y33t..R1cH+hScMDt",
424-
errors=[
425-
"["*"]",
426-
],
418+
["*"],
427419
host_filters="key:value,filter:example",
428420
new_client_id="new1c7f6-1234-5678-9101-3fcbf464test",
429421
new_tenant_name="new1c44-1234-5678-9101-cc00736ftest",

docs/v1/DashboardsApi.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -87,18 +87,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
8787
],
8888
title="title_example",
8989
url="/dashboard/123-abc-456/example-dashboard-title",
90-
widgets=[
91-
Widget(
92-
definition=WidgetDefinition(),
93-
id=1,
94-
layout=WidgetLayout(
95-
height=0,
96-
width=0,
97-
x=0,
98-
y=0,
99-
),
100-
),
101-
],
90+
[{"definition":{"requests":{"fill":{"q":"system.cpu.user"}},"type":"hostmap"}}],
10291
) # Dashboard | Create a dashboard request body.
10392

10493
# example passing only required values which don't have defaults set
@@ -462,18 +451,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
462451
],
463452
title="title_example",
464453
url="/dashboard/123-abc-456/example-dashboard-title",
465-
widgets=[
466-
Widget(
467-
definition=WidgetDefinition(),
468-
id=1,
469-
layout=WidgetLayout(
470-
height=0,
471-
width=0,
472-
x=0,
473-
y=0,
474-
),
475-
),
476-
],
454+
[{"definition":{"requests":{"fill":{"q":"system.cpu.user"}},"type":"hostmap"}}],
477455
) # Dashboard | Update Dashboard request body.
478456

479457
# example passing only required values which don't have defaults set

docs/v1/DowntimesApi.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -237,23 +237,17 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
237237
id=1625,
238238
message="Message on the downtime",
239239
monitor_id=123456,
240-
monitor_tags=[
241-
"["*"]",
242-
],
240+
["*"],
243241
parent_id=123,
244242
recurrence=DowntimeRecurrence(
245243
period=1,
246244
rrule="FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1",
247245
type="weeks",
248246
until_date=1447786293,
249247
until_occurrences=2,
250-
week_days=[
251-
"["Mon","Tue"]",
252-
],
248+
["Mon","Tue"],
253249
),
254-
scope=[
255-
"["env:staging"]",
256-
],
250+
["env:staging"],
257251
start=1412792983,
258252
timezone="America/New_York",
259253
updater_id=123456,
@@ -520,23 +514,17 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
520514
id=1625,
521515
message="Message on the downtime",
522516
monitor_id=123456,
523-
monitor_tags=[
524-
"["*"]",
525-
],
517+
["*"],
526518
parent_id=123,
527519
recurrence=DowntimeRecurrence(
528520
period=1,
529521
rrule="FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1",
530522
type="weeks",
531523
until_date=1447786293,
532524
until_occurrences=2,
533-
week_days=[
534-
"["Mon","Tue"]",
535-
],
525+
["Mon","Tue"],
536526
),
537-
scope=[
538-
"["env:staging"]",
539-
],
527+
["env:staging"],
540528
start=1412792983,
541529
timezone="America/New_York",
542530
updater_id=123456,

docs/v1/GCPIntegrationApi.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
6262
client_email="[email protected]",
6363
client_id="123456712345671234567",
6464
client_x509_cert_url="https://www.googleapis.com/robot/v1/metadata/x509/<CLIENT_EMAIL>",
65-
errors=[
66-
"["*"]",
67-
],
65+
["*"],
6866
host_filters="key:value,filter:example",
6967
private_key="private_key",
7068
private_key_id="123456789abcdefghi123456789abcdefghijklm",
@@ -162,9 +160,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
162160
client_email="[email protected]",
163161
client_id="123456712345671234567",
164162
client_x509_cert_url="https://www.googleapis.com/robot/v1/metadata/x509/<CLIENT_EMAIL>",
165-
errors=[
166-
"["*"]",
167-
],
163+
["*"],
168164
host_filters="key:value,filter:example",
169165
private_key="private_key",
170166
private_key_id="123456789abcdefghi123456789abcdefghijklm",
@@ -342,9 +338,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
342338
client_email="[email protected]",
343339
client_id="123456712345671234567",
344340
client_x509_cert_url="https://www.googleapis.com/robot/v1/metadata/x509/<CLIENT_EMAIL>",
345-
errors=[
346-
"["*"]",
347-
],
341+
["*"],
348342
host_filters="key:value,filter:example",
349343
private_key="private_key",
350344
private_key_id="123456789abcdefghi123456789abcdefghijklm",

docs/v1/LogsIndexesApi.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
412412
# Create an instance of the API class
413413
api_instance = logs_indexes_api.LogsIndexesApi(api_client)
414414
body = LogsIndexesOrder(
415-
index_names=[
416-
"["main","payments","web"]",
417-
],
415+
["main","payments","web"],
418416
) # LogsIndexesOrder | Object containing the new ordered list of index names (optional)
419417

420418
# example passing only required values which don't have defaults set

docs/v1/LogsPipelinesApi.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,9 +578,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
578578
# Create an instance of the API class
579579
api_instance = logs_pipelines_api.LogsPipelinesApi(api_client)
580580
body = LogsPipelinesOrder(
581-
pipeline_ids=[
582-
"["tags","org_ids","products"]",
583-
],
581+
["tags","org_ids","products"],
584582
) # LogsPipelinesOrder | Object containing the new ordered list of pipeline IDs.
585583

586584
# example passing only required values which don't have defaults set

docs/v1/README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
9292
account_specific_namespace_rules={
9393
"key": True,
9494
},
95-
excluded_regions=[
96-
"["us-east-1","us-west-2"]",
97-
],
98-
filter_tags=[
99-
"["<KEY>:<VALUE>"]",
100-
],
101-
host_tags=[
102-
"["<KEY>:<VALUE>"]",
103-
],
95+
["us-east-1","us-west-2"],
96+
["<KEY>:<VALUE>"],
97+
["<KEY>:<VALUE>"],
10498
role_name="DatadogAWSIntegrationRole",
10599
secret_access_key="secret_access_key_example",
106100
) # AWSAccount | AWS Request Object

0 commit comments

Comments
 (0)