hamr_connections
Creates, updates, deletes, gets or lists a hamr_connections resource.
Overview
| Name | hamr_connections |
| Type | Resource |
| Id | datadog.organization.hamr_connections |
Fields
The following fields are returned by SELECT queries:
- get_hamr_org_connection
| Name | Datatype | Description |
|---|---|---|
id | string | The organization UUID for this HAMR connection. (example: 550e8400-e29b-41d4-a716-446655440000) |
attributes | object | Attributes of a HAMR organization connection response. |
type | string | Type of the HAMR organization connection resource. (hamr_org_connections) (example: hamr_org_connections) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_hamr_org_connection | select | 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. | ||
create_hamr_org_connection | insert | data | 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) |
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.
| Name | Datatype | Description |
|---|---|---|
site | string | The 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
- get_hamr_org_connection
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_hamr_org_connection
- Manifest
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
;
# Description fields are for documentation purposes
- name: hamr_connections
props:
- name: data
description: |
Data object for a HAMR organization connection request.
value:
attributes:
hamr_status: {{ hamr_status }}
is_primary: {{ is_primary }}
modified_by: "{{ modified_by }}"
target_org_datacenter: "{{ target_org_datacenter }}"
target_org_name: "{{ target_org_name }}"
target_org_uuid: "{{ target_org_uuid }}"
id: "{{ id }}"
type: "{{ type }}"