Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,825 changes: 1,390 additions & 435 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/v2/observability-pipelines/CreatePipeline.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void main(String[] args) {
.type(
ObservabilityPipelineDatadogLogsDestinationType
.DATADOG_LOGS))))
.processors(
.processorGroups(
Collections.singletonList(
new ObservabilityPipelineConfigProcessorGroup()
.enabled(true)
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/observability-pipelines/UpdatePipeline.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static void main(String[] args) {
.type(
ObservabilityPipelineDatadogLogsDestinationType
.DATADOG_LOGS))))
.processors(
.processorGroups(
Collections.singletonList(
new ObservabilityPipelineConfigProcessorGroup()
.enabled(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void main(String[] args) {
.type(
ObservabilityPipelineDatadogLogsDestinationType
.DATADOG_LOGS))))
.processors(
.processorGroups(
Collections.singletonList(
new ObservabilityPipelineConfigProcessorGroup()
.enabled(true)
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/com/datadog/api/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,12 @@ public class ApiClient {
put("v2.updateMonitorUserTemplate", false);
put("v2.validateExistingMonitorUserTemplate", false);
put("v2.validateMonitorUserTemplate", false);
put("v2.createPipeline", false);
put("v2.deletePipeline", false);
put("v2.getPipeline", false);
put("v2.listPipelines", false);
put("v2.updatePipeline", false);
put("v2.validatePipeline", false);
put("v2.listRoleTemplates", false);
put("v2.createConnection", false);
put("v2.deleteConnection", false);
Expand All @@ -879,12 +885,6 @@ public class ApiClient {
put("v2.queryEventFilteredUsers", false);
put("v2.queryUsers", false);
put("v2.updateConnection", false);
put("v2.createPipeline", false);
put("v2.deletePipeline", false);
put("v2.getPipeline", false);
put("v2.listPipelines", false);
put("v2.updatePipeline", false);
put("v2.validatePipeline", false);
put("v2.createScorecardOutcomesBatch", false);
put("v2.createScorecardRule", false);
put("v2.deleteScorecardRule", false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public ApiResponse<ObservabilityPipeline> createPipelineWithHttpInfo(
400, "Missing the required parameter 'body' when calling createPipeline");
}
// create path and map variables
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
String localVarPath = "/api/v2/obs-pipelines/pipelines";

Map<String, String> localVarHeaderParams = new HashMap<String, String>();

Expand Down Expand Up @@ -166,7 +166,7 @@ public CompletableFuture<ApiResponse<ObservabilityPipeline>> createPipelineWithH
return result;
}
// create path and map variables
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
String localVarPath = "/api/v2/obs-pipelines/pipelines";

Map<String, String> localVarHeaderParams = new HashMap<String, String>();

Expand Down Expand Up @@ -259,7 +259,7 @@ public ApiResponse<Void> deletePipelineWithHttpInfo(String pipelineId) throws Ap
}
// create path and map variables
String localVarPath =
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
.replaceAll(
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));

Expand Down Expand Up @@ -316,7 +316,7 @@ public CompletableFuture<ApiResponse<Void>> deletePipelineWithHttpInfoAsync(Stri
}
// create path and map variables
String localVarPath =
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
.replaceAll(
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));

Expand Down Expand Up @@ -411,7 +411,7 @@ public ApiResponse<ObservabilityPipeline> getPipelineWithHttpInfo(String pipelin
}
// create path and map variables
String localVarPath =
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
.replaceAll(
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));

Expand Down Expand Up @@ -469,7 +469,7 @@ public CompletableFuture<ApiResponse<ObservabilityPipeline>> getPipelineWithHttp
}
// create path and map variables
String localVarPath =
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
.replaceAll(
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));

Expand Down Expand Up @@ -618,7 +618,7 @@ public ApiResponse<ListPipelinesResponse> listPipelinesWithHttpInfo(
Long pageSize = parameters.pageSize;
Long pageNumber = parameters.pageNumber;
// create path and map variables
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
String localVarPath = "/api/v2/obs-pipelines/pipelines";

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
Expand Down Expand Up @@ -670,7 +670,7 @@ public CompletableFuture<ApiResponse<ListPipelinesResponse>> listPipelinesWithHt
Long pageSize = parameters.pageSize;
Long pageNumber = parameters.pageNumber;
// create path and map variables
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
String localVarPath = "/api/v2/obs-pipelines/pipelines";

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
Expand Down Expand Up @@ -781,7 +781,7 @@ public ApiResponse<ObservabilityPipeline> updatePipelineWithHttpInfo(
}
// create path and map variables
String localVarPath =
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
.replaceAll(
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));

Expand Down Expand Up @@ -849,7 +849,7 @@ public CompletableFuture<ApiResponse<ObservabilityPipeline>> updatePipelineWithH
}
// create path and map variables
String localVarPath =
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
.replaceAll(
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));

Expand Down Expand Up @@ -946,7 +946,7 @@ public ApiResponse<ValidationResponse> validatePipelineWithHttpInfo(
400, "Missing the required parameter 'body' when calling validatePipeline");
}
// create path and map variables
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines/validate";
String localVarPath = "/api/v2/obs-pipelines/pipelines/validate";

Map<String, String> localVarHeaderParams = new HashMap<String, String>();

Expand Down Expand Up @@ -1001,7 +1001,7 @@ public CompletableFuture<ApiResponse<ValidationResponse>> validatePipelineWithHt
return result;
}
// create path and map variables
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines/validate";
String localVarPath = "/api/v2/obs-pipelines/pipelines/validate";

Map<String, String> localVarHeaderParams = new HashMap<String, String>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
import java.util.Map;
import java.util.Objects;

/** The <code>azure_storage</code> destination forwards logs to an Azure Blob Storage container. */
/**
* The <code>azure_storage</code> destination forwards logs to an Azure Blob Storage container.
*
* <p><strong>Supported pipeline types:</strong> logs
*/
@JsonPropertyOrder({
AzureStorageDestination.JSON_PROPERTY_BLOB_PREFIX,
AzureStorageDestination.JSON_PROPERTY_CONTAINER_NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
import java.util.Map;
import java.util.Objects;

/** The <code>microsoft_sentinel</code> destination forwards logs to Microsoft Sentinel. */
/**
* The <code>microsoft_sentinel</code> destination forwards logs to Microsoft Sentinel.
*
* <p><strong>Supported pipeline types:</strong> logs
*/
@JsonPropertyOrder({
MicrosoftSentinelDestination.JSON_PROPERTY_CLIENT_ID,
MicrosoftSentinelDestination.JSON_PROPERTY_DCR_IMMUTABLE_ID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
import java.util.Map;
import java.util.Objects;

/** The <code>add_env_vars</code> processor adds environment variable values to log events. */
/**
* The <code>add_env_vars</code> processor adds environment variable values to log events.
*
* <p><strong>Supported pipeline types:</strong> logs
*/
@JsonPropertyOrder({
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_DISPLAY_NAME,
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_ENABLED,
Expand Down Expand Up @@ -97,7 +101,7 @@ public ObservabilityPipelineAddEnvVarsProcessor enabled(Boolean enabled) {
}

/**
* Whether this processor is enabled.
* Indicates whether the processor is enabled.
*
* @return enabled
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
import java.util.Map;
import java.util.Objects;

/** The <code>add_fields</code> processor adds static key-value fields to logs. */
/**
* The <code>add_fields</code> processor adds static key-value fields to logs.
*
* <p><strong>Supported pipeline types:</strong> logs
*/
@JsonPropertyOrder({
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_DISPLAY_NAME,
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_ENABLED,
Expand Down Expand Up @@ -97,7 +101,7 @@ public ObservabilityPipelineAddFieldsProcessor enabled(Boolean enabled) {
}

/**
* Whether this processor is enabled.
* Indicates whether the processor is enabled.
*
* @return enabled
*/
Expand Down Expand Up @@ -149,8 +153,8 @@ public ObservabilityPipelineAddFieldsProcessor id(String id) {
}

/**
* The unique identifier for this component. Used to reference this component in other parts of
* the pipeline (for example, as the <code>input</code> to downstream components).
* The unique identifier for this component. Used in other parts of the pipeline to reference this
* component (for example, as the <code>input</code> to downstream components).
*
* @return id
*/
Expand Down
Loading
Loading