Package com.datadog.api.client.v2.api
Class CloudflareIntegrationApi
java.lang.Object
com.datadog.api.client.v2.api.CloudflareIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudflareIntegrationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd Cloudflare account.Add Cloudflare account.Create a Cloudflare account.Add Cloudflare account.voiddeleteCloudflareAccount(String accountId) Delete Cloudflare account.deleteCloudflareAccountAsync(String accountId) Delete Cloudflare account.deleteCloudflareAccountWithHttpInfo(String accountId) Delete a Cloudflare account.deleteCloudflareAccountWithHttpInfoAsync(String accountId) Delete Cloudflare account.Get the API client.getCloudflareAccount(String accountId) Get Cloudflare account.getCloudflareAccountAsync(String accountId) Get Cloudflare account.getCloudflareAccountWithHttpInfo(String accountId) Get a Cloudflare account.getCloudflareAccountWithHttpInfoAsync(String accountId) Get Cloudflare account.List Cloudflare accounts.List Cloudflare accounts.List Cloudflare accounts.List Cloudflare accounts.voidsetApiClient(ApiClient apiClient) Set the API client.updateCloudflareAccount(String accountId, CloudflareAccountUpdateRequest body) Update Cloudflare account.updateCloudflareAccountAsync(String accountId, CloudflareAccountUpdateRequest body) Update Cloudflare account.updateCloudflareAccountWithHttpInfo(String accountId, CloudflareAccountUpdateRequest body) Update a Cloudflare account.updateCloudflareAccountWithHttpInfoAsync(String accountId, CloudflareAccountUpdateRequest body) Update Cloudflare account.
-
Constructor Details
-
CloudflareIntegrationApi
public CloudflareIntegrationApi() -
CloudflareIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createCloudflareAccount
public CloudflareAccountResponse createCloudflareAccount(CloudflareAccountCreateRequest body) throws ApiException Add Cloudflare account.See
createCloudflareAccountWithHttpInfo(com.datadog.api.client.v2.model.CloudflareAccountCreateRequest).- Parameters:
body- (required)- Returns:
- CloudflareAccountResponse
- Throws:
ApiException- if fails to make API call
-
createCloudflareAccountAsync
public CompletableFuture<CloudflareAccountResponse> createCloudflareAccountAsync(CloudflareAccountCreateRequest body) Add Cloudflare account.- Parameters:
body- (required)- Returns:
- CompletableFuture<CloudflareAccountResponse>
-
createCloudflareAccountWithHttpInfo
public ApiResponse<CloudflareAccountResponse> createCloudflareAccountWithHttpInfo(CloudflareAccountCreateRequest body) throws ApiException Create a Cloudflare account.- Parameters:
body- (required)- Returns:
- ApiResponse<CloudflareAccountResponse>
- 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 - 404 Not Found - 429 Too many requests -
-
createCloudflareAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudflareAccountResponse>> createCloudflareAccountWithHttpInfoAsync(CloudflareAccountCreateRequest body) Add Cloudflare account.See
createCloudflareAccountWithHttpInfo(com.datadog.api.client.v2.model.CloudflareAccountCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<CloudflareAccountResponse>>
-
deleteCloudflareAccount
Delete Cloudflare account.- Parameters:
accountId- None (required)- Throws:
ApiException- if fails to make API call
-
deleteCloudflareAccountAsync
Delete Cloudflare account.See
deleteCloudflareAccountWithHttpInfoAsync(java.lang.String).- Parameters:
accountId- None (required)- Returns:
- CompletableFuture
-
deleteCloudflareAccountWithHttpInfo
Delete a Cloudflare account.- Parameters:
accountId- None (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteCloudflareAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteCloudflareAccountWithHttpInfoAsync(String accountId) Delete Cloudflare account.- Parameters:
accountId- None (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getCloudflareAccount
Get Cloudflare account.- Parameters:
accountId- None (required)- Returns:
- CloudflareAccountResponse
- Throws:
ApiException- if fails to make API call
-
getCloudflareAccountAsync
Get Cloudflare account.See
getCloudflareAccountWithHttpInfoAsync(java.lang.String).- Parameters:
accountId- None (required)- Returns:
- CompletableFuture<CloudflareAccountResponse>
-
getCloudflareAccountWithHttpInfo
public ApiResponse<CloudflareAccountResponse> getCloudflareAccountWithHttpInfo(String accountId) throws ApiException Get a Cloudflare account.- Parameters:
accountId- None (required)- Returns:
- ApiResponse<CloudflareAccountResponse>
- 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 -
-
getCloudflareAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudflareAccountResponse>> getCloudflareAccountWithHttpInfoAsync(String accountId) Get Cloudflare account.- Parameters:
accountId- None (required)- Returns:
- CompletableFuture<ApiResponse<CloudflareAccountResponse>>
-
listCloudflareAccounts
List Cloudflare accounts.- Returns:
- CloudflareAccountsResponse
- Throws:
ApiException- if fails to make API call
-
listCloudflareAccountsAsync
List Cloudflare accounts.- Returns:
- CompletableFuture<CloudflareAccountsResponse>
-
listCloudflareAccountsWithHttpInfo
public ApiResponse<CloudflareAccountsResponse> listCloudflareAccountsWithHttpInfo() throws ApiExceptionList Cloudflare accounts.- Returns:
- ApiResponse<CloudflareAccountsResponse>
- 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 -
-
listCloudflareAccountsWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudflareAccountsResponse>> listCloudflareAccountsWithHttpInfoAsync()List Cloudflare accounts.- Returns:
- CompletableFuture<ApiResponse<CloudflareAccountsResponse>>
-
updateCloudflareAccount
public CloudflareAccountResponse updateCloudflareAccount(String accountId, CloudflareAccountUpdateRequest body) throws ApiException Update Cloudflare account.- Parameters:
accountId- None (required)body- (required)- Returns:
- CloudflareAccountResponse
- Throws:
ApiException- if fails to make API call
-
updateCloudflareAccountAsync
public CompletableFuture<CloudflareAccountResponse> updateCloudflareAccountAsync(String accountId, CloudflareAccountUpdateRequest body) Update Cloudflare account.- Parameters:
accountId- None (required)body- (required)- Returns:
- CompletableFuture<CloudflareAccountResponse>
-
updateCloudflareAccountWithHttpInfo
public ApiResponse<CloudflareAccountResponse> updateCloudflareAccountWithHttpInfo(String accountId, CloudflareAccountUpdateRequest body) throws ApiException Update a Cloudflare account.- Parameters:
accountId- None (required)body- (required)- Returns:
- ApiResponse<CloudflareAccountResponse>
- 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 -
-
updateCloudflareAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudflareAccountResponse>> updateCloudflareAccountWithHttpInfoAsync(String accountId, CloudflareAccountUpdateRequest body) Update Cloudflare account.- Parameters:
accountId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<CloudflareAccountResponse>>
-