@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SyntheticsApi.SearchSuitesOptionalParameters
Manage optional parameters to searchSuites.
|
| Constructor and Description |
|---|
SyntheticsApi() |
SyntheticsApi(ApiClient apiClient) |
public SyntheticsApi()
public SyntheticsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic SyntheticsSuiteResponse createSyntheticsSuite(SuiteCreateEditRequest body) throws ApiException
See createSyntheticsSuiteWithHttpInfo(com.datadog.api.client.v2.model.SuiteCreateEditRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteResponse> createSyntheticsSuiteAsync(SuiteCreateEditRequest body)
See createSyntheticsSuiteWithHttpInfoAsync(com.datadog.api.client.v2.model.SuiteCreateEditRequest).
body - (required)public ApiResponse<SyntheticsSuiteResponse> createSyntheticsSuiteWithHttpInfo(SuiteCreateEditRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> createSyntheticsSuiteWithHttpInfoAsync(SuiteCreateEditRequest body)
See createSyntheticsSuiteWithHttpInfo(com.datadog.api.client.v2.model.SuiteCreateEditRequest).
body - (required)public DeletedSuitesResponse deleteSyntheticsSuites(DeletedSuitesRequestDeleteRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DeletedSuitesResponse> deleteSyntheticsSuitesAsync(DeletedSuitesRequestDeleteRequest body)
body - (required)public ApiResponse<DeletedSuitesResponse> deleteSyntheticsSuitesWithHttpInfo(DeletedSuitesRequestDeleteRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeletedSuitesResponse>> deleteSyntheticsSuitesWithHttpInfoAsync(DeletedSuitesRequestDeleteRequest body)
body - (required)public SyntheticsSuiteResponse editSyntheticsSuite(String publicId, SuiteCreateEditRequest body) throws ApiException
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteResponse> editSyntheticsSuiteAsync(String publicId, SuiteCreateEditRequest body)
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)public ApiResponse<SyntheticsSuiteResponse> editSyntheticsSuiteWithHttpInfo(String publicId, SuiteCreateEditRequest body) throws ApiException
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> editSyntheticsSuiteWithHttpInfoAsync(String publicId, SuiteCreateEditRequest body)
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)public OnDemandConcurrencyCapResponse getOnDemandConcurrencyCap() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OnDemandConcurrencyCapResponse> getOnDemandConcurrencyCapAsync()
public ApiResponse<OnDemandConcurrencyCapResponse> getOnDemandConcurrencyCapWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>> getOnDemandConcurrencyCapWithHttpInfoAsync()
public SyntheticsSuiteResponse getSyntheticsSuite(String publicId) throws ApiException
publicId - The public ID of the suite to get details from. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteResponse> getSyntheticsSuiteAsync(String publicId)
publicId - The public ID of the suite to get details from. (required)public ApiResponse<SyntheticsSuiteResponse> getSyntheticsSuiteWithHttpInfo(String publicId) throws ApiException
publicId - The public ID of the suite to get details from. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> getSyntheticsSuiteWithHttpInfoAsync(String publicId)
publicId - The public ID of the suite to get details from. (required)public GlobalVariableResponse patchGlobalVariable(String variableId, GlobalVariableJsonPatchRequest body) throws ApiException
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)ApiException - if fails to make API callpublic CompletableFuture<GlobalVariableResponse> patchGlobalVariableAsync(String variableId, GlobalVariableJsonPatchRequest body)
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)public ApiResponse<GlobalVariableResponse> patchGlobalVariableWithHttpInfo(String variableId, GlobalVariableJsonPatchRequest body) throws ApiException
Common operations include: - Replace field values:
{"op": "replace", "path": "/name", "value": "new_name"} - Update nested values:
{"op": "replace", "path": "/value/value", "value": "new_value"} - Add/update tags:
{"op": "add", "path": "/tags/-", "value": "new_tag"} - Remove fields:
{"op": "remove", "path": "/description"}
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GlobalVariableResponse>> patchGlobalVariableWithHttpInfoAsync(String variableId, GlobalVariableJsonPatchRequest body)
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)public SyntheticsSuiteSearchResponse searchSuites() throws ApiException
See searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteSearchResponse> searchSuitesAsync()
public SyntheticsSuiteSearchResponse searchSuites(SyntheticsApi.SearchSuitesOptionalParameters parameters) throws ApiException
See searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteSearchResponse> searchSuitesAsync(SyntheticsApi.SearchSuitesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<SyntheticsSuiteSearchResponse> searchSuitesWithHttpInfo(SyntheticsApi.SearchSuitesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteSearchResponse>> searchSuitesWithHttpInfoAsync(SyntheticsApi.SearchSuitesOptionalParameters parameters)
See searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).
parameters - Optional parameters for the request.public OnDemandConcurrencyCapResponse setOnDemandConcurrencyCap(OnDemandConcurrencyCapAttributes body) throws ApiException
body - . (required)ApiException - if fails to make API callpublic CompletableFuture<OnDemandConcurrencyCapResponse> setOnDemandConcurrencyCapAsync(OnDemandConcurrencyCapAttributes body)
body - . (required)public ApiResponse<OnDemandConcurrencyCapResponse> setOnDemandConcurrencyCapWithHttpInfo(OnDemandConcurrencyCapAttributes body) throws ApiException
body - . (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>> setOnDemandConcurrencyCapWithHttpInfoAsync(OnDemandConcurrencyCapAttributes body)
body - . (required)Copyright © 2026. All rights reserved.