Sha256: ccdd9062beb44d243b83dc3983722bd9b9400192e52ae4c84c8fd8eeec42510f

Contents?: true

Size: 714 Bytes

Versions: 3

Compression:

Stored size: 714 Bytes

Contents

# Delete an Azure integration returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AzureIntegrationAPI.new

body = DatadogAPIClient::V1::AzureAccount.new({
  app_service_plan_filters: "key:value,filter:example",
  automute: true,
  client_id: "testc7f6-1234-5678-9101-3fcbf464test",
  client_secret: "testingx./Sw*g/Y33t..R1cH+hScMDt",
  cspm_enabled: true,
  custom_metrics_enabled: true,
  errors: [
    "*",
  ],
  host_filters: "key:value,filter:example",
  new_client_id: "new1c7f6-1234-5678-9101-3fcbf464test",
  new_tenant_name: "new1c44-1234-5678-9101-cc00736ftest",
  tenant_name: "testc44-1234-5678-9101-cc00736ftest",
})
p api_instance.delete_azure_integration(body)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datadog_api_client-2.16.0 examples/v1/azure-integration/DeleteAzureIntegration.rb
datadog_api_client-2.15.0 examples/v1/azure-integration/DeleteAzureIntegration.rb
datadog_api_client-2.14.0 examples/v1/azure-integration/DeleteAzureIntegration.rb