You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .generator/schemas/v2/openapi.yaml
+14-15Lines changed: 14 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -12666,15 +12666,15 @@ components:
12666
12666
- GCP
12667
12667
- AZURE
12668
12668
CloudInventoryCloudProviderRequestType:
12669
-
description: JSON:API type for upsert sync configuration requests.
12669
+
description: Always `cloud_provider`.
12670
12670
enum:
12671
12671
- cloud_provider
12672
12672
example: cloud_provider
12673
12673
type: string
12674
12674
x-enum-varnames:
12675
12675
- CLOUD_PROVIDER
12676
12676
CloudInventorySyncConfigAWSRequestAttributes:
12677
-
description: AWS settings for the customer bucket that stores inventory reports.
12677
+
description: AWS settings for the S3 bucket Storage Management reads inventory reports from.
12678
12678
properties:
12679
12679
aws_account_id:
12680
12680
description: AWS account ID that owns the inventory bucket.
@@ -12689,7 +12689,7 @@ components:
12689
12689
example: us-east-1
12690
12690
type: string
12691
12691
destination_prefix:
12692
-
description: Optional object key prefix for inventory files. Use `/` or omit for the entire bucket.
12692
+
description: Object key prefix where inventory reports are written. Omit or set to `/` when reports are written at the bucket root.
12693
12693
example: logs/
12694
12694
type: string
12695
12695
required:
@@ -12698,7 +12698,7 @@ components:
12698
12698
- destination_bucket_region
12699
12699
type: object
12700
12700
CloudInventorySyncConfigAttributes:
12701
-
description: Attributes for a cloud inventory sync configuration. Values beyond `id` may be omitted immediately after upsert.
12701
+
description: 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.
12702
12702
properties:
12703
12703
aws_account_id:
12704
12704
description: AWS account ID for the inventory bucket.
Create or update a cloud inventory sync configuration. Specify the cloud provider in `data.id`
91982
-
and provider-specific settings under `data.attributes`. This endpoint uses an upsert model.
91981
+
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.
The Cloud Cost Management API allows you to set up, edit, and delete Cloud Cost Management accounts for AWS, Azure, and Google Cloud. You can query your cost data by using the [Metrics endpoint](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-data-across-multiple-products) and the `cloud_cost` data source. For more information, see the [Cloud Cost Management documentation](https://docs.datadoghq.com/cloud_cost_management/).
135347
135346
name: Cloud Cost Management
135348
135347
- description: |-
135349
-
Configure cloud inventory file synchronization from your cloud storage to Datadog.
135348
+
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.
135350
135349
name: Cloud Inventory Sync Configs
135351
135350
- description: |-
135352
135351
The Cloud Network Monitoring API allows you to fetch aggregated connections and DNS traffic with their attributes. See the [Cloud Network Monitoring page](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/) and [DNS Monitoring page](https://docs.datadoghq.com/network_monitoring/dns/) for more information.
Copy file name to clipboardExpand all lines: src/datadog_api_client/v2/api/cloud_inventory_sync_configs_api.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
14
14
classCloudInventorySyncConfigsApi:
15
15
"""
16
-
Configure cloud inventory file synchronization from your cloud storage to Datadog.
16
+
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.
17
17
"""
18
18
19
19
def__init__(self, api_client=None):
@@ -45,10 +45,9 @@ def upsert_sync_config(
45
45
self,
46
46
body: UpsertCloudInventorySyncConfigRequest,
47
47
) ->CloudInventorySyncConfigResponse:
48
-
"""Create or update a sync configuration.
48
+
"""Enable Storage Management for a bucket.
49
49
50
-
Create or update a cloud inventory sync configuration. Specify the cloud provider in ``data.id``
51
-
and provider-specific settings under ``data.attributes``. This endpoint uses an upsert model.
50
+
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.
Copy file name to clipboardExpand all lines: src/datadog_api_client/v2/model/cloud_inventory_sync_config_attributes.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ def __init__(
78
78
**kwargs,
79
79
):
80
80
"""
81
-
Attributes for a cloud inventory sync configuration. Values beyond ``id`` may be omitted immediately after upsert.
81
+
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.
82
82
83
83
:param aws_account_id: AWS account ID for the inventory bucket.
84
84
:type aws_account_id: str
@@ -119,7 +119,7 @@ def __init__(
119
119
:param gcp_service_account_email: Service account email for bucket access.
120
120
:type gcp_service_account_email: str
121
121
122
-
:param prefix: Object key prefix or ``/`` when the entire bucket is synced.
122
+
:param prefix: Object key prefix where inventory reports are written. Returns ``/`` when reports are written at the bucket root.
Copy file name to clipboardExpand all lines: src/datadog_api_client/v2/model/cloud_inventory_sync_config_response_data.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -48,15 +48,15 @@ def __init__(
48
48
**kwargs,
49
49
):
50
50
"""
51
-
JSON:API data object for a sync configuration.
51
+
Storage Management configuration data.
52
52
53
-
:param attributes: Attributes for a cloud inventory sync configuration. Values beyond ``id`` may be omitted immediately after upsert.
53
+
:param attributes: 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.
0 commit comments