@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class StorageManagementApi extends Object
| Constructor and Description |
|---|
StorageManagementApi() |
StorageManagementApi(ApiClient apiClient) |
public StorageManagementApi()
public StorageManagementApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic void deleteSyncConfig(String id) throws ApiException
id - Unique identifier of the Storage Management configuration. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteSyncConfigAsync(String id)
id - Unique identifier of the Storage Management configuration. (required)public ApiResponse<Void> deleteSyncConfigWithHttpInfo(String id) throws ApiException
id - Unique identifier of the Storage Management configuration. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteSyncConfigWithHttpInfoAsync(String id)
id - Unique identifier of the Storage Management configuration. (required)public CloudInventorySyncConfigResponse upsertSyncConfig(UpsertCloudInventorySyncConfigRequest body) throws ApiException
See upsertSyncConfigWithHttpInfo(com.datadog.api.client.v2.model.UpsertCloudInventorySyncConfigRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CloudInventorySyncConfigResponse> upsertSyncConfigAsync(UpsertCloudInventorySyncConfigRequest body)
body - (required)public ApiResponse<CloudInventorySyncConfigResponse> upsertSyncConfigWithHttpInfo(UpsertCloudInventorySyncConfigRequest body) throws ApiException
data.id to the cloud provider (
aws, gcp, or azure) and provide the matching settings
under data.attributes. Calling this endpoint with the same provider replaces the existing
configuration.body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CloudInventorySyncConfigResponse>> upsertSyncConfigWithHttpInfoAsync(UpsertCloudInventorySyncConfigRequest body)
See upsertSyncConfigWithHttpInfo(com.datadog.api.client.v2.model.UpsertCloudInventorySyncConfigRequest).
body - (required)Copyright © 2026. All rights reserved.