Class LogsPipelinesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a pipeline.Create a pipeline.Create a pipeline in your organization.Create a pipeline.voiddeleteLogsPipeline(String pipelineId) Delete a pipeline.deleteLogsPipelineAsync(String pipelineId) Delete a pipeline.deleteLogsPipelineWithHttpInfo(String pipelineId) Delete a given pipeline from your organization.deleteLogsPipelineWithHttpInfoAsync(String pipelineId) Delete a pipeline.Get the API client.getLogsPipeline(String pipelineId) Get a pipeline.getLogsPipelineAsync(String pipelineId) Get a pipeline.Get pipeline order.Get pipeline order.Get the current order of your pipelines.Get pipeline order.getLogsPipelineWithHttpInfo(String pipelineId) Get a specific pipeline from your organization.getLogsPipelineWithHttpInfoAsync(String pipelineId) Get a pipeline.Get all pipelines.Get all pipelines.Get all pipelines from your organization.Get all pipelines.voidsetApiClient(ApiClient apiClient) Set the API client.updateLogsPipeline(String pipelineId, LogsPipeline body) Update a pipeline.updateLogsPipelineAsync(String pipelineId, LogsPipeline body) Update a pipeline.Update pipeline order.Update pipeline order.Update the order of your pipelines.Update pipeline order.updateLogsPipelineWithHttpInfo(String pipelineId, LogsPipeline body) Update a given pipeline configuration to change it’s processors or their order.updateLogsPipelineWithHttpInfoAsync(String pipelineId, LogsPipeline body) Update a pipeline.
-
Constructor Details
-
LogsPipelinesApi
public LogsPipelinesApi() -
LogsPipelinesApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createLogsPipeline
Create a pipeline.See
createLogsPipelineWithHttpInfo(com.datadog.api.client.v1.model.LogsPipeline).- Parameters:
body- Definition of the new pipeline. (required)- Returns:
- LogsPipeline
- Throws:
ApiException- if fails to make API call
-
createLogsPipelineAsync
Create a pipeline.See
createLogsPipelineWithHttpInfoAsync(com.datadog.api.client.v1.model.LogsPipeline).- Parameters:
body- Definition of the new pipeline. (required)- Returns:
- CompletableFuture<LogsPipeline>
-
createLogsPipelineWithHttpInfo
public ApiResponse<LogsPipeline> createLogsPipelineWithHttpInfo(LogsPipeline body) throws ApiException Create a pipeline in your organization.- Parameters:
body- Definition of the new pipeline. (required)- Returns:
- ApiResponse<LogsPipeline>
- 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 -
-
createLogsPipelineWithHttpInfoAsync
public CompletableFuture<ApiResponse<LogsPipeline>> createLogsPipelineWithHttpInfoAsync(LogsPipeline body) Create a pipeline.See
createLogsPipelineWithHttpInfo(com.datadog.api.client.v1.model.LogsPipeline).- Parameters:
body- Definition of the new pipeline. (required)- Returns:
- CompletableFuture<ApiResponse<LogsPipeline>>
-
deleteLogsPipeline
Delete a pipeline.- Parameters:
pipelineId- ID of the pipeline to delete. (required)- Throws:
ApiException- if fails to make API call
-
deleteLogsPipelineAsync
Delete a pipeline.- Parameters:
pipelineId- ID of the pipeline to delete. (required)- Returns:
- CompletableFuture
-
deleteLogsPipelineWithHttpInfo
Delete a given pipeline from your organization. This endpoint takes no JSON arguments.- Parameters:
pipelineId- ID of the pipeline to delete. (required)- Returns:
- ApiResponse<Void>
- 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 -
-
deleteLogsPipelineWithHttpInfoAsync
Delete a pipeline.- Parameters:
pipelineId- ID of the pipeline to delete. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getLogsPipeline
Get a pipeline.- Parameters:
pipelineId- ID of the pipeline to get. (required)- Returns:
- LogsPipeline
- Throws:
ApiException- if fails to make API call
-
getLogsPipelineAsync
Get a pipeline.- Parameters:
pipelineId- ID of the pipeline to get. (required)- Returns:
- CompletableFuture<LogsPipeline>
-
getLogsPipelineWithHttpInfo
Get a specific pipeline from your organization. This endpoint takes no JSON arguments.- Parameters:
pipelineId- ID of the pipeline to get. (required)- Returns:
- ApiResponse<LogsPipeline>
- 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 -
-
getLogsPipelineWithHttpInfoAsync
public CompletableFuture<ApiResponse<LogsPipeline>> getLogsPipelineWithHttpInfoAsync(String pipelineId) Get a pipeline.- Parameters:
pipelineId- ID of the pipeline to get. (required)- Returns:
- CompletableFuture<ApiResponse<LogsPipeline>>
-
getLogsPipelineOrder
Get pipeline order.- Returns:
- LogsPipelinesOrder
- Throws:
ApiException- if fails to make API call
-
getLogsPipelineOrderAsync
Get pipeline order.- Returns:
- CompletableFuture<LogsPipelinesOrder>
-
getLogsPipelineOrderWithHttpInfo
Get the current order of your pipelines. This endpoint takes no JSON arguments.- Returns:
- ApiResponse<LogsPipelinesOrder>
- 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 -
-
getLogsPipelineOrderWithHttpInfoAsync
Get pipeline order.- Returns:
- CompletableFuture<ApiResponse<LogsPipelinesOrder>>
-
listLogsPipelines
Get all pipelines.- Returns:
- List<LogsPipeline>
- Throws:
ApiException- if fails to make API call
-
listLogsPipelinesAsync
Get all pipelines.- Returns:
- CompletableFuture<List<LogsPipeline>>
-
listLogsPipelinesWithHttpInfo
Get all pipelines from your organization. This endpoint takes no JSON arguments.- Returns:
- ApiResponse<List<LogsPipeline>>
- 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 -
-
listLogsPipelinesWithHttpInfoAsync
Get all pipelines.- Returns:
- CompletableFuture<ApiResponse<List<LogsPipeline>>>
-
updateLogsPipeline
Update a pipeline.See
updateLogsPipelineWithHttpInfo(java.lang.String, com.datadog.api.client.v1.model.LogsPipeline).- Parameters:
pipelineId- ID of the pipeline to delete. (required)body- New definition of the pipeline. (required)- Returns:
- LogsPipeline
- Throws:
ApiException- if fails to make API call
-
updateLogsPipelineAsync
public CompletableFuture<LogsPipeline> updateLogsPipelineAsync(String pipelineId, LogsPipeline body) Update a pipeline.See
updateLogsPipelineWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v1.model.LogsPipeline).- Parameters:
pipelineId- ID of the pipeline to delete. (required)body- New definition of the pipeline. (required)- Returns:
- CompletableFuture<LogsPipeline>
-
updateLogsPipelineWithHttpInfo
public ApiResponse<LogsPipeline> updateLogsPipelineWithHttpInfo(String pipelineId, LogsPipeline body) throws ApiException Update a given pipeline configuration to change it’s processors or their order.Note: Using this method updates your pipeline configuration by replacing your current configuration with the new one sent to your Datadog organization.
- Parameters:
pipelineId- ID of the pipeline to delete. (required)body- New definition of the pipeline. (required)- Returns:
- ApiResponse<LogsPipeline>
- 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 -
-
updateLogsPipelineWithHttpInfoAsync
public CompletableFuture<ApiResponse<LogsPipeline>> updateLogsPipelineWithHttpInfoAsync(String pipelineId, LogsPipeline body) Update a pipeline.See
updateLogsPipelineWithHttpInfo(java.lang.String, com.datadog.api.client.v1.model.LogsPipeline).- Parameters:
pipelineId- ID of the pipeline to delete. (required)body- New definition of the pipeline. (required)- Returns:
- CompletableFuture<ApiResponse<LogsPipeline>>
-
updateLogsPipelineOrder
Update pipeline order.See
updateLogsPipelineOrderWithHttpInfo(com.datadog.api.client.v1.model.LogsPipelinesOrder).- Parameters:
body- Object containing the new ordered list of pipeline IDs. (required)- Returns:
- LogsPipelinesOrder
- Throws:
ApiException- if fails to make API call
-
updateLogsPipelineOrderAsync
Update pipeline order.See
updateLogsPipelineOrderWithHttpInfoAsync(com.datadog.api.client.v1.model.LogsPipelinesOrder).- Parameters:
body- Object containing the new ordered list of pipeline IDs. (required)- Returns:
- CompletableFuture<LogsPipelinesOrder>
-
updateLogsPipelineOrderWithHttpInfo
public ApiResponse<LogsPipelinesOrder> updateLogsPipelineOrderWithHttpInfo(LogsPipelinesOrder body) throws ApiException Update the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change the structure and content of the data processed by other pipelines and their processors.Note: Using the
PUTmethod updates your pipeline order by replacing your current order with the new one sent to your Datadog organization.- Parameters:
body- Object containing the new ordered list of pipeline IDs. (required)- Returns:
- ApiResponse<LogsPipelinesOrder>
- 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 - 422 Unprocessable Entity - 429 Too many requests -
-
updateLogsPipelineOrderWithHttpInfoAsync
public CompletableFuture<ApiResponse<LogsPipelinesOrder>> updateLogsPipelineOrderWithHttpInfoAsync(LogsPipelinesOrder body) Update pipeline order.See
updateLogsPipelineOrderWithHttpInfo(com.datadog.api.client.v1.model.LogsPipelinesOrder).- Parameters:
body- Object containing the new ordered list of pipeline IDs. (required)- Returns:
- CompletableFuture<ApiResponse<LogsPipelinesOrder>>
-