From 37c4d6f8e6accd08057a80154df9c0c946b4756f Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 27 May 2026 17:59:38 +0000 Subject: [PATCH] Regenerate client from commit c413fa4 of spec repo --- .generator/schemas/v2/openapi.yaml | 136 +++++------------- docs/datadog_api_client.v2.model.rst | 21 --- .../ListCostTagMetadataMonths.py | 16 --- .../v2/storage-management/DeleteSyncConfig.py | 13 ++ src/datadog_api_client/configuration.py | 1 - .../v2/api/cloud_cost_management_api.py | 45 ------ .../v2/api/storage_management_api.py | 40 ++++++ .../v2/model/cost_tag_metadata_month.py | 46 ------ .../v2/model/cost_tag_metadata_month_type.py | 35 ----- .../cost_tag_metadata_months_response.py | 40 ------ src/datadog_api_client/v2/models/__init__.py | 6 - .../v2/features/cloud_cost_management.feature | 16 --- tests/v2/features/storage_management.feature | 20 ++- tests/v2/features/undo.json | 12 +- 14 files changed, 112 insertions(+), 335 deletions(-) delete mode 100644 examples/v2/cloud-cost-management/ListCostTagMetadataMonths.py create mode 100644 examples/v2/storage-management/DeleteSyncConfig.py delete mode 100644 src/datadog_api_client/v2/model/cost_tag_metadata_month.py delete mode 100644 src/datadog_api_client/v2/model/cost_tag_metadata_month_type.py delete mode 100644 src/datadog_api_client/v2/model/cost_tag_metadata_months_response.py diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 795f35ac35..b7dd7b7daf 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -296,6 +296,14 @@ components: schema: format: int64 type: integer + CloudInventorySyncConfigID: + description: Unique identifier of the Storage Management configuration. + example: abc123 + in: path + name: id + required: true + schema: + type: string CloudWorkloadSecurityAgentRuleID: description: "The ID of the Agent rule" example: 3b5-v82-ns6 @@ -19897,45 +19905,6 @@ components: x-enum-varnames: - "TRUE" - "FALSE" - CostTagMetadataMonth: - description: A month that has Cloud Cost Management tag metadata available for a given provider. - properties: - id: - description: The month, in `YYYY-MM` format. - example: "2026-04" - type: string - type: - $ref: "#/components/schemas/CostTagMetadataMonthType" - required: - - id - - type - type: object - CostTagMetadataMonthType: - default: cost_tag_metadata_month - description: Type of the Cloud Cost Management tag metadata month resource. - enum: - - cost_tag_metadata_month - example: cost_tag_metadata_month - type: string - x-enum-varnames: - - COST_TAG_METADATA_MONTH - CostTagMetadataMonthsResponse: - description: List of months that have Cloud Cost Management tag metadata for the requested provider, ordered most-recent first and capped at 36 months. - example: - data: - - id: "2026-04" - type: cost_tag_metadata_month - - id: "2026-03" - type: cost_tag_metadata_month - properties: - data: - description: List of months that have tag metadata available. - items: - $ref: "#/components/schemas/CostTagMetadataMonth" - type: array - required: - - data - type: object CostTagType: default: cost_tag description: Type of the Cloud Cost Management tag resource. @@ -107705,6 +107674,33 @@ paths: operator: OR permissions: - aws_configurations_manage + /api/v2/cloudinventoryservice/syncconfigs/{id}: + delete: + description: |- + Delete a Storage Management configuration by its unique identifier. Deleting a configuration stops inventory file synchronization for the associated cloud account. + operationId: DeleteSyncConfig + parameters: + - $ref: "#/components/parameters/CloudInventorySyncConfigID" + responses: + "204": + description: No Content + "403": + $ref: "#/components/responses/ForbiddenResponse" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + summary: Delete a Storage Management configuration + tags: + - Storage Management + "x-permission": + operator: OR + permissions: + - aws_configurations_manage /api/v2/code-coverage/branch/summary: post: description: |- @@ -111174,68 +111170,6 @@ paths: x-unstable: |- **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). - /api/v2/cost/tag_metadata/months: - get: - description: |- - List months that have Cloud Cost Management tag metadata for a given provider, - ordered most-recent first. The response is capped at 36 months. - operationId: ListCostTagMetadataMonths - parameters: - - description: |- - Provider to scope the query to. Use the value of the `providername` tag in CCM - (for example, `aws`, `azure`, `gcp`, `Oracle`, `Confluent Cloud`, `Snowflake`). - For costs uploaded through the Custom Costs API, use `custom`. - Values are case-sensitive. - example: aws - in: query - name: filter[provider] - required: true - schema: - type: string - responses: - "200": - content: - application/json: - examples: - default: - value: - data: - - id: "2026-04" - type: cost_tag_metadata_month - - id: "2026-03" - type: cost_tag_metadata_month - schema: - $ref: "#/components/schemas/CostTagMetadataMonthsResponse" - description: OK - "400": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Bad Request - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Forbidden - "429": - $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - cloud_cost_management_read - summary: List Cloud Cost Management tag metadata months - tags: - - Cloud Cost Management - "x-permission": - operator: OR - permissions: - - cloud_cost_management_read - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cost/tag_metadata/orchestrators: get: description: List container orchestrators (for example, `kubernetes`, `ecs`) detected in Cloud Cost Management data for the requested period. diff --git a/docs/datadog_api_client.v2.model.rst b/docs/datadog_api_client.v2.model.rst index 203d259c74..48710cf4f3 100644 --- a/docs/datadog_api_client.v2.model.rst +++ b/docs/datadog_api_client.v2.model.rst @@ -7872,27 +7872,6 @@ datadog\_api\_client.v2.model.cost\_tag\_metadata\_daily\_filter module :members: :show-inheritance: -datadog\_api\_client.v2.model.cost\_tag\_metadata\_month module ---------------------------------------------------------------- - -.. automodule:: datadog_api_client.v2.model.cost_tag_metadata_month - :members: - :show-inheritance: - -datadog\_api\_client.v2.model.cost\_tag\_metadata\_month\_type module ---------------------------------------------------------------------- - -.. automodule:: datadog_api_client.v2.model.cost_tag_metadata_month_type - :members: - :show-inheritance: - -datadog\_api\_client.v2.model.cost\_tag\_metadata\_months\_response module --------------------------------------------------------------------------- - -.. automodule:: datadog_api_client.v2.model.cost_tag_metadata_months_response - :members: - :show-inheritance: - datadog\_api\_client.v2.model.cost\_tag\_type module ---------------------------------------------------- diff --git a/examples/v2/cloud-cost-management/ListCostTagMetadataMonths.py b/examples/v2/cloud-cost-management/ListCostTagMetadataMonths.py deleted file mode 100644 index 1937d1692f..0000000000 --- a/examples/v2/cloud-cost-management/ListCostTagMetadataMonths.py +++ /dev/null @@ -1,16 +0,0 @@ -""" -List Cloud Cost Management tag metadata months returns "OK" response -""" - -from datadog_api_client import ApiClient, Configuration -from datadog_api_client.v2.api.cloud_cost_management_api import CloudCostManagementApi - -configuration = Configuration() -configuration.unstable_operations["list_cost_tag_metadata_months"] = True -with ApiClient(configuration) as api_client: - api_instance = CloudCostManagementApi(api_client) - response = api_instance.list_cost_tag_metadata_months( - filter_provider="filter[provider]", - ) - - print(response) diff --git a/examples/v2/storage-management/DeleteSyncConfig.py b/examples/v2/storage-management/DeleteSyncConfig.py new file mode 100644 index 0000000000..3ce14c7b82 --- /dev/null +++ b/examples/v2/storage-management/DeleteSyncConfig.py @@ -0,0 +1,13 @@ +""" +Delete a Storage Management configuration returns "No Content" response +""" + +from datadog_api_client import ApiClient, Configuration +from datadog_api_client.v2.api.storage_management_api import StorageManagementApi + +configuration = Configuration() +with ApiClient(configuration) as api_client: + api_instance = StorageManagementApi(api_client) + api_instance.delete_sync_config( + id="id", + ) diff --git a/src/datadog_api_client/configuration.py b/src/datadog_api_client/configuration.py index f58ee9964c..8c495dc5dd 100644 --- a/src/datadog_api_client/configuration.py +++ b/src/datadog_api_client/configuration.py @@ -445,7 +445,6 @@ def __init__( "v2.list_cost_tag_key_sources": False, "v2.list_cost_tag_metadata": False, "v2.list_cost_tag_metadata_metrics": False, - "v2.list_cost_tag_metadata_months": False, "v2.list_cost_tag_metadata_orchestrators": False, "v2.search_cost_recommendations": False, "v2.create_dashboard_secure_embed": False, diff --git a/src/datadog_api_client/v2/api/cloud_cost_management_api.py b/src/datadog_api_client/v2/api/cloud_cost_management_api.py index 87248097b9..654644f9dd 100644 --- a/src/datadog_api_client/v2/api/cloud_cost_management_api.py +++ b/src/datadog_api_client/v2/api/cloud_cost_management_api.py @@ -65,7 +65,6 @@ from datadog_api_client.v2.model.cost_tag_metadata_daily_filter import CostTagMetadataDailyFilter from datadog_api_client.v2.model.cost_currency_response import CostCurrencyResponse from datadog_api_client.v2.model.cost_metrics_response import CostMetricsResponse -from datadog_api_client.v2.model.cost_tag_metadata_months_response import CostTagMetadataMonthsResponse from datadog_api_client.v2.model.cost_orchestrators_response import CostOrchestratorsResponse from datadog_api_client.v2.model.cost_tag_key_sources_response import CostTagKeySourcesResponse from datadog_api_client.v2.model.cost_tags_response import CostTagsResponse @@ -1283,29 +1282,6 @@ def __init__(self, api_client=None): api_client=api_client, ) - self._list_cost_tag_metadata_months_endpoint = _Endpoint( - settings={ - "response_type": (CostTagMetadataMonthsResponse,), - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], - "endpoint_path": "/api/v2/cost/tag_metadata/months", - "operation_id": "list_cost_tag_metadata_months", - "http_method": "GET", - "version": "v2", - }, - params_map={ - "filter_provider": { - "required": True, - "openapi_types": (str,), - "attribute": "filter[provider]", - "location": "query", - }, - }, - headers_map={ - "accept": ["application/json"], - }, - api_client=api_client, - ) - self._list_cost_tag_metadata_orchestrators_endpoint = _Endpoint( settings={ "response_type": (CostOrchestratorsResponse,), @@ -2796,27 +2772,6 @@ def list_cost_tag_metadata_metrics( return self._list_cost_tag_metadata_metrics_endpoint.call_with_http_info(**kwargs) - def list_cost_tag_metadata_months( - self, - filter_provider: str, - ) -> CostTagMetadataMonthsResponse: - """List Cloud Cost Management tag metadata months. - - List months that have Cloud Cost Management tag metadata for a given provider, - ordered most-recent first. The response is capped at 36 months. - - :param filter_provider: Provider to scope the query to. Use the value of the ``providername`` tag in CCM - (for example, ``aws`` , ``azure`` , ``gcp`` , ``Oracle`` , ``Confluent Cloud`` , ``Snowflake`` ). - For costs uploaded through the Custom Costs API, use ``custom``. - Values are case-sensitive. - :type filter_provider: str - :rtype: CostTagMetadataMonthsResponse - """ - kwargs: Dict[str, Any] = {} - kwargs["filter_provider"] = filter_provider - - return self._list_cost_tag_metadata_months_endpoint.call_with_http_info(**kwargs) - def list_cost_tag_metadata_orchestrators( self, filter_month: str, diff --git a/src/datadog_api_client/v2/api/storage_management_api.py b/src/datadog_api_client/v2/api/storage_management_api.py index c900bc02ea..d528a75c50 100644 --- a/src/datadog_api_client/v2/api/storage_management_api.py +++ b/src/datadog_api_client/v2/api/storage_management_api.py @@ -21,6 +21,29 @@ def __init__(self, api_client=None): api_client = ApiClient(Configuration()) self.api_client = api_client + self._delete_sync_config_endpoint = _Endpoint( + settings={ + "response_type": None, + "auth": ["apiKeyAuth", "appKeyAuth"], + "endpoint_path": "/api/v2/cloudinventoryservice/syncconfigs/{id}", + "operation_id": "delete_sync_config", + "http_method": "DELETE", + "version": "v2", + }, + params_map={ + "id": { + "required": True, + "openapi_types": (str,), + "attribute": "id", + "location": "path", + }, + }, + headers_map={ + "accept": ["*/*"], + }, + api_client=api_client, + ) + self._upsert_sync_config_endpoint = _Endpoint( settings={ "response_type": (CloudInventorySyncConfigResponse,), @@ -41,6 +64,23 @@ def __init__(self, api_client=None): api_client=api_client, ) + def delete_sync_config( + self, + id: str, + ) -> None: + """Delete a Storage Management configuration. + + Delete a Storage Management configuration by its unique identifier. Deleting a configuration stops inventory file synchronization for the associated cloud account. + + :param id: Unique identifier of the Storage Management configuration. + :type id: str + :rtype: None + """ + kwargs: Dict[str, Any] = {} + kwargs["id"] = id + + return self._delete_sync_config_endpoint.call_with_http_info(**kwargs) + def upsert_sync_config( self, body: UpsertCloudInventorySyncConfigRequest, diff --git a/src/datadog_api_client/v2/model/cost_tag_metadata_month.py b/src/datadog_api_client/v2/model/cost_tag_metadata_month.py deleted file mode 100644 index 4289c4ec43..0000000000 --- a/src/datadog_api_client/v2/model/cost_tag_metadata_month.py +++ /dev/null @@ -1,46 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. -from __future__ import annotations - -from typing import TYPE_CHECKING - -from datadog_api_client.model_utils import ( - ModelNormal, - cached_property, -) - - -if TYPE_CHECKING: - from datadog_api_client.v2.model.cost_tag_metadata_month_type import CostTagMetadataMonthType - - -class CostTagMetadataMonth(ModelNormal): - @cached_property - def openapi_types(_): - from datadog_api_client.v2.model.cost_tag_metadata_month_type import CostTagMetadataMonthType - - return { - "id": (str,), - "type": (CostTagMetadataMonthType,), - } - - attribute_map = { - "id": "id", - "type": "type", - } - - def __init__(self_, id: str, type: CostTagMetadataMonthType, **kwargs): - """ - A month that has Cloud Cost Management tag metadata available for a given provider. - - :param id: The month, in ``YYYY-MM`` format. - :type id: str - - :param type: Type of the Cloud Cost Management tag metadata month resource. - :type type: CostTagMetadataMonthType - """ - super().__init__(kwargs) - - self_.id = id - self_.type = type diff --git a/src/datadog_api_client/v2/model/cost_tag_metadata_month_type.py b/src/datadog_api_client/v2/model/cost_tag_metadata_month_type.py deleted file mode 100644 index 3389c4d686..0000000000 --- a/src/datadog_api_client/v2/model/cost_tag_metadata_month_type.py +++ /dev/null @@ -1,35 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. -from __future__ import annotations - - -from datadog_api_client.model_utils import ( - ModelSimple, - cached_property, -) - -from typing import ClassVar - - -class CostTagMetadataMonthType(ModelSimple): - """ - Type of the Cloud Cost Management tag metadata month resource. - - :param value: If omitted defaults to "cost_tag_metadata_month". Must be one of ["cost_tag_metadata_month"]. - :type value: str - """ - - allowed_values = { - "cost_tag_metadata_month", - } - COST_TAG_METADATA_MONTH: ClassVar["CostTagMetadataMonthType"] - - @cached_property - def openapi_types(_): - return { - "value": (str,), - } - - -CostTagMetadataMonthType.COST_TAG_METADATA_MONTH = CostTagMetadataMonthType("cost_tag_metadata_month") diff --git a/src/datadog_api_client/v2/model/cost_tag_metadata_months_response.py b/src/datadog_api_client/v2/model/cost_tag_metadata_months_response.py deleted file mode 100644 index a1a70c72ce..0000000000 --- a/src/datadog_api_client/v2/model/cost_tag_metadata_months_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. -from __future__ import annotations - -from typing import List, TYPE_CHECKING - -from datadog_api_client.model_utils import ( - ModelNormal, - cached_property, -) - - -if TYPE_CHECKING: - from datadog_api_client.v2.model.cost_tag_metadata_month import CostTagMetadataMonth - - -class CostTagMetadataMonthsResponse(ModelNormal): - @cached_property - def openapi_types(_): - from datadog_api_client.v2.model.cost_tag_metadata_month import CostTagMetadataMonth - - return { - "data": ([CostTagMetadataMonth],), - } - - attribute_map = { - "data": "data", - } - - def __init__(self_, data: List[CostTagMetadataMonth], **kwargs): - """ - List of months that have Cloud Cost Management tag metadata for the requested provider, ordered most-recent first and capped at 36 months. - - :param data: List of months that have tag metadata available. - :type data: [CostTagMetadataMonth] - """ - super().__init__(kwargs) - - self_.data = data diff --git a/src/datadog_api_client/v2/models/__init__.py b/src/datadog_api_client/v2/models/__init__.py index 71577769a7..73ad5c5d31 100644 --- a/src/datadog_api_client/v2/models/__init__.py +++ b/src/datadog_api_client/v2/models/__init__.py @@ -1434,9 +1434,6 @@ from datadog_api_client.v2.model.cost_tag_key_type import CostTagKeyType from datadog_api_client.v2.model.cost_tag_keys_response import CostTagKeysResponse from datadog_api_client.v2.model.cost_tag_metadata_daily_filter import CostTagMetadataDailyFilter -from datadog_api_client.v2.model.cost_tag_metadata_month import CostTagMetadataMonth -from datadog_api_client.v2.model.cost_tag_metadata_month_type import CostTagMetadataMonthType -from datadog_api_client.v2.model.cost_tag_metadata_months_response import CostTagMetadataMonthsResponse from datadog_api_client.v2.model.cost_tag_type import CostTagType from datadog_api_client.v2.model.cost_tags_response import CostTagsResponse from datadog_api_client.v2.model.coverage_summary_attributes import CoverageSummaryAttributes @@ -9542,9 +9539,6 @@ "CostTagKeyType", "CostTagKeysResponse", "CostTagMetadataDailyFilter", - "CostTagMetadataMonth", - "CostTagMetadataMonthType", - "CostTagMetadataMonthsResponse", "CostTagType", "CostTagsResponse", "CoverageSummaryAttributes", diff --git a/tests/v2/features/cloud_cost_management.feature b/tests/v2/features/cloud_cost_management.feature index b41928f4cb..17779e4599 100644 --- a/tests/v2/features/cloud_cost_management.feature +++ b/tests/v2/features/cloud_cost_management.feature @@ -606,22 +606,6 @@ Feature: Cloud Cost Management When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/cloud-cost-management - Scenario: List Cloud Cost Management tag metadata months returns "Bad Request" response - Given operation "ListCostTagMetadataMonths" enabled - And new "ListCostTagMetadataMonths" request - And request contains "filter[provider]" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/cloud-cost-management - Scenario: List Cloud Cost Management tag metadata months returns "OK" response - Given operation "ListCostTagMetadataMonths" enabled - And new "ListCostTagMetadataMonths" request - And request contains "filter[provider]" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 200 OK - @generated @skip @team:DataDog/cloud-cost-management Scenario: List Cloud Cost Management tag sources returns "Bad Request" response Given operation "ListCostTagKeySources" enabled diff --git a/tests/v2/features/storage_management.feature b/tests/v2/features/storage_management.feature index cde4a4e987..ae0a179453 100644 --- a/tests/v2/features/storage_management.feature +++ b/tests/v2/features/storage_management.feature @@ -8,15 +8,31 @@ Feature: Storage Management Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system And an instance of "StorageManagement" API - And new "UpsertSyncConfig" request - And body with value {"data": {"attributes": {"aws": {"aws_account_id": "123456789012", "destination_bucket_name": "my-inventory-bucket", "destination_bucket_region": "us-east-1", "destination_prefix": "logs/"}, "azure": {"client_id": "11111111-1111-1111-1111-111111111111", "container": "inventory-container", "resource_group": "my-resource-group", "storage_account": "mystorageaccount", "subscription_id": "33333333-3333-3333-3333-333333333333", "tenant_id": "22222222-2222-2222-2222-222222222222"}, "gcp": {"destination_bucket_name": "my-inventory-reports", "project_id": "my-gcp-project", "service_account_email": "reader@my-gcp-project.iam.gserviceaccount.com", "source_bucket_name": "my-monitored-bucket"}}, "id": "aws", "type": "cloud_provider"}} + + @generated @skip @team:DataDog/storage-management + Scenario: Delete a Storage Management configuration returns "No Content" response + Given new "DeleteSyncConfig" request + And request contains "id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 204 No Content + + @generated @skip @team:DataDog/storage-management + Scenario: Delete a Storage Management configuration returns "Not Found" response + Given new "DeleteSyncConfig" request + And request contains "id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found @generated @skip @team:DataDog/storage-management Scenario: Enable Storage Management for a bucket returns "Bad Request" response + Given new "UpsertSyncConfig" request + And body with value {"data": {"attributes": {"aws": {"aws_account_id": "123456789012", "destination_bucket_name": "my-inventory-bucket", "destination_bucket_region": "us-east-1", "destination_prefix": "logs/"}, "azure": {"client_id": "11111111-1111-1111-1111-111111111111", "container": "inventory-container", "resource_group": "my-resource-group", "storage_account": "mystorageaccount", "subscription_id": "33333333-3333-3333-3333-333333333333", "tenant_id": "22222222-2222-2222-2222-222222222222"}, "gcp": {"destination_bucket_name": "my-inventory-reports", "project_id": "my-gcp-project", "service_account_email": "reader@my-gcp-project.iam.gserviceaccount.com", "source_bucket_name": "my-monitored-bucket"}}, "id": "aws", "type": "cloud_provider"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/storage-management Scenario: Enable Storage Management for a bucket returns "OK" response + Given new "UpsertSyncConfig" request + And body with value {"data": {"attributes": {"aws": {"aws_account_id": "123456789012", "destination_bucket_name": "my-inventory-bucket", "destination_bucket_region": "us-east-1", "destination_prefix": "logs/"}, "azure": {"client_id": "11111111-1111-1111-1111-111111111111", "container": "inventory-container", "resource_group": "my-resource-group", "storage_account": "mystorageaccount", "subscription_id": "33333333-3333-3333-3333-333333333333", "tenant_id": "22222222-2222-2222-2222-222222222222"}, "gcp": {"destination_bucket_name": "my-inventory-reports", "project_id": "my-gcp-project", "service_account_email": "reader@my-gcp-project.iam.gserviceaccount.com", "source_bucket_name": "my-monitored-bucket"}}, "id": "aws", "type": "cloud_provider"}} When the request is sent Then the response status is 200 OK diff --git a/tests/v2/features/undo.json b/tests/v2/features/undo.json index 09d6acff28..d00a53b301 100644 --- a/tests/v2/features/undo.json +++ b/tests/v2/features/undo.json @@ -1561,6 +1561,12 @@ "type": "idempotent" } }, + "DeleteSyncConfig": { + "tag": "Storage Management", + "undo": { + "type": "idempotent" + } + }, "GetCodeCoverageBranchSummary": { "tag": "Code Coverage", "undo": { @@ -1898,12 +1904,6 @@ "type": "safe" } }, - "ListCostTagMetadataMonths": { - "tag": "Cloud Cost Management", - "undo": { - "type": "safe" - } - }, "ListCostTagMetadataOrchestrators": { "tag": "Cloud Cost Management", "undo": {