Package com.datadog.api.client.v2.api
Class OrgConnectionsApi
java.lang.Object
com.datadog.api.client.v2.api.OrgConnectionsApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OrgConnectionsApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listOrgConnections. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate Org Connection.Create Org Connection.Create a new org connection between the current org and a target org.Create Org Connection.voiddeleteOrgConnections(UUID connectionId) Delete Org Connection.deleteOrgConnectionsAsync(UUID connectionId) Delete Org Connection.deleteOrgConnectionsWithHttpInfo(UUID connectionId) Delete an existing org connection.deleteOrgConnectionsWithHttpInfoAsync(UUID connectionId) Delete Org Connection.Get the API client.List Org Connections.List Org Connections.List Org Connections.List Org Connections.Returns a list of org connections.listOrgConnectionsWithHttpInfoAsync(OrgConnectionsApi.ListOrgConnectionsOptionalParameters parameters) List Org Connections.voidsetApiClient(ApiClient apiClient) Set the API client.updateOrgConnections(UUID connectionId, OrgConnectionUpdateRequest body) Update Org Connection.updateOrgConnectionsAsync(UUID connectionId, OrgConnectionUpdateRequest body) Update Org Connection.updateOrgConnectionsWithHttpInfo(UUID connectionId, OrgConnectionUpdateRequest body) Update an existing org connection.updateOrgConnectionsWithHttpInfoAsync(UUID connectionId, OrgConnectionUpdateRequest body) Update Org Connection.
-
Constructor Details
-
OrgConnectionsApi
public OrgConnectionsApi() -
OrgConnectionsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createOrgConnections
public OrgConnectionResponse createOrgConnections(OrgConnectionCreateRequest body) throws ApiException Create Org Connection.See
createOrgConnectionsWithHttpInfo(com.datadog.api.client.v2.model.OrgConnectionCreateRequest).- Parameters:
body- (required)- Returns:
- OrgConnectionResponse
- Throws:
ApiException- if fails to make API call
-
createOrgConnectionsAsync
public CompletableFuture<OrgConnectionResponse> createOrgConnectionsAsync(OrgConnectionCreateRequest body) Create Org Connection.See
createOrgConnectionsWithHttpInfoAsync(com.datadog.api.client.v2.model.OrgConnectionCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<OrgConnectionResponse>
-
createOrgConnectionsWithHttpInfo
public ApiResponse<OrgConnectionResponse> createOrgConnectionsWithHttpInfo(OrgConnectionCreateRequest body) throws ApiException Create a new org connection between the current org and a target org.- Parameters:
body- (required)- Returns:
- ApiResponse<OrgConnectionResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 409 Conflict - 429 Too many requests -
-
createOrgConnectionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<OrgConnectionResponse>> createOrgConnectionsWithHttpInfoAsync(OrgConnectionCreateRequest body) Create Org Connection.See
createOrgConnectionsWithHttpInfo(com.datadog.api.client.v2.model.OrgConnectionCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<OrgConnectionResponse>>
-
deleteOrgConnections
Delete Org Connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)- Throws:
ApiException- if fails to make API call
-
deleteOrgConnectionsAsync
Delete Org Connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)- Returns:
- CompletableFuture
-
deleteOrgConnectionsWithHttpInfo
Delete an existing org connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteOrgConnectionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteOrgConnectionsWithHttpInfoAsync(UUID connectionId) Delete Org Connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
listOrgConnections
List Org Connections.- Returns:
- OrgConnectionListResponse
- Throws:
ApiException- if fails to make API call
-
listOrgConnectionsAsync
List Org Connections.- Returns:
- CompletableFuture<OrgConnectionListResponse>
-
listOrgConnections
public OrgConnectionListResponse listOrgConnections(OrgConnectionsApi.ListOrgConnectionsOptionalParameters parameters) throws ApiException List Org Connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- OrgConnectionListResponse
- Throws:
ApiException- if fails to make API call
-
listOrgConnectionsAsync
public CompletableFuture<OrgConnectionListResponse> listOrgConnectionsAsync(OrgConnectionsApi.ListOrgConnectionsOptionalParameters parameters) List Org Connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<OrgConnectionListResponse>
-
listOrgConnectionsWithHttpInfo
public ApiResponse<OrgConnectionListResponse> listOrgConnectionsWithHttpInfo(OrgConnectionsApi.ListOrgConnectionsOptionalParameters parameters) throws ApiException Returns a list of org connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<OrgConnectionListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden - 429 Too many requests -
-
listOrgConnectionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<OrgConnectionListResponse>> listOrgConnectionsWithHttpInfoAsync(OrgConnectionsApi.ListOrgConnectionsOptionalParameters parameters) List Org Connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<OrgConnectionListResponse>>
-
updateOrgConnections
public OrgConnectionResponse updateOrgConnections(UUID connectionId, OrgConnectionUpdateRequest body) throws ApiException Update Org Connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)body- (required)- Returns:
- OrgConnectionResponse
- Throws:
ApiException- if fails to make API call
-
updateOrgConnectionsAsync
public CompletableFuture<OrgConnectionResponse> updateOrgConnectionsAsync(UUID connectionId, OrgConnectionUpdateRequest body) Update Org Connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)body- (required)- Returns:
- CompletableFuture<OrgConnectionResponse>
-
updateOrgConnectionsWithHttpInfo
public ApiResponse<OrgConnectionResponse> updateOrgConnectionsWithHttpInfo(UUID connectionId, OrgConnectionUpdateRequest body) throws ApiException Update an existing org connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)body- (required)- Returns:
- ApiResponse<OrgConnectionResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateOrgConnectionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<OrgConnectionResponse>> updateOrgConnectionsWithHttpInfoAsync(UUID connectionId, OrgConnectionUpdateRequest body) Update Org Connection.- Parameters:
connectionId- The unique identifier of the org connection. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<OrgConnectionResponse>>
-