You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v1/HostsApi.md
+4-13Lines changed: 4 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
195
195
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
196
196
197
197
# **mute_host**
198
-
> HostMuteResponse mute_host(host_name)
198
+
> HostMuteResponse mute_host(host_name, body)
199
199
200
200
Mute a host
201
201
@@ -244,21 +244,12 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
244
244
end=1579098130,
245
245
message="Muting this host for a test!",
246
246
override=False,
247
-
) # HostMuteSettings | Mute a host request body. (optional)
247
+
) # HostMuteSettings | Mute a host request body.
248
248
249
249
# example passing only required values which don't have defaults set
250
250
try:
251
251
# Mute a host
252
-
api_response = api_instance.mute_host(host_name)
253
-
pprint(api_response)
254
-
except datadog_api_client.v1.ApiException as e:
255
-
print("Exception when calling HostsApi->mute_host: %s\n"% e)
256
-
257
-
# example passing only required values which don't have defaults set
Copy file name to clipboardExpand all lines: docs/v1/LogsIndexesApi.md
+8-18Lines changed: 8 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,7 @@ This endpoint does not need any parameter.
254
254
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
255
255
256
256
# **update_logs_index**
257
-
> LogsIndex update_logs_index(name)
257
+
> LogsIndex update_logs_index(name, body)
258
258
259
259
Update an index
260
260
@@ -316,21 +316,12 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
316
316
query="source:python",
317
317
),
318
318
num_retention_days=1,
319
-
) # LogsIndexUpdateRequest | Object containing the new `LogsIndexUpdateRequest`. (optional)
319
+
) # LogsIndexUpdateRequest | Object containing the new `LogsIndexUpdateRequest`.
320
320
321
321
# example passing only required values which don't have defaults set
**body** | [**LogsIndexUpdateRequest**](LogsIndexUpdateRequest.md)| Object containing the new `LogsIndexUpdateRequest`. |[optional]
335
+
**body** | [**LogsIndexUpdateRequest**](LogsIndexUpdateRequest.md)| Object containing the new `LogsIndexUpdateRequest`. |
345
336
346
337
### Return type
347
338
@@ -367,7 +358,7 @@ Name | Type | Description | Notes
367
358
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
368
359
369
360
# **update_logs_index_order**
370
-
> LogsIndexesOrder update_logs_index_order()
361
+
> LogsIndexesOrder update_logs_index_order(body)
371
362
372
363
Update indexes order
373
364
@@ -413,13 +404,12 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
@@ -623,7 +615,7 @@ This endpoint does not need any parameter.
623
615
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
624
616
625
617
# **remove_role_from_archive**
626
-
> remove_role_from_archive(archive_id)
618
+
> remove_role_from_archive(archive_id, body)
627
619
628
620
Revoke role from an archive
629
621
@@ -673,20 +665,12 @@ with datadog_api_client.v2.ApiClient(configuration) as api_client:
673
665
id="3653d3c6-0c75-11ea-ad28-fb5701eabc7d",
674
666
type=RolesType("roles"),
675
667
),
676
-
) # RelationshipToRole | (optional)
677
-
678
-
# example passing only required values which don't have defaults set
679
-
try:
680
-
# Revoke role from an archive
681
-
api_instance.remove_role_from_archive(archive_id)
682
-
except datadog_api_client.v2.ApiException as e:
683
-
print("Exception when calling LogsArchivesApi->remove_role_from_archive: %s\n"% e)
668
+
) # RelationshipToRole |
684
669
685
670
# example passing only required values which don't have defaults set
0 commit comments