@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CsmAgentsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CsmAgentsApi.ListAllCSMAgentsOptionalParameters
Manage optional parameters to listAllCSMAgents.
|
static class |
CsmAgentsApi.ListAllCSMServerlessAgentsOptionalParameters
Manage optional parameters to listAllCSMServerlessAgents.
|
| Constructor and Description |
|---|
CsmAgentsApi() |
CsmAgentsApi(ApiClient apiClient) |
public CsmAgentsApi()
public CsmAgentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CsmAgentsResponse listAllCSMAgents() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CsmAgentsResponse> listAllCSMAgentsAsync()
public CsmAgentsResponse listAllCSMAgents(CsmAgentsApi.ListAllCSMAgentsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<CsmAgentsResponse> listAllCSMAgentsAsync(CsmAgentsApi.ListAllCSMAgentsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<CsmAgentsResponse> listAllCSMAgentsWithHttpInfo(CsmAgentsApi.ListAllCSMAgentsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CsmAgentsResponse>> listAllCSMAgentsWithHttpInfoAsync(CsmAgentsApi.ListAllCSMAgentsOptionalParameters parameters)
parameters - Optional parameters for the request.public CsmAgentsResponse listAllCSMServerlessAgents() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CsmAgentsResponse> listAllCSMServerlessAgentsAsync()
public CsmAgentsResponse listAllCSMServerlessAgents(CsmAgentsApi.ListAllCSMServerlessAgentsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<CsmAgentsResponse> listAllCSMServerlessAgentsAsync(CsmAgentsApi.ListAllCSMServerlessAgentsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<CsmAgentsResponse> listAllCSMServerlessAgentsWithHttpInfo(CsmAgentsApi.ListAllCSMServerlessAgentsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CsmAgentsResponse>> listAllCSMServerlessAgentsWithHttpInfoAsync(CsmAgentsApi.ListAllCSMServerlessAgentsOptionalParameters parameters)
parameters - Optional parameters for the request.Copyright © 2026. All rights reserved.