@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OrgConnectionsApi extends Object
| Constructor and Description |
|---|
OrgConnectionsApi() |
OrgConnectionsApi(ApiClient apiClient) |
public OrgConnectionsApi()
public OrgConnectionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic OrgConnectionResponse createOrgConnections(OrgConnectionCreateRequest body) throws ApiException
See createOrgConnectionsWithHttpInfo(com.datadog.api.client.v2.model.OrgConnectionCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<OrgConnectionResponse> createOrgConnectionsAsync(OrgConnectionCreateRequest body)
See createOrgConnectionsWithHttpInfoAsync(com.datadog.api.client.v2.model.OrgConnectionCreateRequest).
body - (required)public ApiResponse<OrgConnectionResponse> createOrgConnectionsWithHttpInfo(OrgConnectionCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OrgConnectionResponse>> createOrgConnectionsWithHttpInfoAsync(OrgConnectionCreateRequest body)
See createOrgConnectionsWithHttpInfo(com.datadog.api.client.v2.model.OrgConnectionCreateRequest).
body - (required)public void deleteOrgConnections(UUID connectionId) throws ApiException
connectionId - The unique identifier of the org connection. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteOrgConnectionsAsync(UUID connectionId)
connectionId - The unique identifier of the org connection. (required)public ApiResponse<Void> deleteOrgConnectionsWithHttpInfo(UUID connectionId) throws ApiException
connectionId - The unique identifier of the org connection. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteOrgConnectionsWithHttpInfoAsync(UUID connectionId)
connectionId - The unique identifier of the org connection. (required)public OrgConnectionListResponse listOrgConnections() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OrgConnectionListResponse> listOrgConnectionsAsync()
public ApiResponse<OrgConnectionListResponse> listOrgConnectionsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OrgConnectionListResponse>> listOrgConnectionsWithHttpInfoAsync()
public OrgConnectionResponse updateOrgConnections(UUID connectionId, OrgConnectionUpdateRequest body) throws ApiException
connectionId - The unique identifier of the org connection. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<OrgConnectionResponse> updateOrgConnectionsAsync(UUID connectionId, OrgConnectionUpdateRequest body)
connectionId - The unique identifier of the org connection. (required)body - (required)public ApiResponse<OrgConnectionResponse> updateOrgConnectionsWithHttpInfo(UUID connectionId, OrgConnectionUpdateRequest body) throws ApiException
connectionId - The unique identifier of the org connection. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OrgConnectionResponse>> updateOrgConnectionsWithHttpInfoAsync(UUID connectionId, OrgConnectionUpdateRequest body)
connectionId - The unique identifier of the org connection. (required)body - (required)Copyright © 2025. All rights reserved.