Skip to main content

hamr_connections

Creates, updates, deletes, gets or lists a hamr_connections resource.

Overview

Namehamr_connections
TypeResource
Iddatadog.organization.hamr_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe organization UUID for this HAMR connection. (example: 550e8400-e29b-41d4-a716-446655440000)
attributesobjectAttributes of a HAMR organization connection response.
typestringType of the HAMR organization connection resource. (hamr_org_connections) (example: hamr_org_connections)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_hamr_org_connectionselectRetrieve the High Availability Multi-Region (HAMR) organization connection details for the authenticated organization.<br />This endpoint returns information about the HAMR connection configuration, including the target organization,<br />datacenter, status, and whether this is the primary or secondary organization in the HAMR relationship.
create_hamr_org_connectioninsertdataCreate or update the High Availability Multi-Region (HAMR) organization connection.<br />This endpoint allows you to configure the HAMR connection between the authenticated organization<br />and a target organization, including setting the connection status (ONBOARDING, PASSIVE, FAILOVER, ACTIVE, RECOVERY)

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

SELECT examples

Retrieve the High Availability Multi-Region (HAMR) organization connection details for the authenticated organization.<br />This endpoint returns information about the HAMR connection configuration, including the target organization,<br />datacenter, status, and whether this is the primary or secondary organization in the HAMR relationship.

SELECT
id,
attributes,
type
FROM datadog.organization.hamr_connections
;

INSERT examples

Create or update the High Availability Multi-Region (HAMR) organization connection.<br />This endpoint allows you to configure the HAMR connection between the authenticated organization<br />and a target organization, including setting the connection status (ONBOARDING, PASSIVE, FAILOVER, ACTIVE, RECOVERY)

INSERT INTO datadog.organization.hamr_connections (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data
;