Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167690,7 +167690,6 @@ paths:
summary: Get tenancy configs
tags:
- OCI Integration
x-unstable: "**Note**: This endpoint may be subject to changes."
post:
description: >-
Create a new tenancy config to establish monitoring and data collection from your OCI environment. Requires OCI authentication credentials and tenancy details. Warning: Datadog recommends interacting with this endpoint only through the Datadog web UI to ensure all necessary OCI resources have been created and configured properly.
Expand Down Expand Up @@ -167767,7 +167766,6 @@ paths:
summary: Create tenancy config
tags:
- OCI Integration
x-unstable: "**Note**: This endpoint may be subject to changes."
/api/v2/integration/oci/tenancies/{tenancy_ocid}:
delete:
description: >-
Expand Down
1 change: 0 additions & 1 deletion examples/v2/oci-integration/CreateTenancyConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
)

configuration = Configuration()
configuration.unstable_operations["create_tenancy_config"] = True
with ApiClient(configuration) as api_client:
api_instance = OCIIntegrationApi(api_client)
response = api_instance.create_tenancy_config(body=body)
Expand Down
1 change: 0 additions & 1 deletion examples/v2/oci-integration/GetTenancyConfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from datadog_api_client.v2.api.oci_integration_api import OCIIntegrationApi

configuration = Configuration()
configuration.unstable_operations["get_tenancy_configs"] = True
with ApiClient(configuration) as api_client:
api_instance = OCIIntegrationApi(api_client)
response = api_instance.get_tenancy_configs()
Expand Down
2 changes: 0 additions & 2 deletions src/datadog_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,6 @@ def __init__(
"v2.list_jira_accounts": False,
"v2.list_jira_issue_templates": False,
"v2.update_jira_issue_template": False,
"v2.create_tenancy_config": False,
"v2.get_tenancy_configs": False,
"v2.add_role_to_restriction_query": False,
"v2.create_restriction_query": False,
"v2.delete_restriction_query": False,
Expand Down
6 changes: 2 additions & 4 deletions tests/v2/features/oci_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Feature: OCI Integration

@generated @skip @team:DataDog/emerging-cloud-integrations
Scenario: Create tenancy config returns "Created" response
Given operation "CreateTenancyConfig" enabled
And new "CreateTenancyConfig" request
Given new "CreateTenancyConfig" request
And body with value {"data": {"attributes": {"auth_credentials": {"fingerprint": "", "private_key": "----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCdvSMmlfLyeD4M\nQsA3WlrWBqKdWa5eVV3/uODyqT3wWMEMIJHcG3/quNs8nh9xrK1/JkQT2qoKEHqR\nC5k59jN6Vp8em8ARJthMgam9K37ELt+IQ/G8ySTSuqZG8T4cHp/cs3fAclNqttOl\nYnGr4RbVAgMBAAECggEAGZNLGbyCUbIRTW6Kh4d8ZVC+eZtJMqGmGJ3KfVaW8Pjn\nQGWfSuJCEe2o2Y8G3phlidFauICnZ44enXA17Rhi+I/whnr7FIyQk2bR7rv+1Uhc\nmOJygWX5eFFMsledgVAdIAl9Luk2nykx7Un3g6rtbl/Vs+5k4m7ITLFMpCHzsJLU\nnm8kBzDOqY2JUkMd08nL88KL6QywWtal05UESzQpNFXd0e5kxYfexeMCsLsWP0mc\nquMLRbn7NuBjCbe9VU2kmIvcfDDaWjurT7d5m1OXx1cc8p6P4PFZTVyCjdhiWOr3\nLQXZ4/vdZNR3zgEHypRoM6D9Yq99LWUOUEMrdiSLQQKBgQDQkh7C1OtAXnpy7F6R\nW+/I3zBHici2p7A57UT7VECQ1IVGg37/uus83DkuOtdZ33JmHLAVrwLFJvUlbyjx\nl6dc/1ms40L5HFdLgaVtd4k0rSPFeOSDr6evz0lX4yBuzlP0fEh+o3XHW7mwe2G+\nrWCULF/Uqza66fjbCSKMNgLIXQKBgQDBm9nZg/s4S0THWCFNWcB1tXBG0p/sH5eY\nPC1H/VmTEINIixStrS4ufczf31X8rcoSjSbO7+vZDTTATdk7OLn1I2uGFVYl8M59\n86BYT2Hi7cwp7YVzOc/cJigVeBAqSRW/iYYyWBEUTiW1gbkV0sRWwhPp67m+c0sP\nXpY/iEZA2QKBgB1w8tynt4l/jKNaUEMOijt9ndALWATIiOy0XG9pxi9rgGCiwTOS\nDBCsOXoYHjv2eayGUijNaoOv6xzcoxfvQ1WySdNIxTRq1ru20kYwgHKqGgmO9hrM\nmcwMY5r/WZ2qjFlPjeAqbL62aPDLidGjoaVo2iIoBPK/gjxQ/5f0MS4N/YQ0zWoYBueSQ0DGs\n-----END PRIVATE KEY-----"}, "config_version": null, "cost_collection_enabled": true, "dd_compartment_id": "ocid.compartment.test", "dd_stack_id": "ocid.stack.test", "home_region": "us-ashburn-1", "logs_config": {"compartment_tag_filters": ["datadog:true", "env:prod"], "enabled": true, "enabled_services": ["service_1", "service_2"]}, "metrics_config": {"compartment_tag_filters": ["datadog:true", "env:prod"], "enabled": true, "excluded_services": ["service_1", "service_2"]}, "regions_config": {"available": ["us-ashburn-1", "us-phoenix-1"], "disabled": ["us-phoenix-1"], "enabled": ["us-ashburn-1"]}, "resource_collection_enabled": true, "user_ocid": "ocid.user.test"}, "id": "ocid.tenancy.test", "type": "oci_tenancy"}}
When the request is sent
Then the response status is 201 Created
Expand All @@ -31,8 +30,7 @@ Feature: OCI Integration

@generated @skip @team:DataDog/emerging-cloud-integrations
Scenario: Get tenancy configs returns "OK" response
Given operation "GetTenancyConfigs" enabled
And new "GetTenancyConfigs" request
Given new "GetTenancyConfigs" request
When the request is sent
Then the response status is 200 OK

Expand Down
Loading