@@ -44,22 +44,14 @@ configuration = datadog_api_client.v1.Configuration(
44
44
# satisfies your auth use case.
45
45
46
46
# Configure API key authorization: apiKeyAuth
47
- configuration = datadog_api_client.v1.Configuration(
48
- host = " https://api.datadoghq.com" ,
49
- api_key = {
50
- ' apiKeyAuth' : ' YOUR_API_KEY'
51
- }
52
- )
47
+ configuration.api_key[' apiKeyAuth' ] = ' YOUR_API_KEY'
48
+
53
49
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
54
50
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
55
51
56
52
# Configure API key authorization: appKeyAuth
57
- configuration = datadog_api_client.v1.Configuration(
58
- host = " https://api.datadoghq.com" ,
59
- api_key = {
60
- ' appKeyAuth' : ' YOUR_API_KEY'
61
- }
62
- )
53
+ configuration.api_key[' appKeyAuth' ] = ' YOUR_API_KEY'
54
+
63
55
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
64
56
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
65
57
@@ -140,22 +132,14 @@ configuration = datadog_api_client.v1.Configuration(
140
132
# satisfies your auth use case.
141
133
142
134
# Configure API key authorization: apiKeyAuth
143
- configuration = datadog_api_client.v1.Configuration(
144
- host = " https://api.datadoghq.com" ,
145
- api_key = {
146
- ' apiKeyAuth' : ' YOUR_API_KEY'
147
- }
148
- )
135
+ configuration.api_key[' apiKeyAuth' ] = ' YOUR_API_KEY'
136
+
149
137
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
150
138
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
151
139
152
140
# Configure API key authorization: appKeyAuth
153
- configuration = datadog_api_client.v1.Configuration(
154
- host = " https://api.datadoghq.com" ,
155
- api_key = {
156
- ' appKeyAuth' : ' YOUR_API_KEY'
157
- }
158
- )
141
+ configuration.api_key[' appKeyAuth' ] = ' YOUR_API_KEY'
142
+
159
143
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
160
144
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
161
145
@@ -237,22 +221,14 @@ configuration = datadog_api_client.v1.Configuration(
237
221
# satisfies your auth use case.
238
222
239
223
# Configure API key authorization: apiKeyAuth
240
- configuration = datadog_api_client.v1.Configuration(
241
- host = " https://api.datadoghq.com" ,
242
- api_key = {
243
- ' apiKeyAuth' : ' YOUR_API_KEY'
244
- }
245
- )
224
+ configuration.api_key[' apiKeyAuth' ] = ' YOUR_API_KEY'
225
+
246
226
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
247
227
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
248
228
249
229
# Configure API key authorization: appKeyAuth
250
- configuration = datadog_api_client.v1.Configuration(
251
- host = " https://api.datadoghq.com" ,
252
- api_key = {
253
- ' appKeyAuth' : ' YOUR_API_KEY'
254
- }
255
- )
230
+ configuration.api_key[' appKeyAuth' ] = ' YOUR_API_KEY'
231
+
256
232
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
257
233
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
258
234
@@ -332,22 +308,14 @@ configuration = datadog_api_client.v1.Configuration(
332
308
# satisfies your auth use case.
333
309
334
310
# Configure API key authorization: apiKeyAuth
335
- configuration = datadog_api_client.v1.Configuration(
336
- host = " https://api.datadoghq.com" ,
337
- api_key = {
338
- ' apiKeyAuth' : ' YOUR_API_KEY'
339
- }
340
- )
311
+ configuration.api_key[' apiKeyAuth' ] = ' YOUR_API_KEY'
312
+
341
313
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
342
314
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
343
315
344
316
# Configure API key authorization: appKeyAuth
345
- configuration = datadog_api_client.v1.Configuration(
346
- host = " https://api.datadoghq.com" ,
347
- api_key = {
348
- ' appKeyAuth' : ' YOUR_API_KEY'
349
- }
350
- )
317
+ configuration.api_key[' appKeyAuth' ] = ' YOUR_API_KEY'
318
+
351
319
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
352
320
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
353
321
@@ -427,22 +395,14 @@ configuration = datadog_api_client.v1.Configuration(
427
395
# satisfies your auth use case.
428
396
429
397
# Configure API key authorization: apiKeyAuth
430
- configuration = datadog_api_client.v1.Configuration(
431
- host = " https://api.datadoghq.com" ,
432
- api_key = {
433
- ' apiKeyAuth' : ' YOUR_API_KEY'
434
- }
435
- )
398
+ configuration.api_key[' apiKeyAuth' ] = ' YOUR_API_KEY'
399
+
436
400
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
437
401
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
438
402
439
403
# Configure API key authorization: appKeyAuth
440
- configuration = datadog_api_client.v1.Configuration(
441
- host = " https://api.datadoghq.com" ,
442
- api_key = {
443
- ' appKeyAuth' : ' YOUR_API_KEY'
444
- }
445
- )
404
+ configuration.api_key[' appKeyAuth' ] = ' YOUR_API_KEY'
405
+
446
406
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
447
407
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
448
408
@@ -524,22 +484,14 @@ configuration = datadog_api_client.v1.Configuration(
524
484
# satisfies your auth use case.
525
485
526
486
# Configure API key authorization: apiKeyAuth
527
- configuration = datadog_api_client.v1.Configuration(
528
- host = " https://api.datadoghq.com" ,
529
- api_key = {
530
- ' apiKeyAuth' : ' YOUR_API_KEY'
531
- }
532
- )
487
+ configuration.api_key[' apiKeyAuth' ] = ' YOUR_API_KEY'
488
+
533
489
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
534
490
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
535
491
536
492
# Configure API key authorization: appKeyAuth
537
- configuration = datadog_api_client.v1.Configuration(
538
- host = " https://api.datadoghq.com" ,
539
- api_key = {
540
- ' appKeyAuth' : ' YOUR_API_KEY'
541
- }
542
- )
493
+ configuration.api_key[' appKeyAuth' ] = ' YOUR_API_KEY'
494
+
543
495
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
544
496
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
545
497
@@ -612,22 +564,14 @@ configuration = datadog_api_client.v1.Configuration(
612
564
# satisfies your auth use case.
613
565
614
566
# Configure API key authorization: apiKeyAuth
615
- configuration = datadog_api_client.v1.Configuration(
616
- host = " https://api.datadoghq.com" ,
617
- api_key = {
618
- ' apiKeyAuth' : ' YOUR_API_KEY'
619
- }
620
- )
567
+ configuration.api_key[' apiKeyAuth' ] = ' YOUR_API_KEY'
568
+
621
569
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
622
570
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
623
571
624
572
# Configure API key authorization: appKeyAuth
625
- configuration = datadog_api_client.v1.Configuration(
626
- host = " https://api.datadoghq.com" ,
627
- api_key = {
628
- ' appKeyAuth' : ' YOUR_API_KEY'
629
- }
630
- )
573
+ configuration.api_key[' appKeyAuth' ] = ' YOUR_API_KEY'
574
+
631
575
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
632
576
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
633
577
0 commit comments