@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NetworkDeviceMonitoringApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkDeviceMonitoringApi.ListDevicesOptionalParameters
Manage optional parameters to listDevices.
|
| Constructor and Description |
|---|
NetworkDeviceMonitoringApi() |
NetworkDeviceMonitoringApi(ApiClient apiClient) |
public NetworkDeviceMonitoringApi()
public NetworkDeviceMonitoringApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic GetDeviceResponse getDevice(String deviceId) throws ApiException
deviceId - The id of the device to fetch. (required)ApiException - if fails to make API callpublic CompletableFuture<GetDeviceResponse> getDeviceAsync(String deviceId)
deviceId - The id of the device to fetch. (required)public ApiResponse<GetDeviceResponse> getDeviceWithHttpInfo(String deviceId) throws ApiException
deviceId - The id of the device to fetch. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetDeviceResponse>> getDeviceWithHttpInfoAsync(String deviceId)
deviceId - The id of the device to fetch. (required)public GetInterfacesResponse getInterfaces(String deviceId) throws ApiException
deviceId - The ID of the device to get interfaces from. (required)ApiException - if fails to make API callpublic CompletableFuture<GetInterfacesResponse> getInterfacesAsync(String deviceId)
deviceId - The ID of the device to get interfaces from. (required)public ApiResponse<GetInterfacesResponse> getInterfacesWithHttpInfo(String deviceId) throws ApiException
deviceId - The ID of the device to get interfaces from. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetInterfacesResponse>> getInterfacesWithHttpInfoAsync(String deviceId)
deviceId - The ID of the device to get interfaces from. (required)public ListDevicesResponse listDevices() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<ListDevicesResponse> listDevicesAsync()
public ListDevicesResponse listDevices(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListDevicesResponse> listDevicesAsync(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<ListDevicesResponse> listDevicesWithHttpInfo(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListDevicesResponse>> listDevicesWithHttpInfoAsync(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters)
parameters - Optional parameters for the request.public ListTagsResponse listDeviceUserTags(String deviceId) throws ApiException
deviceId - The id of the device to fetch tags for. (required)ApiException - if fails to make API callpublic CompletableFuture<ListTagsResponse> listDeviceUserTagsAsync(String deviceId)
deviceId - The id of the device to fetch tags for. (required)public ApiResponse<ListTagsResponse> listDeviceUserTagsWithHttpInfo(String deviceId) throws ApiException
deviceId - The id of the device to fetch tags for. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListTagsResponse>> listDeviceUserTagsWithHttpInfoAsync(String deviceId)
deviceId - The id of the device to fetch tags for. (required)public ListTagsResponse updateDeviceUserTags(String deviceId, ListTagsResponse body) throws ApiException
See updateDeviceUserTagsWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ListTagsResponse).
deviceId - The id of the device to update tags for. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<ListTagsResponse> updateDeviceUserTagsAsync(String deviceId, ListTagsResponse body)
deviceId - The id of the device to update tags for. (required)body - (required)public ApiResponse<ListTagsResponse> updateDeviceUserTagsWithHttpInfo(String deviceId, ListTagsResponse body) throws ApiException
deviceId - The id of the device to update tags for. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListTagsResponse>> updateDeviceUserTagsWithHttpInfoAsync(String deviceId, ListTagsResponse body)
See updateDeviceUserTagsWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ListTagsResponse).
deviceId - The id of the device to update tags for. (required)body - (required)Copyright © 2024. All rights reserved.