Class SyntheticsApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getSyntheticsBrowserTestResult.static classManage optional parameters to getSyntheticsTestResult.static classManage optional parameters to getSyntheticsTestVersion.static classManage optional parameters to listSyntheticsBrowserTestLatestResults.static classManage optional parameters to listSyntheticsDowntimes.static classManage optional parameters to listSyntheticsTestLatestResults.static classManage optional parameters to listSyntheticsTestVersions.static classManage optional parameters to searchSuites. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAbort a multipart upload of a test file.abortTestFileMultipartUploadAsync(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) Abort a multipart upload of a test file.abortTestFileMultipartUploadWithHttpInfo(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) Abort an in-progress multipart file upload for a Synthetic test.abortTestFileMultipartUploadWithHttpInfoAsync(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) Abort a multipart upload of a test file.addTestToSyntheticsDowntime(String downtimeId, String testId) Add a test to a Synthetics downtime.addTestToSyntheticsDowntimeAsync(String downtimeId, String testId) Add a test to a Synthetics downtime.addTestToSyntheticsDowntimeWithHttpInfo(String downtimeId, String testId) Associate a Synthetics test with a downtime.addTestToSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, String testId) Add a test to a Synthetics downtime.voidcompleteTestFileMultipartUpload(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) Complete a multipart upload of a test file.completeTestFileMultipartUploadAsync(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) Complete a multipart upload of a test file.completeTestFileMultipartUploadWithHttpInfo(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) Complete a multipart file upload for a Synthetic test.completeTestFileMultipartUploadWithHttpInfoAsync(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) Complete a multipart upload of a test file.Create a Synthetics downtime.Create a Synthetics downtime.Create a new Synthetics downtime.Create a Synthetics downtime.Create a Network Path test.Create a Network Path test.Create a Network Path test.Create a test suite.Create a test suite.Create a test suite.voiddeleteSyntheticsDowntime(String downtimeId) Delete a Synthetics downtime.deleteSyntheticsDowntimeAsync(String downtimeId) Delete a Synthetics downtime.deleteSyntheticsDowntimeWithHttpInfo(String downtimeId) Delete a Synthetics downtime by its ID.deleteSyntheticsDowntimeWithHttpInfoAsync(String downtimeId) Delete a Synthetics downtime.Bulk delete suites.Bulk delete suites.Bulk delete suites.Bulk delete tests.Bulk delete tests.Bulk delete tests.editSyntheticsSuite(String publicId, SuiteCreateEditRequest body) Edit a test suite.editSyntheticsSuiteAsync(String publicId, SuiteCreateEditRequest body) Edit a test suite.editSyntheticsSuiteWithHttpInfo(String publicId, SuiteCreateEditRequest body) editSyntheticsSuiteWithHttpInfoAsync(String publicId, SuiteCreateEditRequest body) Edit a test suite.Get the API client.getApiMultistepSubtestParents(String publicId) Get parent tests for a subtest.getApiMultistepSubtestParentsAsync(String publicId) Get parent tests for a subtest.Get the list of API multistep tests that include a given subtest, along with their monitor status.Get parent tests for a subtest.getApiMultistepSubtests(String publicId) Get available subtests for a multistep test.getApiMultistepSubtestsAsync(String publicId) Get available subtests for a multistep test.getApiMultistepSubtestsWithHttpInfo(String publicId) Get the list of API tests that can be added as subtests to a given API multistep test.Get available subtests for a multistep test.Get the on-demand concurrency cap.Get the on-demand concurrency cap.Get the on-demand concurrency cap.Get the on-demand concurrency cap.getSyntheticsBrowserTestResult(String publicId, String resultId) Get a browser test result.getSyntheticsBrowserTestResult(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) Get a browser test result.getSyntheticsBrowserTestResultAsync(String publicId, String resultId) Get a browser test result.getSyntheticsBrowserTestResultAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) Get a browser test result.getSyntheticsBrowserTestResultWithHttpInfo(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) Get a specific full result from a given Synthetic browser test.getSyntheticsBrowserTestResultWithHttpInfoAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) Get a browser test result.getSyntheticsDowntime(String downtimeId) Get a Synthetics downtime.getSyntheticsDowntimeAsync(String downtimeId) Get a Synthetics downtime.getSyntheticsDowntimeWithHttpInfo(String downtimeId) Get a Synthetics downtime by its ID.getSyntheticsDowntimeWithHttpInfoAsync(String downtimeId) Get a Synthetics downtime.Get a fast test result.Get a fast test result.Get a fast test result.getSyntheticsNetworkTest(String publicId) Get a Network Path test.getSyntheticsNetworkTestAsync(String publicId) Get a Network Path test.getSyntheticsNetworkTestWithHttpInfo(String publicId) Get a Network Path test.getSyntheticsSuite(String publicId) Get a suite.getSyntheticsSuiteAsync(String publicId) Get a suite.getSyntheticsSuiteWithHttpInfo(String publicId) getSyntheticsSuiteWithHttpInfoAsync(String publicId) Get a suite.getSyntheticsTestResult(String publicId, String resultId) Get a test result.getSyntheticsTestResult(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) Get a test result.getSyntheticsTestResultAsync(String publicId, String resultId) Get a test result.getSyntheticsTestResultAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) Get a test result.getSyntheticsTestResultWithHttpInfo(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) Get a specific full result from a given Synthetic test.getSyntheticsTestResultWithHttpInfoAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) Get a test result.getSyntheticsTestVersion(String publicId, Long versionNumber) Get a specific version of a test.getSyntheticsTestVersion(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) Get a specific version of a test.getSyntheticsTestVersionAsync(String publicId, Long versionNumber) Get a specific version of a test.getSyntheticsTestVersionAsync(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) Get a specific version of a test.getSyntheticsTestVersionWithHttpInfo(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) Get a specific version of a Synthetic test by its version number.getSyntheticsTestVersionWithHttpInfoAsync(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) Get a specific version of a test.getTestFileDownloadUrl(String publicId, SyntheticsTestFileDownloadRequest body) Get a presigned URL for downloading a test file.getTestFileDownloadUrlAsync(String publicId, SyntheticsTestFileDownloadRequest body) Get a presigned URL for downloading a test file.Get a presigned URL to download a file attached to a Synthetic test.Get a presigned URL for downloading a test file.getTestFileMultipartPresignedUrls(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) Get presigned URLs for uploading a test file.getTestFileMultipartPresignedUrlsAsync(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) Get presigned URLs for uploading a test file.getTestFileMultipartPresignedUrlsWithHttpInfo(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) Get presigned URLs for uploading a file to a Synthetic test using multipart upload.getTestFileMultipartPresignedUrlsWithHttpInfoAsync(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) Get presigned URLs for uploading a test file.getTestParentSuites(String publicId) Get parent suites for a test.getTestParentSuitesAsync(String publicId) Get parent suites for a test.getTestParentSuitesWithHttpInfo(String publicId) Get the list of parent suites and their status for a given Synthetic test.getTestParentSuitesWithHttpInfoAsync(String publicId) Get parent suites for a test.listSyntheticsBrowserTestLatestResults(String publicId) Get a browser test's latest results.listSyntheticsBrowserTestLatestResults(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) Get a browser test's latest results.Get a browser test's latest results.listSyntheticsBrowserTestLatestResultsAsync(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) Get a browser test's latest results.listSyntheticsBrowserTestLatestResultsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) Get the latest result summaries for a given Synthetic browser test.listSyntheticsBrowserTestLatestResultsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) Get a browser test's latest results.List Synthetics downtimes.List Synthetics downtimes.List Synthetics downtimes.List Synthetics downtimes.listSyntheticsDowntimesWithHttpInfo(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) Get a list of all Synthetics downtimes for your organization.listSyntheticsDowntimesWithHttpInfoAsync(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) List Synthetics downtimes.listSyntheticsTestLatestResults(String publicId) Get a test's latest results.listSyntheticsTestLatestResults(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) Get a test's latest results.listSyntheticsTestLatestResultsAsync(String publicId) Get a test's latest results.listSyntheticsTestLatestResultsAsync(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) Get a test's latest results.listSyntheticsTestLatestResultsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) Get the latest result summaries for a given Synthetic test.listSyntheticsTestLatestResultsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) Get a test's latest results.listSyntheticsTestVersions(String publicId) Get version history of a test.listSyntheticsTestVersions(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) Get version history of a test.listSyntheticsTestVersionsAsync(String publicId) Get version history of a test.listSyntheticsTestVersionsAsync(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) Get version history of a test.listSyntheticsTestVersionsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) Get the paginated version history for a Synthetic test.listSyntheticsTestVersionsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) Get version history of a test.patchGlobalVariable(String variableId, GlobalVariableJsonPatchRequest body) Patch a global variable.patchGlobalVariableAsync(String variableId, GlobalVariableJsonPatchRequest body) Patch a global variable.patchGlobalVariableWithHttpInfo(String variableId, GlobalVariableJsonPatchRequest body) Patch a global variable using JSON Patch (RFC 6902).patchGlobalVariableWithHttpInfoAsync(String variableId, GlobalVariableJsonPatchRequest body) Patch a global variable.patchTestSuite(String publicId, SuiteJsonPatchRequest body) Patch a test suite.patchTestSuiteAsync(String publicId, SuiteJsonPatchRequest body) Patch a test suite.patchTestSuiteWithHttpInfo(String publicId, SuiteJsonPatchRequest body) Patch a Synthetic test suite using JSON Patch (RFC 6902).patchTestSuiteWithHttpInfoAsync(String publicId, SuiteJsonPatchRequest body) Patch a test suite.pollSyntheticsTestResults(String resultIds) Poll for test results.pollSyntheticsTestResultsAsync(String resultIds) Poll for test results.pollSyntheticsTestResultsWithHttpInfo(String resultIds) Poll for test results given a list of result IDs.pollSyntheticsTestResultsWithHttpInfoAsync(String resultIds) Poll for test results.removeTestFromSyntheticsDowntime(String downtimeId, String testId) Remove a test from a Synthetics downtime.removeTestFromSyntheticsDowntimeAsync(String downtimeId, String testId) Remove a test from a Synthetics downtime.removeTestFromSyntheticsDowntimeWithHttpInfo(String downtimeId, String testId) Disassociate a Synthetics test from a downtime.removeTestFromSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, String testId) Remove a test from a Synthetics downtime.Search test suites.Search test suites.Search test suites.Search test suites.Search for test suites.Search test suites.voidsetApiClient(ApiClient apiClient) Set the API client.Save new value for on-demand concurrency cap.Save new value for on-demand concurrency cap.Save new value for on-demand concurrency cap.Save new value for on-demand concurrency cap.updateSyntheticsDowntime(String downtimeId, SyntheticsDowntimeRequest body) Update a Synthetics downtime.updateSyntheticsDowntimeAsync(String downtimeId, SyntheticsDowntimeRequest body) Update a Synthetics downtime.updateSyntheticsDowntimeWithHttpInfo(String downtimeId, SyntheticsDowntimeRequest body) Update a Synthetics downtime by its ID.updateSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, SyntheticsDowntimeRequest body) Update a Synthetics downtime.updateSyntheticsNetworkTest(String publicId, SyntheticsNetworkTestEditRequest body) Edit a Network Path test.updateSyntheticsNetworkTestAsync(String publicId, SyntheticsNetworkTestEditRequest body) Edit a Network Path test.updateSyntheticsNetworkTestWithHttpInfoAsync(String publicId, SyntheticsNetworkTestEditRequest body) Edit a Network Path test.
-
Constructor Details
-
SyntheticsApi
public SyntheticsApi() -
SyntheticsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
abortTestFileMultipartUpload
public void abortTestFileMultipartUpload(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) throws ApiException Abort a multipart upload of a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
abortTestFileMultipartUploadAsync
public CompletableFuture<Void> abortTestFileMultipartUploadAsync(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) Abort a multipart upload of a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture
-
abortTestFileMultipartUploadWithHttpInfo
public ApiResponse<Void> abortTestFileMultipartUploadWithHttpInfo(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) throws ApiException Abort an in-progress multipart file upload for a Synthetic test. This cancels the upload and releases any storage used by already-uploaded parts.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 API error response. - 403 Forbidden. - 404 API error response. - 429 Too many requests -
-
abortTestFileMultipartUploadWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> abortTestFileMultipartUploadWithHttpInfoAsync(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) Abort a multipart upload of a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
addTestToSyntheticsDowntime
public SyntheticsDowntimeResponse addTestToSyntheticsDowntime(String downtimeId, String testId) throws ApiException Add a test to a Synthetics downtime.See
addTestToSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to associate with the downtime. (required)- Returns:
- SyntheticsDowntimeResponse
- Throws:
ApiException- if fails to make API call
-
addTestToSyntheticsDowntimeAsync
public CompletableFuture<SyntheticsDowntimeResponse> addTestToSyntheticsDowntimeAsync(String downtimeId, String testId) Add a test to a Synthetics downtime.See
addTestToSyntheticsDowntimeWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to associate with the downtime. (required)- Returns:
- CompletableFuture<SyntheticsDowntimeResponse>
-
addTestToSyntheticsDowntimeWithHttpInfo
public ApiResponse<SyntheticsDowntimeResponse> addTestToSyntheticsDowntimeWithHttpInfo(String downtimeId, String testId) throws ApiException Associate a Synthetics test with a downtime.- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to associate with the downtime. (required)- Returns:
- ApiResponse<SyntheticsDowntimeResponse>
- 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 - 404 Not Found - 429 Too many requests -
-
addTestToSyntheticsDowntimeWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> addTestToSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, String testId) Add a test to a Synthetics downtime.See
addTestToSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to associate with the downtime. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>>
-
completeTestFileMultipartUpload
public void completeTestFileMultipartUpload(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) throws ApiException Complete a multipart upload of a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
completeTestFileMultipartUploadAsync
public CompletableFuture<Void> completeTestFileMultipartUploadAsync(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) Complete a multipart upload of a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture
-
completeTestFileMultipartUploadWithHttpInfo
public ApiResponse<Void> completeTestFileMultipartUploadWithHttpInfo(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) throws ApiException Complete a multipart file upload for a Synthetic test. Call this endpoint after all parts have been uploaded using the presigned URLs obtained from the multipart presigned URLs endpoint.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 API error response. - 403 Forbidden. - 404 API error response. - 429 Too many requests -
-
completeTestFileMultipartUploadWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> completeTestFileMultipartUploadWithHttpInfoAsync(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) Complete a multipart upload of a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
createSyntheticsDowntime
public SyntheticsDowntimeResponse createSyntheticsDowntime(SyntheticsDowntimeRequest body) throws ApiException Create a Synthetics downtime.See
createSyntheticsDowntimeWithHttpInfo(com.datadog.api.client.v2.model.SyntheticsDowntimeRequest).- Parameters:
body- (required)- Returns:
- SyntheticsDowntimeResponse
- Throws:
ApiException- if fails to make API call
-
createSyntheticsDowntimeAsync
public CompletableFuture<SyntheticsDowntimeResponse> createSyntheticsDowntimeAsync(SyntheticsDowntimeRequest body) Create a Synthetics downtime.See
createSyntheticsDowntimeWithHttpInfoAsync(com.datadog.api.client.v2.model.SyntheticsDowntimeRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<SyntheticsDowntimeResponse>
-
createSyntheticsDowntimeWithHttpInfo
public ApiResponse<SyntheticsDowntimeResponse> createSyntheticsDowntimeWithHttpInfo(SyntheticsDowntimeRequest body) throws ApiException Create a new Synthetics downtime.- Parameters:
body- (required)- Returns:
- ApiResponse<SyntheticsDowntimeResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
createSyntheticsDowntimeWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> createSyntheticsDowntimeWithHttpInfoAsync(SyntheticsDowntimeRequest body) Create a Synthetics downtime.See
createSyntheticsDowntimeWithHttpInfo(com.datadog.api.client.v2.model.SyntheticsDowntimeRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>>
-
createSyntheticsNetworkTest
public SyntheticsNetworkTestResponse createSyntheticsNetworkTest(SyntheticsNetworkTestEditRequest body) throws ApiException Create a Network Path test.- Parameters:
body- (required)- Returns:
- SyntheticsNetworkTestResponse
- Throws:
ApiException- if fails to make API call
-
createSyntheticsNetworkTestAsync
public CompletableFuture<SyntheticsNetworkTestResponse> createSyntheticsNetworkTestAsync(SyntheticsNetworkTestEditRequest body) Create a Network Path test.- Parameters:
body- (required)- Returns:
- CompletableFuture<SyntheticsNetworkTestResponse>
-
createSyntheticsNetworkTestWithHttpInfo
public ApiResponse<SyntheticsNetworkTestResponse> createSyntheticsNetworkTestWithHttpInfo(SyntheticsNetworkTestEditRequest body) throws ApiException - Parameters:
body- (required)- Returns:
- ApiResponse<SyntheticsNetworkTestResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 429 Too many requests -
-
createSyntheticsNetworkTestWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>> createSyntheticsNetworkTestWithHttpInfoAsync(SyntheticsNetworkTestEditRequest body) Create a Network Path test.- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>>
-
createSyntheticsSuite
public SyntheticsSuiteResponse createSyntheticsSuite(SuiteCreateEditRequest body) throws ApiException Create a test suite.See
createSyntheticsSuiteWithHttpInfo(com.datadog.api.client.v2.model.SuiteCreateEditRequest).- Parameters:
body- (required)- Returns:
- SyntheticsSuiteResponse
- Throws:
ApiException- if fails to make API call
-
createSyntheticsSuiteAsync
public CompletableFuture<SyntheticsSuiteResponse> createSyntheticsSuiteAsync(SuiteCreateEditRequest body) Create a test suite.See
createSyntheticsSuiteWithHttpInfoAsync(com.datadog.api.client.v2.model.SuiteCreateEditRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<SyntheticsSuiteResponse>
-
createSyntheticsSuiteWithHttpInfo
public ApiResponse<SyntheticsSuiteResponse> createSyntheticsSuiteWithHttpInfo(SuiteCreateEditRequest body) throws ApiException - Parameters:
body- (required)- Returns:
- ApiResponse<SyntheticsSuiteResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 429 Too many requests -
-
createSyntheticsSuiteWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> createSyntheticsSuiteWithHttpInfoAsync(SuiteCreateEditRequest body) Create a test suite.See
createSyntheticsSuiteWithHttpInfo(com.datadog.api.client.v2.model.SuiteCreateEditRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsSuiteResponse>>
-
deleteSyntheticsDowntime
Delete a Synthetics downtime.- Parameters:
downtimeId- The ID of the downtime to delete. (required)- Throws:
ApiException- if fails to make API call
-
deleteSyntheticsDowntimeAsync
Delete a Synthetics downtime.See
deleteSyntheticsDowntimeWithHttpInfoAsync(java.lang.String).- Parameters:
downtimeId- The ID of the downtime to delete. (required)- Returns:
- CompletableFuture
-
deleteSyntheticsDowntimeWithHttpInfo
public ApiResponse<Void> deleteSyntheticsDowntimeWithHttpInfo(String downtimeId) throws ApiException Delete a Synthetics downtime by its ID.- Parameters:
downtimeId- The ID of the downtime to delete. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteSyntheticsDowntimeWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteSyntheticsDowntimeWithHttpInfoAsync(String downtimeId) Delete a Synthetics downtime.- Parameters:
downtimeId- The ID of the downtime to delete. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteSyntheticsSuites
public DeletedSuitesResponse deleteSyntheticsSuites(DeletedSuitesRequestDeleteRequest body) throws ApiException Bulk delete suites.- Parameters:
body- (required)- Returns:
- DeletedSuitesResponse
- Throws:
ApiException- if fails to make API call
-
deleteSyntheticsSuitesAsync
public CompletableFuture<DeletedSuitesResponse> deleteSyntheticsSuitesAsync(DeletedSuitesRequestDeleteRequest body) Bulk delete suites.- Parameters:
body- (required)- Returns:
- CompletableFuture<DeletedSuitesResponse>
-
deleteSyntheticsSuitesWithHttpInfo
public ApiResponse<DeletedSuitesResponse> deleteSyntheticsSuitesWithHttpInfo(DeletedSuitesRequestDeleteRequest body) throws ApiException - Parameters:
body- (required)- Returns:
- ApiResponse<DeletedSuitesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 429 Too many requests -
-
deleteSyntheticsSuitesWithHttpInfoAsync
public CompletableFuture<ApiResponse<DeletedSuitesResponse>> deleteSyntheticsSuitesWithHttpInfoAsync(DeletedSuitesRequestDeleteRequest body) Bulk delete suites.- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<DeletedSuitesResponse>>
-
deleteSyntheticsTests
public DeletedTestsResponse deleteSyntheticsTests(DeletedTestsRequestDeleteRequest body) throws ApiException Bulk delete tests.See
deleteSyntheticsTestsWithHttpInfo(com.datadog.api.client.v2.model.DeletedTestsRequestDeleteRequest).- Parameters:
body- (required)- Returns:
- DeletedTestsResponse
- Throws:
ApiException- if fails to make API call
-
deleteSyntheticsTestsAsync
public CompletableFuture<DeletedTestsResponse> deleteSyntheticsTestsAsync(DeletedTestsRequestDeleteRequest body) Bulk delete tests.- Parameters:
body- (required)- Returns:
- CompletableFuture<DeletedTestsResponse>
-
deleteSyntheticsTestsWithHttpInfo
public ApiResponse<DeletedTestsResponse> deleteSyntheticsTestsWithHttpInfo(DeletedTestsRequestDeleteRequest body) throws ApiException - Parameters:
body- (required)- Returns:
- ApiResponse<DeletedTestsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
deleteSyntheticsTestsWithHttpInfoAsync
public CompletableFuture<ApiResponse<DeletedTestsResponse>> deleteSyntheticsTestsWithHttpInfoAsync(DeletedTestsRequestDeleteRequest body) Bulk delete tests.See
deleteSyntheticsTestsWithHttpInfo(com.datadog.api.client.v2.model.DeletedTestsRequestDeleteRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<DeletedTestsResponse>>
-
editSyntheticsSuite
public SyntheticsSuiteResponse editSyntheticsSuite(String publicId, SuiteCreateEditRequest body) throws ApiException Edit a test suite.- Parameters:
publicId- The public ID of the suite to edit. (required)body- New suite details to be saved. (required)- Returns:
- SyntheticsSuiteResponse
- Throws:
ApiException- if fails to make API call
-
editSyntheticsSuiteAsync
public CompletableFuture<SyntheticsSuiteResponse> editSyntheticsSuiteAsync(String publicId, SuiteCreateEditRequest body) Edit a test suite.- Parameters:
publicId- The public ID of the suite to edit. (required)body- New suite details to be saved. (required)- Returns:
- CompletableFuture<SyntheticsSuiteResponse>
-
editSyntheticsSuiteWithHttpInfo
public ApiResponse<SyntheticsSuiteResponse> editSyntheticsSuiteWithHttpInfo(String publicId, SuiteCreateEditRequest body) throws ApiException - Parameters:
publicId- The public ID of the suite to edit. (required)body- New suite details to be saved. (required)- Returns:
- ApiResponse<SyntheticsSuiteResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 429 Too many requests -
-
editSyntheticsSuiteWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> editSyntheticsSuiteWithHttpInfoAsync(String publicId, SuiteCreateEditRequest body) Edit a test suite.- Parameters:
publicId- The public ID of the suite to edit. (required)body- New suite details to be saved. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsSuiteResponse>>
-
getApiMultistepSubtestParents
public SyntheticsApiMultistepParentTestsResponse getApiMultistepSubtestParents(String publicId) throws ApiException Get parent tests for a subtest.See
getApiMultistepSubtestParentsWithHttpInfo(java.lang.String).- Parameters:
publicId- The public ID of the subtest. (required)- Returns:
- SyntheticsApiMultistepParentTestsResponse
- Throws:
ApiException- if fails to make API call
-
getApiMultistepSubtestParentsAsync
public CompletableFuture<SyntheticsApiMultistepParentTestsResponse> getApiMultistepSubtestParentsAsync(String publicId) Get parent tests for a subtest.See
getApiMultistepSubtestParentsWithHttpInfoAsync(java.lang.String).- Parameters:
publicId- The public ID of the subtest. (required)- Returns:
- CompletableFuture<SyntheticsApiMultistepParentTestsResponse>
-
getApiMultistepSubtestParentsWithHttpInfo
public ApiResponse<SyntheticsApiMultistepParentTestsResponse> getApiMultistepSubtestParentsWithHttpInfo(String publicId) throws ApiException Get the list of API multistep tests that include a given subtest, along with their monitor status.- Parameters:
publicId- The public ID of the subtest. (required)- Returns:
- ApiResponse<SyntheticsApiMultistepParentTestsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 404 API error response. - 429 Too many requests -
-
getApiMultistepSubtestParentsWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsApiMultistepParentTestsResponse>> getApiMultistepSubtestParentsWithHttpInfoAsync(String publicId) Get parent tests for a subtest.See
getApiMultistepSubtestParentsWithHttpInfo(java.lang.String).- Parameters:
publicId- The public ID of the subtest. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsApiMultistepParentTestsResponse>>
-
getApiMultistepSubtests
public SyntheticsApiMultistepSubtestsResponse getApiMultistepSubtests(String publicId) throws ApiException Get available subtests for a multistep test.- Parameters:
publicId- The public ID of the API multistep test. (required)- Returns:
- SyntheticsApiMultistepSubtestsResponse
- Throws:
ApiException- if fails to make API call
-
getApiMultistepSubtestsAsync
public CompletableFuture<SyntheticsApiMultistepSubtestsResponse> getApiMultistepSubtestsAsync(String publicId) Get available subtests for a multistep test.See
getApiMultistepSubtestsWithHttpInfoAsync(java.lang.String).- Parameters:
publicId- The public ID of the API multistep test. (required)- Returns:
- CompletableFuture<SyntheticsApiMultistepSubtestsResponse>
-
getApiMultistepSubtestsWithHttpInfo
public ApiResponse<SyntheticsApiMultistepSubtestsResponse> getApiMultistepSubtestsWithHttpInfo(String publicId) throws ApiException Get the list of API tests that can be added as subtests to a given API multistep test. The current test is excluded from the list since a test cannot be a subtest of itself.- Parameters:
publicId- The public ID of the API multistep test. (required)- Returns:
- ApiResponse<SyntheticsApiMultistepSubtestsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
getApiMultistepSubtestsWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsApiMultistepSubtestsResponse>> getApiMultistepSubtestsWithHttpInfoAsync(String publicId) Get available subtests for a multistep test.- Parameters:
publicId- The public ID of the API multistep test. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsApiMultistepSubtestsResponse>>
-
getOnDemandConcurrencyCap
Get the on-demand concurrency cap.- Returns:
- OnDemandConcurrencyCapResponse
- Throws:
ApiException- if fails to make API call
-
getOnDemandConcurrencyCapAsync
Get the on-demand concurrency cap.- Returns:
- CompletableFuture<OnDemandConcurrencyCapResponse>
-
getOnDemandConcurrencyCapWithHttpInfo
public ApiResponse<OnDemandConcurrencyCapResponse> getOnDemandConcurrencyCapWithHttpInfo() throws ApiExceptionGet the on-demand concurrency cap.- Returns:
- ApiResponse<OnDemandConcurrencyCapResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
getOnDemandConcurrencyCapWithHttpInfoAsync
public CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>> getOnDemandConcurrencyCapWithHttpInfoAsync()Get the on-demand concurrency cap.- Returns:
- CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>>
-
getSyntheticsBrowserTestResult
public SyntheticsTestResultResponse getSyntheticsBrowserTestResult(String publicId, String resultId) throws ApiException Get a browser test result.- Parameters:
publicId- The public ID of the Synthetic browser test to which the target result belongs. (required)resultId- The ID of the result to get. (required)- Returns:
- SyntheticsTestResultResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsBrowserTestResultAsync
public CompletableFuture<SyntheticsTestResultResponse> getSyntheticsBrowserTestResultAsync(String publicId, String resultId) Get a browser test result.- Parameters:
publicId- The public ID of the Synthetic browser test to which the target result belongs. (required)resultId- The ID of the result to get. (required)- Returns:
- CompletableFuture<SyntheticsTestResultResponse>
-
getSyntheticsBrowserTestResult
public SyntheticsTestResultResponse getSyntheticsBrowserTestResult(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) throws ApiException Get a browser test result.- Parameters:
publicId- The public ID of the Synthetic browser test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- SyntheticsTestResultResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsBrowserTestResultAsync
public CompletableFuture<SyntheticsTestResultResponse> getSyntheticsBrowserTestResultAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) Get a browser test result.- Parameters:
publicId- The public ID of the Synthetic browser test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsTestResultResponse>
-
getSyntheticsBrowserTestResultWithHttpInfo
public ApiResponse<SyntheticsTestResultResponse> getSyntheticsBrowserTestResultWithHttpInfo(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) throws ApiException Get a specific full result from a given Synthetic browser test.- Parameters:
publicId- The public ID of the Synthetic browser test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsTestResultResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
getSyntheticsBrowserTestResultWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestResultResponse>> getSyntheticsBrowserTestResultWithHttpInfoAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) Get a browser test result.- Parameters:
publicId- The public ID of the Synthetic browser test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestResultResponse>>
-
getSyntheticsDowntime
Get a Synthetics downtime.- Parameters:
downtimeId- The ID of the downtime to retrieve. (required)- Returns:
- SyntheticsDowntimeResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsDowntimeAsync
Get a Synthetics downtime.See
getSyntheticsDowntimeWithHttpInfoAsync(java.lang.String).- Parameters:
downtimeId- The ID of the downtime to retrieve. (required)- Returns:
- CompletableFuture<SyntheticsDowntimeResponse>
-
getSyntheticsDowntimeWithHttpInfo
public ApiResponse<SyntheticsDowntimeResponse> getSyntheticsDowntimeWithHttpInfo(String downtimeId) throws ApiException Get a Synthetics downtime by its ID.- Parameters:
downtimeId- The ID of the downtime to retrieve. (required)- Returns:
- ApiResponse<SyntheticsDowntimeResponse>
- 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 - 404 Not Found - 429 Too many requests -
-
getSyntheticsDowntimeWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> getSyntheticsDowntimeWithHttpInfoAsync(String downtimeId) Get a Synthetics downtime.- Parameters:
downtimeId- The ID of the downtime to retrieve. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>>
-
getSyntheticsFastTestResult
Get a fast test result.See
getSyntheticsFastTestResultWithHttpInfo(java.lang.String).- Parameters:
id- The UUID of the fast test to retrieve the result for. (required)- Returns:
- SyntheticsFastTestResult
- Throws:
ApiException- if fails to make API call
-
getSyntheticsFastTestResultAsync
Get a fast test result.See
getSyntheticsFastTestResultWithHttpInfoAsync(java.lang.String).- Parameters:
id- The UUID of the fast test to retrieve the result for. (required)- Returns:
- CompletableFuture<SyntheticsFastTestResult>
-
getSyntheticsFastTestResultWithHttpInfo
public ApiResponse<SyntheticsFastTestResult> getSyntheticsFastTestResultWithHttpInfo(String id) throws ApiException - Parameters:
id- The UUID of the fast test to retrieve the result for. (required)- Returns:
- ApiResponse<SyntheticsFastTestResult>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
getSyntheticsFastTestResultWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsFastTestResult>> getSyntheticsFastTestResultWithHttpInfoAsync(String id) Get a fast test result.See
getSyntheticsFastTestResultWithHttpInfo(java.lang.String).- Parameters:
id- The UUID of the fast test to retrieve the result for. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsFastTestResult>>
-
getSyntheticsNetworkTest
Get a Network Path test.- Parameters:
publicId- The public ID of the Network Path test to get details from. (required)- Returns:
- SyntheticsNetworkTestResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsNetworkTestAsync
public CompletableFuture<SyntheticsNetworkTestResponse> getSyntheticsNetworkTestAsync(String publicId) Get a Network Path test.See
getSyntheticsNetworkTestWithHttpInfoAsync(java.lang.String).- Parameters:
publicId- The public ID of the Network Path test to get details from. (required)- Returns:
- CompletableFuture<SyntheticsNetworkTestResponse>
-
getSyntheticsNetworkTestWithHttpInfo
public ApiResponse<SyntheticsNetworkTestResponse> getSyntheticsNetworkTestWithHttpInfo(String publicId) throws ApiException - Parameters:
publicId- The public ID of the Network Path test to get details from. (required)- Returns:
- ApiResponse<SyntheticsNetworkTestResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
getSyntheticsNetworkTestWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>> getSyntheticsNetworkTestWithHttpInfoAsync(String publicId) Get a Network Path test.- Parameters:
publicId- The public ID of the Network Path test to get details from. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>>
-
getSyntheticsSuite
Get a suite.- Parameters:
publicId- The public ID of the suite to get details from. (required)- Returns:
- SyntheticsSuiteResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsSuiteAsync
Get a suite.- Parameters:
publicId- The public ID of the suite to get details from. (required)- Returns:
- CompletableFuture<SyntheticsSuiteResponse>
-
getSyntheticsSuiteWithHttpInfo
public ApiResponse<SyntheticsSuiteResponse> getSyntheticsSuiteWithHttpInfo(String publicId) throws ApiException - Parameters:
publicId- The public ID of the suite to get details from. (required)- Returns:
- ApiResponse<SyntheticsSuiteResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 404 API error response. - 429 Too many requests -
-
getSyntheticsSuiteWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> getSyntheticsSuiteWithHttpInfoAsync(String publicId) Get a suite.- Parameters:
publicId- The public ID of the suite to get details from. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsSuiteResponse>>
-
getSyntheticsTestResult
public SyntheticsTestResultResponse getSyntheticsTestResult(String publicId, String resultId) throws ApiException Get a test result.- Parameters:
publicId- The public ID of the Synthetic test to which the target result belongs. (required)resultId- The ID of the result to get. (required)- Returns:
- SyntheticsTestResultResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsTestResultAsync
public CompletableFuture<SyntheticsTestResultResponse> getSyntheticsTestResultAsync(String publicId, String resultId) Get a test result.- Parameters:
publicId- The public ID of the Synthetic test to which the target result belongs. (required)resultId- The ID of the result to get. (required)- Returns:
- CompletableFuture<SyntheticsTestResultResponse>
-
getSyntheticsTestResult
public SyntheticsTestResultResponse getSyntheticsTestResult(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) throws ApiException Get a test result.- Parameters:
publicId- The public ID of the Synthetic test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- SyntheticsTestResultResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsTestResultAsync
public CompletableFuture<SyntheticsTestResultResponse> getSyntheticsTestResultAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) Get a test result.- Parameters:
publicId- The public ID of the Synthetic test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsTestResultResponse>
-
getSyntheticsTestResultWithHttpInfo
public ApiResponse<SyntheticsTestResultResponse> getSyntheticsTestResultWithHttpInfo(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) throws ApiException Get a specific full result from a given Synthetic test.- Parameters:
publicId- The public ID of the Synthetic test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsTestResultResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
getSyntheticsTestResultWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestResultResponse>> getSyntheticsTestResultWithHttpInfoAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) Get a test result.- Parameters:
publicId- The public ID of the Synthetic test to which the target result belongs. (required)resultId- The ID of the result to get. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestResultResponse>>
-
getSyntheticsTestVersion
public SyntheticsTestVersionResponse getSyntheticsTestVersion(String publicId, Long versionNumber) throws ApiException Get a specific version of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)versionNumber- The version number to retrieve. (required)- Returns:
- SyntheticsTestVersionResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsTestVersionAsync
public CompletableFuture<SyntheticsTestVersionResponse> getSyntheticsTestVersionAsync(String publicId, Long versionNumber) Get a specific version of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)versionNumber- The version number to retrieve. (required)- Returns:
- CompletableFuture<SyntheticsTestVersionResponse>
-
getSyntheticsTestVersion
public SyntheticsTestVersionResponse getSyntheticsTestVersion(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) throws ApiException Get a specific version of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)versionNumber- The version number to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- SyntheticsTestVersionResponse
- Throws:
ApiException- if fails to make API call
-
getSyntheticsTestVersionAsync
public CompletableFuture<SyntheticsTestVersionResponse> getSyntheticsTestVersionAsync(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) Get a specific version of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)versionNumber- The version number to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsTestVersionResponse>
-
getSyntheticsTestVersionWithHttpInfo
public ApiResponse<SyntheticsTestVersionResponse> getSyntheticsTestVersionWithHttpInfo(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) throws ApiException Get a specific version of a Synthetic test by its version number.- Parameters:
publicId- The public ID of the Synthetic test. (required)versionNumber- The version number to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsTestVersionResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 404 API error response. - 429 Too many requests -
-
getSyntheticsTestVersionWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestVersionResponse>> getSyntheticsTestVersionWithHttpInfoAsync(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) Get a specific version of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)versionNumber- The version number to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestVersionResponse>>
-
getTestFileDownloadUrl
public SyntheticsTestFileDownloadResponse getTestFileDownloadUrl(String publicId, SyntheticsTestFileDownloadRequest body) throws ApiException Get a presigned URL for downloading a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- SyntheticsTestFileDownloadResponse
- Throws:
ApiException- if fails to make API call
-
getTestFileDownloadUrlAsync
public CompletableFuture<SyntheticsTestFileDownloadResponse> getTestFileDownloadUrlAsync(String publicId, SyntheticsTestFileDownloadRequest body) Get a presigned URL for downloading a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture<SyntheticsTestFileDownloadResponse>
-
getTestFileDownloadUrlWithHttpInfo
public ApiResponse<SyntheticsTestFileDownloadResponse> getTestFileDownloadUrlWithHttpInfo(String publicId, SyntheticsTestFileDownloadRequest body) throws ApiException Get a presigned URL to download a file attached to a Synthetic test. The returned URL is temporary and expires after a short period.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- ApiResponse<SyntheticsTestFileDownloadResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 403 Forbidden. - 404 API error response. - 429 Too many requests -
-
getTestFileDownloadUrlWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestFileDownloadResponse>> getTestFileDownloadUrlWithHttpInfoAsync(String publicId, SyntheticsTestFileDownloadRequest body) Get a presigned URL for downloading a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestFileDownloadResponse>>
-
getTestFileMultipartPresignedUrls
public SyntheticsTestFileMultipartPresignedUrlsResponse getTestFileMultipartPresignedUrls(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) throws ApiException Get presigned URLs for uploading a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- SyntheticsTestFileMultipartPresignedUrlsResponse
- Throws:
ApiException- if fails to make API call
-
getTestFileMultipartPresignedUrlsAsync
public CompletableFuture<SyntheticsTestFileMultipartPresignedUrlsResponse> getTestFileMultipartPresignedUrlsAsync(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) Get presigned URLs for uploading a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture<SyntheticsTestFileMultipartPresignedUrlsResponse>
-
getTestFileMultipartPresignedUrlsWithHttpInfo
public ApiResponse<SyntheticsTestFileMultipartPresignedUrlsResponse> getTestFileMultipartPresignedUrlsWithHttpInfo(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) throws ApiException Get presigned URLs for uploading a file to a Synthetic test using multipart upload. Returns the presigned URLs for each part along with the bucket key that references the file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- ApiResponse<SyntheticsTestFileMultipartPresignedUrlsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 403 Forbidden. - 404 API error response. - 429 Too many requests -
-
getTestFileMultipartPresignedUrlsWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestFileMultipartPresignedUrlsResponse>> getTestFileMultipartPresignedUrlsWithHttpInfoAsync(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) Get presigned URLs for uploading a test file.- Parameters:
publicId- The public ID of the Synthetic test. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestFileMultipartPresignedUrlsResponse>>
-
getTestParentSuites
Get parent suites for a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)- Returns:
- SyntheticsTestParentSuitesResponse
- Throws:
ApiException- if fails to make API call
-
getTestParentSuitesAsync
public CompletableFuture<SyntheticsTestParentSuitesResponse> getTestParentSuitesAsync(String publicId) Get parent suites for a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)- Returns:
- CompletableFuture<SyntheticsTestParentSuitesResponse>
-
getTestParentSuitesWithHttpInfo
public ApiResponse<SyntheticsTestParentSuitesResponse> getTestParentSuitesWithHttpInfo(String publicId) throws ApiException Get the list of parent suites and their status for a given Synthetic test.- Parameters:
publicId- The public ID of the Synthetic test. (required)- Returns:
- ApiResponse<SyntheticsTestParentSuitesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 404 API error response. - 429 Too many requests -
-
getTestParentSuitesWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestParentSuitesResponse>> getTestParentSuitesWithHttpInfoAsync(String publicId) Get parent suites for a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestParentSuitesResponse>>
-
listSyntheticsBrowserTestLatestResults
public SyntheticsTestLatestResultsResponse listSyntheticsBrowserTestLatestResults(String publicId) throws ApiException Get a browser test's latest results.- Parameters:
publicId- The public ID of the Synthetic browser test for which to search results. (required)- Returns:
- SyntheticsTestLatestResultsResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsBrowserTestLatestResultsAsync
public CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsBrowserTestLatestResultsAsync(String publicId) Get a browser test's latest results.- Parameters:
publicId- The public ID of the Synthetic browser test for which to search results. (required)- Returns:
- CompletableFuture<SyntheticsTestLatestResultsResponse>
-
listSyntheticsBrowserTestLatestResults
public SyntheticsTestLatestResultsResponse listSyntheticsBrowserTestLatestResults(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) throws ApiException Get a browser test's latest results.- Parameters:
publicId- The public ID of the Synthetic browser test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- SyntheticsTestLatestResultsResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsBrowserTestLatestResultsAsync
public CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsBrowserTestLatestResultsAsync(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) Get a browser test's latest results.- Parameters:
publicId- The public ID of the Synthetic browser test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsTestLatestResultsResponse>
-
listSyntheticsBrowserTestLatestResultsWithHttpInfo
public ApiResponse<SyntheticsTestLatestResultsResponse> listSyntheticsBrowserTestLatestResultsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) throws ApiException Get the latest result summaries for a given Synthetic browser test.- Parameters:
publicId- The public ID of the Synthetic browser test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsTestLatestResultsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
listSyntheticsBrowserTestLatestResultsWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestLatestResultsResponse>> listSyntheticsBrowserTestLatestResultsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) Get a browser test's latest results.- Parameters:
publicId- The public ID of the Synthetic browser test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestLatestResultsResponse>>
-
listSyntheticsDowntimes
List Synthetics downtimes.- Returns:
- SyntheticsDowntimesResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsDowntimesAsync
List Synthetics downtimes.- Returns:
- CompletableFuture<SyntheticsDowntimesResponse>
-
listSyntheticsDowntimes
public SyntheticsDowntimesResponse listSyntheticsDowntimes(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) throws ApiException List Synthetics downtimes.- Parameters:
parameters- Optional parameters for the request.- Returns:
- SyntheticsDowntimesResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsDowntimesAsync
public CompletableFuture<SyntheticsDowntimesResponse> listSyntheticsDowntimesAsync(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) List Synthetics downtimes.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsDowntimesResponse>
-
listSyntheticsDowntimesWithHttpInfo
public ApiResponse<SyntheticsDowntimesResponse> listSyntheticsDowntimesWithHttpInfo(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) throws ApiException Get a list of all Synthetics downtimes for your organization.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsDowntimesResponse>
- 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 -
-
listSyntheticsDowntimesWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsDowntimesResponse>> listSyntheticsDowntimesWithHttpInfoAsync(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) List Synthetics downtimes.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsDowntimesResponse>>
-
listSyntheticsTestLatestResults
public SyntheticsTestLatestResultsResponse listSyntheticsTestLatestResults(String publicId) throws ApiException Get a test's latest results.- Parameters:
publicId- The public ID of the Synthetic test for which to search results. (required)- Returns:
- SyntheticsTestLatestResultsResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsTestLatestResultsAsync
public CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsTestLatestResultsAsync(String publicId) Get a test's latest results.- Parameters:
publicId- The public ID of the Synthetic test for which to search results. (required)- Returns:
- CompletableFuture<SyntheticsTestLatestResultsResponse>
-
listSyntheticsTestLatestResults
public SyntheticsTestLatestResultsResponse listSyntheticsTestLatestResults(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) throws ApiException Get a test's latest results.- Parameters:
publicId- The public ID of the Synthetic test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- SyntheticsTestLatestResultsResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsTestLatestResultsAsync
public CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsTestLatestResultsAsync(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) Get a test's latest results.- Parameters:
publicId- The public ID of the Synthetic test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsTestLatestResultsResponse>
-
listSyntheticsTestLatestResultsWithHttpInfo
public ApiResponse<SyntheticsTestLatestResultsResponse> listSyntheticsTestLatestResultsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) throws ApiException Get the latest result summaries for a given Synthetic test.- Parameters:
publicId- The public ID of the Synthetic test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsTestLatestResultsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
listSyntheticsTestLatestResultsWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestLatestResultsResponse>> listSyntheticsTestLatestResultsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) Get a test's latest results.- Parameters:
publicId- The public ID of the Synthetic test for which to search results. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestLatestResultsResponse>>
-
listSyntheticsTestVersions
public SyntheticsTestVersionHistoryResponse listSyntheticsTestVersions(String publicId) throws ApiException Get version history of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)- Returns:
- SyntheticsTestVersionHistoryResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsTestVersionsAsync
public CompletableFuture<SyntheticsTestVersionHistoryResponse> listSyntheticsTestVersionsAsync(String publicId) Get version history of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)- Returns:
- CompletableFuture<SyntheticsTestVersionHistoryResponse>
-
listSyntheticsTestVersions
public SyntheticsTestVersionHistoryResponse listSyntheticsTestVersions(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) throws ApiException Get version history of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)parameters- Optional parameters for the request.- Returns:
- SyntheticsTestVersionHistoryResponse
- Throws:
ApiException- if fails to make API call
-
listSyntheticsTestVersionsAsync
public CompletableFuture<SyntheticsTestVersionHistoryResponse> listSyntheticsTestVersionsAsync(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) Get version history of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsTestVersionHistoryResponse>
-
listSyntheticsTestVersionsWithHttpInfo
public ApiResponse<SyntheticsTestVersionHistoryResponse> listSyntheticsTestVersionsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) throws ApiException Get the paginated version history for a Synthetic test.- Parameters:
publicId- The public ID of the Synthetic test. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsTestVersionHistoryResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 API error response. - 404 API error response. - 429 Too many requests -
-
listSyntheticsTestVersionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsTestVersionHistoryResponse>> listSyntheticsTestVersionsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) Get version history of a test.- Parameters:
publicId- The public ID of the Synthetic test. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsTestVersionHistoryResponse>>
-
patchGlobalVariable
public GlobalVariableResponse patchGlobalVariable(String variableId, GlobalVariableJsonPatchRequest body) throws ApiException Patch a global variable.- Parameters:
variableId- The ID of the global variable. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- GlobalVariableResponse
- Throws:
ApiException- if fails to make API call
-
patchGlobalVariableAsync
public CompletableFuture<GlobalVariableResponse> patchGlobalVariableAsync(String variableId, GlobalVariableJsonPatchRequest body) Patch a global variable.- Parameters:
variableId- The ID of the global variable. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- CompletableFuture<GlobalVariableResponse>
-
patchGlobalVariableWithHttpInfo
public ApiResponse<GlobalVariableResponse> patchGlobalVariableWithHttpInfo(String variableId, GlobalVariableJsonPatchRequest body) throws ApiException Patch a global variable using JSON Patch (RFC 6902). This endpoint allows partial updates to a global variable by specifying only the fields to modify.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"}- Parameters:
variableId- The ID of the global variable. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- ApiResponse<GlobalVariableResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
patchGlobalVariableWithHttpInfoAsync
public CompletableFuture<ApiResponse<GlobalVariableResponse>> patchGlobalVariableWithHttpInfoAsync(String variableId, GlobalVariableJsonPatchRequest body) Patch a global variable.- Parameters:
variableId- The ID of the global variable. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- CompletableFuture<ApiResponse<GlobalVariableResponse>>
-
patchTestSuite
public SyntheticsSuiteResponse patchTestSuite(String publicId, SuiteJsonPatchRequest body) throws ApiException Patch a test suite.See
patchTestSuiteWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.SuiteJsonPatchRequest).- Parameters:
publicId- The public ID of the Synthetic test suite to patch. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- SyntheticsSuiteResponse
- Throws:
ApiException- if fails to make API call
-
patchTestSuiteAsync
public CompletableFuture<SyntheticsSuiteResponse> patchTestSuiteAsync(String publicId, SuiteJsonPatchRequest body) Patch a test suite.- Parameters:
publicId- The public ID of the Synthetic test suite to patch. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- CompletableFuture<SyntheticsSuiteResponse>
-
patchTestSuiteWithHttpInfo
public ApiResponse<SyntheticsSuiteResponse> patchTestSuiteWithHttpInfo(String publicId, SuiteJsonPatchRequest body) throws ApiException Patch a Synthetic test suite using JSON Patch (RFC 6902). Use partial updates to modify only specific fields of a test suite.Common operations include: - Replace field values:
{"op": "replace", "path": "/name", "value": "new_name"}- Add/update tags:{"op": "add", "path": "/tags/-", "value": "new_tag"}- Remove fields:{"op": "remove", "path": "/message"}- Parameters:
publicId- The public ID of the Synthetic test suite to patch. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- ApiResponse<SyntheticsSuiteResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 429 Too many requests -
-
patchTestSuiteWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> patchTestSuiteWithHttpInfoAsync(String publicId, SuiteJsonPatchRequest body) Patch a test suite.See
patchTestSuiteWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.SuiteJsonPatchRequest).- Parameters:
publicId- The public ID of the Synthetic test suite to patch. (required)body- JSON Patch document with operations to apply. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsSuiteResponse>>
-
pollSyntheticsTestResults
public SyntheticsPollTestResultsResponse pollSyntheticsTestResults(String resultIds) throws ApiException Poll for test results.See
pollSyntheticsTestResultsWithHttpInfo(java.lang.String).- Parameters:
resultIds- A JSON-encoded array of result IDs to poll for. (required)- Returns:
- SyntheticsPollTestResultsResponse
- Throws:
ApiException- if fails to make API call
-
pollSyntheticsTestResultsAsync
public CompletableFuture<SyntheticsPollTestResultsResponse> pollSyntheticsTestResultsAsync(String resultIds) Poll for test results.See
pollSyntheticsTestResultsWithHttpInfoAsync(java.lang.String).- Parameters:
resultIds- A JSON-encoded array of result IDs to poll for. (required)- Returns:
- CompletableFuture<SyntheticsPollTestResultsResponse>
-
pollSyntheticsTestResultsWithHttpInfo
public ApiResponse<SyntheticsPollTestResultsResponse> pollSyntheticsTestResultsWithHttpInfo(String resultIds) throws ApiException Poll for test results given a list of result IDs. This is typically used after triggering tests with CI/CD to retrieve results once they are available.- Parameters:
resultIds- A JSON-encoded array of result IDs to poll for. (required)- Returns:
- ApiResponse<SyntheticsPollTestResultsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
pollSyntheticsTestResultsWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsPollTestResultsResponse>> pollSyntheticsTestResultsWithHttpInfoAsync(String resultIds) Poll for test results.See
pollSyntheticsTestResultsWithHttpInfo(java.lang.String).- Parameters:
resultIds- A JSON-encoded array of result IDs to poll for. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsPollTestResultsResponse>>
-
removeTestFromSyntheticsDowntime
public SyntheticsDowntimeResponse removeTestFromSyntheticsDowntime(String downtimeId, String testId) throws ApiException Remove a test from a Synthetics downtime.See
removeTestFromSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to disassociate from the downtime. (required)- Returns:
- SyntheticsDowntimeResponse
- Throws:
ApiException- if fails to make API call
-
removeTestFromSyntheticsDowntimeAsync
public CompletableFuture<SyntheticsDowntimeResponse> removeTestFromSyntheticsDowntimeAsync(String downtimeId, String testId) Remove a test from a Synthetics downtime.See
removeTestFromSyntheticsDowntimeWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to disassociate from the downtime. (required)- Returns:
- CompletableFuture<SyntheticsDowntimeResponse>
-
removeTestFromSyntheticsDowntimeWithHttpInfo
public ApiResponse<SyntheticsDowntimeResponse> removeTestFromSyntheticsDowntimeWithHttpInfo(String downtimeId, String testId) throws ApiException Disassociate a Synthetics test from a downtime.- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to disassociate from the downtime. (required)- Returns:
- ApiResponse<SyntheticsDowntimeResponse>
- 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 - 404 Not Found - 429 Too many requests -
-
removeTestFromSyntheticsDowntimeWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> removeTestFromSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, String testId) Remove a test from a Synthetics downtime.See
removeTestFromSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
downtimeId- The ID of the downtime. (required)testId- The public ID of the Synthetics test to disassociate from the downtime. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>>
-
searchSuites
Search test suites.See
searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).- Returns:
- SyntheticsSuiteSearchResponse
- Throws:
ApiException- if fails to make API call
-
searchSuitesAsync
Search test suites.- Returns:
- CompletableFuture<SyntheticsSuiteSearchResponse>
-
searchSuites
public SyntheticsSuiteSearchResponse searchSuites(SyntheticsApi.SearchSuitesOptionalParameters parameters) throws ApiException Search test suites.See
searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- SyntheticsSuiteSearchResponse
- Throws:
ApiException- if fails to make API call
-
searchSuitesAsync
public CompletableFuture<SyntheticsSuiteSearchResponse> searchSuitesAsync(SyntheticsApi.SearchSuitesOptionalParameters parameters) Search test suites.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SyntheticsSuiteSearchResponse>
-
searchSuitesWithHttpInfo
public ApiResponse<SyntheticsSuiteSearchResponse> searchSuitesWithHttpInfo(SyntheticsApi.SearchSuitesOptionalParameters parameters) throws ApiException Search for test suites.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<SyntheticsSuiteSearchResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 429 Too many requests -
-
searchSuitesWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsSuiteSearchResponse>> searchSuitesWithHttpInfoAsync(SyntheticsApi.SearchSuitesOptionalParameters parameters) Search test suites.See
searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SyntheticsSuiteSearchResponse>>
-
setOnDemandConcurrencyCap
public OnDemandConcurrencyCapResponse setOnDemandConcurrencyCap(OnDemandConcurrencyCapAttributes body) throws ApiException Save new value for on-demand concurrency cap.- Parameters:
body- . (required)- Returns:
- OnDemandConcurrencyCapResponse
- Throws:
ApiException- if fails to make API call
-
setOnDemandConcurrencyCapAsync
public CompletableFuture<OnDemandConcurrencyCapResponse> setOnDemandConcurrencyCapAsync(OnDemandConcurrencyCapAttributes body) Save new value for on-demand concurrency cap.- Parameters:
body- . (required)- Returns:
- CompletableFuture<OnDemandConcurrencyCapResponse>
-
setOnDemandConcurrencyCapWithHttpInfo
public ApiResponse<OnDemandConcurrencyCapResponse> setOnDemandConcurrencyCapWithHttpInfo(OnDemandConcurrencyCapAttributes body) throws ApiException Save new value for on-demand concurrency cap.- Parameters:
body- . (required)- Returns:
- ApiResponse<OnDemandConcurrencyCapResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
setOnDemandConcurrencyCapWithHttpInfoAsync
public CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>> setOnDemandConcurrencyCapWithHttpInfoAsync(OnDemandConcurrencyCapAttributes body) Save new value for on-demand concurrency cap.- Parameters:
body- . (required)- Returns:
- CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>>
-
updateSyntheticsDowntime
public SyntheticsDowntimeResponse updateSyntheticsDowntime(String downtimeId, SyntheticsDowntimeRequest body) throws ApiException Update a Synthetics downtime.- Parameters:
downtimeId- The ID of the downtime to update. (required)body- (required)- Returns:
- SyntheticsDowntimeResponse
- Throws:
ApiException- if fails to make API call
-
updateSyntheticsDowntimeAsync
public CompletableFuture<SyntheticsDowntimeResponse> updateSyntheticsDowntimeAsync(String downtimeId, SyntheticsDowntimeRequest body) Update a Synthetics downtime.- Parameters:
downtimeId- The ID of the downtime to update. (required)body- (required)- Returns:
- CompletableFuture<SyntheticsDowntimeResponse>
-
updateSyntheticsDowntimeWithHttpInfo
public ApiResponse<SyntheticsDowntimeResponse> updateSyntheticsDowntimeWithHttpInfo(String downtimeId, SyntheticsDowntimeRequest body) throws ApiException Update a Synthetics downtime by its ID.- Parameters:
downtimeId- The ID of the downtime to update. (required)body- (required)- Returns:
- ApiResponse<SyntheticsDowntimeResponse>
- 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 - 404 Not Found - 429 Too many requests -
-
updateSyntheticsDowntimeWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> updateSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, SyntheticsDowntimeRequest body) Update a Synthetics downtime.- Parameters:
downtimeId- The ID of the downtime to update. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>>
-
updateSyntheticsNetworkTest
public SyntheticsNetworkTestResponse updateSyntheticsNetworkTest(String publicId, SyntheticsNetworkTestEditRequest body) throws ApiException Edit a Network Path test.- Parameters:
publicId- The public ID of the Network Path test to edit. (required)body- New Network Path test details to be saved. (required)- Returns:
- SyntheticsNetworkTestResponse
- Throws:
ApiException- if fails to make API call
-
updateSyntheticsNetworkTestAsync
public CompletableFuture<SyntheticsNetworkTestResponse> updateSyntheticsNetworkTestAsync(String publicId, SyntheticsNetworkTestEditRequest body) Edit a Network Path test.- Parameters:
publicId- The public ID of the Network Path test to edit. (required)body- New Network Path test details to be saved. (required)- Returns:
- CompletableFuture<SyntheticsNetworkTestResponse>
-
updateSyntheticsNetworkTestWithHttpInfo
public ApiResponse<SyntheticsNetworkTestResponse> updateSyntheticsNetworkTestWithHttpInfo(String publicId, SyntheticsNetworkTestEditRequest body) throws ApiException - Parameters:
publicId- The public ID of the Network Path test to edit. (required)body- New Network Path test details to be saved. (required)- Returns:
- ApiResponse<SyntheticsNetworkTestResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 404 API error response. - 429 Too many requests -
-
updateSyntheticsNetworkTestWithHttpInfoAsync
public CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>> updateSyntheticsNetworkTestWithHttpInfoAsync(String publicId, SyntheticsNetworkTestEditRequest body) Edit a Network Path test.- Parameters:
publicId- The public ID of the Network Path test to edit. (required)body- New Network Path test details to be saved. (required)- Returns:
- CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>>
-