@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsPipelinesApi extends Object
| Constructor and Description |
|---|
LogsPipelinesApi() |
LogsPipelinesApi(ApiClient apiClient) |
public LogsPipelinesApi()
public LogsPipelinesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic LogsPipeline createLogsPipeline(LogsPipeline body) throws ApiException
See createLogsPipelineWithHttpInfo(com.datadog.api.client.v1.model.LogsPipeline).
body - Definition of the new pipeline. (required)ApiException - if fails to make API callpublic CompletableFuture<LogsPipeline> createLogsPipelineAsync(LogsPipeline body)
See createLogsPipelineWithHttpInfoAsync(com.datadog.api.client.v1.model.LogsPipeline).
body - Definition of the new pipeline. (required)public ApiResponse<LogsPipeline> createLogsPipelineWithHttpInfo(LogsPipeline body) throws ApiException
body - Definition of the new pipeline. (required)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<LogsPipeline>> createLogsPipelineWithHttpInfoAsync(LogsPipeline body)
See createLogsPipelineWithHttpInfo(com.datadog.api.client.v1.model.LogsPipeline).
body - Definition of the new pipeline. (required)public void deleteLogsPipeline(String pipelineId) throws ApiException
pipelineId - ID of the pipeline to delete. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteLogsPipelineAsync(String pipelineId)
pipelineId - ID of the pipeline to delete. (required)public ApiResponse<Void> deleteLogsPipelineWithHttpInfo(String pipelineId) throws ApiException
pipelineId - ID of the pipeline to delete. (required)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<Void>> deleteLogsPipelineWithHttpInfoAsync(String pipelineId)
pipelineId - ID of the pipeline to delete. (required)public LogsPipeline getLogsPipeline(String pipelineId) throws ApiException
pipelineId - ID of the pipeline to get. (required)ApiException - if fails to make API callpublic CompletableFuture<LogsPipeline> getLogsPipelineAsync(String pipelineId)
pipelineId - ID of the pipeline to get. (required)public ApiResponse<LogsPipeline> getLogsPipelineWithHttpInfo(String pipelineId) throws ApiException
pipelineId - ID of the pipeline to get. (required)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<LogsPipeline>> getLogsPipelineWithHttpInfoAsync(String pipelineId)
pipelineId - ID of the pipeline to get. (required)public LogsPipelinesOrder getLogsPipelineOrder() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<LogsPipelinesOrder> getLogsPipelineOrderAsync()
public ApiResponse<LogsPipelinesOrder> getLogsPipelineOrderWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<LogsPipelinesOrder>> getLogsPipelineOrderWithHttpInfoAsync()
public List<LogsPipeline> listLogsPipelines() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<List<LogsPipeline>> listLogsPipelinesAsync()
public ApiResponse<List<LogsPipeline>> listLogsPipelinesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<List<LogsPipeline>>> listLogsPipelinesWithHttpInfoAsync()
public LogsPipeline updateLogsPipeline(String pipelineId, LogsPipeline body) throws ApiException
See updateLogsPipelineWithHttpInfo(java.lang.String, com.datadog.api.client.v1.model.LogsPipeline).
pipelineId - ID of the pipeline to delete. (required)body - New definition of the pipeline. (required)ApiException - if fails to make API callpublic CompletableFuture<LogsPipeline> updateLogsPipelineAsync(String pipelineId, LogsPipeline body)
See updateLogsPipelineWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v1.model.LogsPipeline).
pipelineId - ID of the pipeline to delete. (required)body - New definition of the pipeline. (required)public ApiResponse<LogsPipeline> updateLogsPipelineWithHttpInfo(String pipelineId, LogsPipeline body) throws ApiException
Note: Using this method updates your pipeline configuration by replacing your current configuration with the new one sent to your Datadog organization.
pipelineId - ID of the pipeline to delete. (required)body - New definition of the pipeline. (required)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<LogsPipeline>> updateLogsPipelineWithHttpInfoAsync(String pipelineId, LogsPipeline body)
See updateLogsPipelineWithHttpInfo(java.lang.String, com.datadog.api.client.v1.model.LogsPipeline).
pipelineId - ID of the pipeline to delete. (required)body - New definition of the pipeline. (required)public LogsPipelinesOrder updateLogsPipelineOrder(LogsPipelinesOrder body) throws ApiException
See updateLogsPipelineOrderWithHttpInfo(com.datadog.api.client.v1.model.LogsPipelinesOrder).
body - Object containing the new ordered list of pipeline IDs. (required)ApiException - if fails to make API callpublic CompletableFuture<LogsPipelinesOrder> updateLogsPipelineOrderAsync(LogsPipelinesOrder body)
See updateLogsPipelineOrderWithHttpInfoAsync(com.datadog.api.client.v1.model.LogsPipelinesOrder).
body - Object containing the new ordered list of pipeline IDs. (required)public ApiResponse<LogsPipelinesOrder> updateLogsPipelineOrderWithHttpInfo(LogsPipelinesOrder body) throws ApiException
Note: Using the PUT method updates your pipeline order by
replacing your current order with the new one sent to your Datadog organization.
body - Object containing the new ordered list of pipeline IDs. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 422 | Unprocessable Entity | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<LogsPipelinesOrder>> updateLogsPipelineOrderWithHttpInfoAsync(LogsPipelinesOrder body)
See updateLogsPipelineOrderWithHttpInfo(com.datadog.api.client.v1.model.LogsPipelinesOrder).
body - Object containing the new ordered list of pipeline IDs. (required)Copyright © 2024. All rights reserved.