oci_products
Creates, updates, deletes, gets or lists an oci_products resource.
Overview
| Name | oci_products |
| Type | Resource |
| Id | datadog.integrations.oci_products |
Fields
The following fields are returned by SELECT queries:
- list_tenancy_products
| Name | Datatype | Description |
|---|---|---|
id | string | The OCID of the OCI tenancy. |
attributes | object | Attributes of an OCI tenancy product resource, containing the list of available products and their enablement status. |
type | string | OCI tenancy product resource type. (oci_tenancy_product) (default: oci_tenancy_product, example: oci_tenancy_product) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_tenancy_products | select | product_keys | 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. |
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 |
|---|---|---|
product_keys | string | Comma-separated list of product keys to filter by. (wire: productKeys) |
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
- list_tenancy_products
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
;