Package com.datadog.api.client.v2.api
Class HighAvailabilityMultiRegionApi
java.lang.Object
com.datadog.api.client.v2.api.HighAvailabilityMultiRegionApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HighAvailabilityMultiRegionApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate or update HAMR organization connection.Create or update HAMR organization connection.Create or update the High Availability Multi-Region (HAMR) organization connection.Create or update HAMR organization connection.Get the API client.Get HAMR organization connection.Get HAMR organization connection.Retrieve the High Availability Multi-Region (HAMR) organization connection details for the authenticated organization.Get HAMR organization connection.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
HighAvailabilityMultiRegionApi
public HighAvailabilityMultiRegionApi() -
HighAvailabilityMultiRegionApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createHamrOrgConnection
public HamrOrgConnectionResponse createHamrOrgConnection(HamrOrgConnectionRequest body) throws ApiException Create or update HAMR organization connection.See
createHamrOrgConnectionWithHttpInfo(com.datadog.api.client.v2.model.HamrOrgConnectionRequest).- Parameters:
body- (required)- Returns:
- HamrOrgConnectionResponse
- Throws:
ApiException- if fails to make API call
-
createHamrOrgConnectionAsync
public CompletableFuture<HamrOrgConnectionResponse> createHamrOrgConnectionAsync(HamrOrgConnectionRequest body) Create or update HAMR organization connection.See
createHamrOrgConnectionWithHttpInfoAsync(com.datadog.api.client.v2.model.HamrOrgConnectionRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<HamrOrgConnectionResponse>
-
createHamrOrgConnectionWithHttpInfo
public ApiResponse<HamrOrgConnectionResponse> createHamrOrgConnectionWithHttpInfo(HamrOrgConnectionRequest body) throws ApiException Create or update the High Availability Multi-Region (HAMR) organization connection. This endpoint allows you to configure the HAMR connection between the authenticated organization and a target organization, including setting the connection status (ONBOARDING, PASSIVE, FAILOVER, ACTIVE, RECOVERY)- Parameters:
body- (required)- Returns:
- ApiResponse<HamrOrgConnectionResponse>
- 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 - 429 Too many requests - 500 Internal Server Error -
-
createHamrOrgConnectionWithHttpInfoAsync
public CompletableFuture<ApiResponse<HamrOrgConnectionResponse>> createHamrOrgConnectionWithHttpInfoAsync(HamrOrgConnectionRequest body) Create or update HAMR organization connection.See
createHamrOrgConnectionWithHttpInfo(com.datadog.api.client.v2.model.HamrOrgConnectionRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<HamrOrgConnectionResponse>>
-
getHamrOrgConnection
Get HAMR organization connection.- Returns:
- HamrOrgConnectionResponse
- Throws:
ApiException- if fails to make API call
-
getHamrOrgConnectionAsync
Get HAMR organization connection.- Returns:
- CompletableFuture<HamrOrgConnectionResponse>
-
getHamrOrgConnectionWithHttpInfo
public ApiResponse<HamrOrgConnectionResponse> getHamrOrgConnectionWithHttpInfo() throws ApiExceptionRetrieve the High Availability Multi-Region (HAMR) organization connection details for the authenticated organization. This endpoint returns information about the HAMR connection configuration, including the target organization, datacenter, status, and whether this is the primary or secondary organization in the HAMR relationship.- Returns:
- ApiResponse<HamrOrgConnectionResponse>
- 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 -
-
getHamrOrgConnectionWithHttpInfoAsync
public CompletableFuture<ApiResponse<HamrOrgConnectionResponse>> getHamrOrgConnectionWithHttpInfoAsync()Get HAMR organization connection.- Returns:
- CompletableFuture<ApiResponse<HamrOrgConnectionResponse>>
-