Enable Storage Management for S3 buckets, GCS buckets, and Azure containers. Each configuration registers the destination that holds inventory reports for the storage being monitored.
Enable Storage Management for an S3 bucket, GCS bucket, or Azure container by registering the destination that holds its inventory reports. Set data.id to the cloud provider (aws, gcp, or azure) and provide the matching settings under data.attributes. Calling this endpoint with the same provider replaces the existing configuration.
This endpoint requires the aws_configurations_manage permission.
Storage Management configuration data for the create or update request.
attributes [required]
object
Settings for the cloud provider specified in data.id. Include only the matching provider object (aws, gcp, or azure).
aws
object
AWS settings for the S3 bucket Storage Management reads inventory reports from.
aws_account_id [required]
string
AWS account ID that owns the inventory bucket.
destination_bucket_name [required]
string
Name of the S3 bucket containing inventory files.
destination_bucket_region [required]
string
AWS Region of the inventory bucket.
destination_prefix
string
Object key prefix where inventory reports are written. Omit or set to / when reports are written at the bucket root.
azure
object
Azure settings for the storage account and container with inventory data.
client_id [required]
string
Azure AD application (client) ID used for access.
container [required]
string
Blob container name.
resource_group [required]
string
Resource group containing the storage account.
storage_account [required]
string
Storage account name.
subscription_id [required]
string
Azure subscription ID.
tenant_id [required]
string
Azure AD tenant ID.
gcp
object
GCP settings for buckets involved in inventory reporting.
destination_bucket_name [required]
string
GCS bucket name where Datadog reads inventory reports.
project_id [required]
string
GCP project ID for the inventory destination bucket.
service_account_email [required]
string
Service account email used to read the destination bucket.
source_bucket_name [required]
string
GCS bucket name that inventory reports are generated for.
id [required]
enum
Cloud provider for this sync configuration (aws, gcp, or azure). For requests, must match the provider block supplied under attributes.
Allowed enum values: aws,gcp,azure
Storage Management configuration returned after a create or update. Additional read-only fields appear on list and get responses.
Expand All
Field
Type
Description
data [required]
object
Storage Management configuration data.
attributes [required]
object
Attributes for a Storage Management configuration. Fields other than id may be empty in the response immediately after a create or update; subsequent reads return the full configuration.
aws_account_id [required]
string
AWS account ID for the inventory bucket.
aws_bucket_name [required]
string
AWS S3 bucket name for inventory files.
aws_region [required]
string
AWS Region for the inventory bucket.
azure_client_id [required]
string
Azure AD application (client) ID.
azure_container_name [required]
string
Azure blob container name.
azure_storage_account_name [required]
string
Azure storage account name.
azure_tenant_id [required]
string
Azure AD tenant ID.
cloud_provider [required]
enum
Cloud provider for this sync configuration (aws, gcp, or azure). For requests, must match the provider block supplied under attributes.
Allowed enum values: aws,gcp,azure
error [required]
string
Human-readable error detail when sync is unhealthy.
error_code [required]
string
Machine-readable error code when sync is unhealthy.
gcp_bucket_name [required]
string
GCS bucket name for inventory files Datadog reads.
gcp_project_id [required]
string
GCP project ID.
gcp_service_account_email [required]
string
Service account email for bucket access.
prefix [required]
string
Object key prefix where inventory reports are written. Returns / when reports are written at the bucket root.
id [required]
string
Unique identifier for this Storage Management configuration.