Package com.datadog.api.client.v2.api
Class NetworkDeviceMonitoringApi
java.lang.Object
com.datadog.api.client.v2.api.NetworkDeviceMonitoringApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class NetworkDeviceMonitoringApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getInterfaces.static classManage optional parameters to listDevices. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the API client.Get the device details.getDeviceAsync(String deviceId) Get the device details.getDeviceWithHttpInfo(String deviceId) Get the device details.getDeviceWithHttpInfoAsync(String deviceId) Get the device details.getInterfaces(String deviceId) Get the list of interfaces of the device.getInterfaces(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) Get the list of interfaces of the device.getInterfacesAsync(String deviceId) Get the list of interfaces of the device.getInterfacesAsync(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) Get the list of interfaces of the device.getInterfacesWithHttpInfo(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) Get the list of interfaces of the device.getInterfacesWithHttpInfoAsync(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) Get the list of interfaces of the device.Get the list of devices.Get the list of devices.Get the list of devices.Get the list of devices.Get the list of devices.Get the list of devices.Get the list of devices.Get the list of devices.listDeviceUserTags(String deviceId) Get the list of tags for a device.listDeviceUserTagsAsync(String deviceId) Get the list of tags for a device.listDeviceUserTagsWithHttpInfo(String deviceId) Get the list of tags for a device.listDeviceUserTagsWithHttpInfoAsync(String deviceId) Get the list of tags for a device.listInterfaceUserTags(String interfaceId) List tags for an interface.listInterfaceUserTagsAsync(String interfaceId) List tags for an interface.listInterfaceUserTagsWithHttpInfo(String interfaceId) Returns the tags associated with the specified interface.listInterfaceUserTagsWithHttpInfoAsync(String interfaceId) List tags for an interface.voidsetApiClient(ApiClient apiClient) Set the API client.updateDeviceUserTags(String deviceId, ListTagsResponse body) Update the tags for a device.updateDeviceUserTagsAsync(String deviceId, ListTagsResponse body) Update the tags for a device.updateDeviceUserTagsWithHttpInfo(String deviceId, ListTagsResponse body) Update the tags for a device.updateDeviceUserTagsWithHttpInfoAsync(String deviceId, ListTagsResponse body) Update the tags for a device.updateInterfaceUserTags(String interfaceId, ListInterfaceTagsResponse body) Update the tags for an interface.updateInterfaceUserTagsAsync(String interfaceId, ListInterfaceTagsResponse body) Update the tags for an interface.updateInterfaceUserTagsWithHttpInfo(String interfaceId, ListInterfaceTagsResponse body) Updates the tags associated with the specified interface.updateInterfaceUserTagsWithHttpInfoAsync(String interfaceId, ListInterfaceTagsResponse body) Update the tags for an interface.
-
Constructor Details
-
NetworkDeviceMonitoringApi
public NetworkDeviceMonitoringApi() -
NetworkDeviceMonitoringApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
getDevice
Get the device details.- Parameters:
deviceId- The id of the device to fetch. (required)- Returns:
- GetDeviceResponse
- Throws:
ApiException- if fails to make API call
-
getDeviceAsync
Get the device details.- Parameters:
deviceId- The id of the device to fetch. (required)- Returns:
- CompletableFuture<GetDeviceResponse>
-
getDeviceWithHttpInfo
Get the device details.- Parameters:
deviceId- The id of the device to fetch. (required)- Returns:
- ApiResponse<GetDeviceResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getDeviceWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetDeviceResponse>> getDeviceWithHttpInfoAsync(String deviceId) Get the device details.- Parameters:
deviceId- The id of the device to fetch. (required)- Returns:
- CompletableFuture<ApiResponse<GetDeviceResponse>>
-
getInterfaces
Get the list of interfaces of the device.- Parameters:
deviceId- The ID of the device to get interfaces from. (required)- Returns:
- GetInterfacesResponse
- Throws:
ApiException- if fails to make API call
-
getInterfacesAsync
Get the list of interfaces of the device.- Parameters:
deviceId- The ID of the device to get interfaces from. (required)- Returns:
- CompletableFuture<GetInterfacesResponse>
-
getInterfaces
public GetInterfacesResponse getInterfaces(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) throws ApiException Get the list of interfaces of the device.- Parameters:
deviceId- The ID of the device to get interfaces from. (required)parameters- Optional parameters for the request.- Returns:
- GetInterfacesResponse
- Throws:
ApiException- if fails to make API call
-
getInterfacesAsync
public CompletableFuture<GetInterfacesResponse> getInterfacesAsync(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) Get the list of interfaces of the device.- Parameters:
deviceId- The ID of the device to get interfaces from. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<GetInterfacesResponse>
-
getInterfacesWithHttpInfo
public ApiResponse<GetInterfacesResponse> getInterfacesWithHttpInfo(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) throws ApiException Get the list of interfaces of the device.- Parameters:
deviceId- The ID of the device to get interfaces from. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<GetInterfacesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
getInterfacesWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetInterfacesResponse>> getInterfacesWithHttpInfoAsync(String deviceId, NetworkDeviceMonitoringApi.GetInterfacesOptionalParameters parameters) Get the list of interfaces of the device.- Parameters:
deviceId- The ID of the device to get interfaces from. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<GetInterfacesResponse>>
-
listDevices
Get the list of devices.- Returns:
- ListDevicesResponse
- Throws:
ApiException- if fails to make API call
-
listDevicesAsync
Get the list of devices.- Returns:
- CompletableFuture<ListDevicesResponse>
-
listDevices
public ListDevicesResponse listDevices(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters) throws ApiException Get the list of devices.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ListDevicesResponse
- Throws:
ApiException- if fails to make API call
-
listDevicesAsync
public CompletableFuture<ListDevicesResponse> listDevicesAsync(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters) Get the list of devices.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ListDevicesResponse>
-
listDevicesWithPagination
Get the list of devices.- Returns:
- PaginationIterable<DevicesListData>
-
listDevicesWithPagination
public PaginationIterable<DevicesListData> listDevicesWithPagination(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters) Get the list of devices.- Returns:
- ListDevicesResponse
-
listDevicesWithHttpInfo
public ApiResponse<ListDevicesResponse> listDevicesWithHttpInfo(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters) throws ApiException Get the list of devices.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ListDevicesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
listDevicesWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListDevicesResponse>> listDevicesWithHttpInfoAsync(NetworkDeviceMonitoringApi.ListDevicesOptionalParameters parameters) Get the list of devices.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ListDevicesResponse>>
-
listDeviceUserTags
Get the list of tags for a device.- Parameters:
deviceId- The id of the device to fetch tags for. (required)- Returns:
- ListTagsResponse
- Throws:
ApiException- if fails to make API call
-
listDeviceUserTagsAsync
Get the list of tags for a device.- Parameters:
deviceId- The id of the device to fetch tags for. (required)- Returns:
- CompletableFuture<ListTagsResponse>
-
listDeviceUserTagsWithHttpInfo
public ApiResponse<ListTagsResponse> listDeviceUserTagsWithHttpInfo(String deviceId) throws ApiException Get the list of tags for a device.- Parameters:
deviceId- The id of the device to fetch tags for. (required)- Returns:
- ApiResponse<ListTagsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
listDeviceUserTagsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListTagsResponse>> listDeviceUserTagsWithHttpInfoAsync(String deviceId) Get the list of tags for a device.- Parameters:
deviceId- The id of the device to fetch tags for. (required)- Returns:
- CompletableFuture<ApiResponse<ListTagsResponse>>
-
listInterfaceUserTags
List tags for an interface.- Parameters:
interfaceId- The ID of the interface for which to retrieve tags. (required)- Returns:
- ListInterfaceTagsResponse
- Throws:
ApiException- if fails to make API call
-
listInterfaceUserTagsAsync
List tags for an interface.See
listInterfaceUserTagsWithHttpInfoAsync(java.lang.String).- Parameters:
interfaceId- The ID of the interface for which to retrieve tags. (required)- Returns:
- CompletableFuture<ListInterfaceTagsResponse>
-
listInterfaceUserTagsWithHttpInfo
public ApiResponse<ListInterfaceTagsResponse> listInterfaceUserTagsWithHttpInfo(String interfaceId) throws ApiException Returns the tags associated with the specified interface.- Parameters:
interfaceId- The ID of the interface for which to retrieve tags. (required)- Returns:
- ApiResponse<ListInterfaceTagsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
listInterfaceUserTagsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListInterfaceTagsResponse>> listInterfaceUserTagsWithHttpInfoAsync(String interfaceId) List tags for an interface.- Parameters:
interfaceId- The ID of the interface for which to retrieve tags. (required)- Returns:
- CompletableFuture<ApiResponse<ListInterfaceTagsResponse>>
-
updateDeviceUserTags
public ListTagsResponse updateDeviceUserTags(String deviceId, ListTagsResponse body) throws ApiException Update the tags for a device.See
updateDeviceUserTagsWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ListTagsResponse).- Parameters:
deviceId- The id of the device to update tags for. (required)body- (required)- Returns:
- ListTagsResponse
- Throws:
ApiException- if fails to make API call
-
updateDeviceUserTagsAsync
public CompletableFuture<ListTagsResponse> updateDeviceUserTagsAsync(String deviceId, ListTagsResponse body) Update the tags for a device.- Parameters:
deviceId- The id of the device to update tags for. (required)body- (required)- Returns:
- CompletableFuture<ListTagsResponse>
-
updateDeviceUserTagsWithHttpInfo
public ApiResponse<ListTagsResponse> updateDeviceUserTagsWithHttpInfo(String deviceId, ListTagsResponse body) throws ApiException Update the tags for a device.- Parameters:
deviceId- The id of the device to update tags for. (required)body- (required)- Returns:
- ApiResponse<ListTagsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateDeviceUserTagsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListTagsResponse>> updateDeviceUserTagsWithHttpInfoAsync(String deviceId, ListTagsResponse body) Update the tags for a device.See
updateDeviceUserTagsWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ListTagsResponse).- Parameters:
deviceId- The id of the device to update tags for. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<ListTagsResponse>>
-
updateInterfaceUserTags
public ListInterfaceTagsResponse updateInterfaceUserTags(String interfaceId, ListInterfaceTagsResponse body) throws ApiException Update the tags for an interface.- Parameters:
interfaceId- The ID of the interface for which to update tags. (required)body- (required)- Returns:
- ListInterfaceTagsResponse
- Throws:
ApiException- if fails to make API call
-
updateInterfaceUserTagsAsync
public CompletableFuture<ListInterfaceTagsResponse> updateInterfaceUserTagsAsync(String interfaceId, ListInterfaceTagsResponse body) Update the tags for an interface.- Parameters:
interfaceId- The ID of the interface for which to update tags. (required)body- (required)- Returns:
- CompletableFuture<ListInterfaceTagsResponse>
-
updateInterfaceUserTagsWithHttpInfo
public ApiResponse<ListInterfaceTagsResponse> updateInterfaceUserTagsWithHttpInfo(String interfaceId, ListInterfaceTagsResponse body) throws ApiException Updates the tags associated with the specified interface.- Parameters:
interfaceId- The ID of the interface for which to update tags. (required)body- (required)- Returns:
- ApiResponse<ListInterfaceTagsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateInterfaceUserTagsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListInterfaceTagsResponse>> updateInterfaceUserTagsWithHttpInfoAsync(String interfaceId, ListInterfaceTagsResponse body) Update the tags for an interface.- Parameters:
interfaceId- The ID of the interface for which to update tags. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<ListInterfaceTagsResponse>>
-