Skip to main content

oci_products

Creates, updates, deletes, gets or lists an oci_products resource.

Overview

Nameoci_products
TypeResource
Iddatadog.integrations.oci_products

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe OCID of the OCI tenancy.
attributesobjectAttributes of an OCI tenancy product resource, containing the list of available products and their enablement status.
typestringOCI tenancy product resource type. (oci_tenancy_product) (default: oci_tenancy_product, example: oci_tenancy_product)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tenancy_productsselectproduct_keysLists the products for a given tenancy. Returns the enabled/disabled status of Datadog products (such as Cloud Security Posture Management) for specific OCI tenancies.

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
product_keysstringComma-separated list of product keys to filter by. (wire: productKeys)
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

Lists the products for a given tenancy. Returns the enabled/disabled status of Datadog products (such as Cloud Security Posture Management) for specific OCI tenancies.

SELECT
id,
attributes,
type
FROM datadog.integrations.oci_products
WHERE product_keys = '{{ product_keys }}' -- required
;