@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CloudflareIntegrationApi extends Object
| Constructor and Description |
|---|
CloudflareIntegrationApi() |
CloudflareIntegrationApi(ApiClient apiClient) |
public CloudflareIntegrationApi()
public CloudflareIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CloudflareAccountResponse createCloudflareAccount(CloudflareAccountCreateRequest body) throws ApiException
See createCloudflareAccountWithHttpInfo(com.datadog.api.client.v2.model.CloudflareAccountCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CloudflareAccountResponse> createCloudflareAccountAsync(CloudflareAccountCreateRequest body)
body - (required)public ApiResponse<CloudflareAccountResponse> createCloudflareAccountWithHttpInfo(CloudflareAccountCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CloudflareAccountResponse>> createCloudflareAccountWithHttpInfoAsync(CloudflareAccountCreateRequest body)
See createCloudflareAccountWithHttpInfo(com.datadog.api.client.v2.model.CloudflareAccountCreateRequest).
body - (required)public void deleteCloudflareAccount(String accountId) throws ApiException
accountId - None (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteCloudflareAccountAsync(String accountId)
See deleteCloudflareAccountWithHttpInfoAsync(java.lang.String).
accountId - None (required)public ApiResponse<Void> deleteCloudflareAccountWithHttpInfo(String accountId) throws ApiException
accountId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteCloudflareAccountWithHttpInfoAsync(String accountId)
accountId - None (required)public CloudflareAccountResponse getCloudflareAccount(String accountId) throws ApiException
accountId - None (required)ApiException - if fails to make API callpublic CompletableFuture<CloudflareAccountResponse> getCloudflareAccountAsync(String accountId)
See getCloudflareAccountWithHttpInfoAsync(java.lang.String).
accountId - None (required)public ApiResponse<CloudflareAccountResponse> getCloudflareAccountWithHttpInfo(String accountId) throws ApiException
accountId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CloudflareAccountResponse>> getCloudflareAccountWithHttpInfoAsync(String accountId)
accountId - None (required)public CloudflareAccountsResponse listCloudflareAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CloudflareAccountsResponse> listCloudflareAccountsAsync()
public ApiResponse<CloudflareAccountsResponse> listCloudflareAccountsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CloudflareAccountsResponse>> listCloudflareAccountsWithHttpInfoAsync()
public CloudflareAccountResponse updateCloudflareAccount(String accountId, CloudflareAccountUpdateRequest body) throws ApiException
accountId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<CloudflareAccountResponse> updateCloudflareAccountAsync(String accountId, CloudflareAccountUpdateRequest body)
accountId - None (required)body - (required)public ApiResponse<CloudflareAccountResponse> updateCloudflareAccountWithHttpInfo(String accountId, CloudflareAccountUpdateRequest body) throws ApiException
accountId - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CloudflareAccountResponse>> updateCloudflareAccountWithHttpInfoAsync(String accountId, CloudflareAccountUpdateRequest body)
accountId - None (required)body - (required)Copyright © 2024. All rights reserved.