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
+17-21Lines changed: 17 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -12687,15 +12687,15 @@ components:
12687
12687
- GCP
12688
12688
- AZURE
12689
12689
CloudInventoryCloudProviderRequestType:
12690
-
description: JSON:API type for upsert sync configuration requests.
12690
+
description: Always `cloud_provider`.
12691
12691
enum:
12692
12692
- cloud_provider
12693
12693
example: cloud_provider
12694
12694
type: string
12695
12695
x-enum-varnames:
12696
12696
- CLOUD_PROVIDER
12697
12697
CloudInventorySyncConfigAWSRequestAttributes:
12698
-
description: AWS settings for the customer bucket that stores inventory reports.
12698
+
description: AWS settings for the S3 bucket Storage Management reads inventory reports from.
12699
12699
properties:
12700
12700
aws_account_id:
12701
12701
description: AWS account ID that owns the inventory bucket.
@@ -12710,7 +12710,7 @@ components:
12710
12710
example: us-east-1
12711
12711
type: string
12712
12712
destination_prefix:
12713
-
description: Optional object key prefix for inventory files. Use `/` or omit for the entire bucket.
12713
+
description: Object key prefix where inventory reports are written. Omit or set to `/` when reports are written at the bucket root.
12714
12714
example: logs/
12715
12715
type: string
12716
12716
required:
@@ -12719,7 +12719,7 @@ components:
12719
12719
- destination_bucket_region
12720
12720
type: object
12721
12721
CloudInventorySyncConfigAttributes:
12722
-
description: Attributes for a cloud inventory sync configuration. Values beyond `id` may be omitted immediately after upsert.
12722
+
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.
12723
12723
properties:
12724
12724
aws_account_id:
12725
12725
description: AWS account ID for the inventory bucket.
Create or update a cloud inventory sync configuration. Specify the cloud provider in `data.id`
93945
-
and provider-specific settings under `data.attributes`. This endpoint uses an upsert model.
93944
+
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.
**Note**: This endpoint is in preview and is subject to change.
94003
-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
94004
94000
/api/v2/code-coverage/branch/summary:
94005
94001
post:
94006
94002
description: |-
@@ -145604,9 +145600,6 @@ tags:
145604
145600
- description: |-
145605
145601
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/).
145606
145602
name: Cloud Cost Management
145607
-
- description: |-
145608
-
Configure cloud inventory file synchronization from your cloud storage to Datadog.
145609
-
name: Cloud Inventory Sync Configs
145610
145603
- description: |-
145611
145604
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.
145612
145605
name: Cloud Network Monitoring
@@ -145988,6 +145981,9 @@ tags:
145988
145981
name: Static Analysis
145989
145982
- description: Manage your status pages and communicate service disruptions to stakeholders via Datadog's API. See the [Status Pages documentation](https://docs.datadoghq.com/incident_response/status_pages/) for more information.
145990
145983
name: Status Pages
145984
+
- description: |-
145985
+
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.
145986
+
name: Storage Management
145991
145987
- description: |-
145992
145988
Synthetic tests use simulated requests and actions so you can monitor the availability and performance of systems and applications. Datadog supports the following types of synthetic tests:
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.
0 commit comments