Sha256: 8a2c7e5fba5b8a709e9dc3f083ec5607a9c4e025b8067731f7ce21b657b7ebd4

Contents?: true

Size: 806 Bytes

Versions: 6

Compression:

Stored size: 806 Bytes

Contents

# Create 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: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
  client_secret: "TestingRh2nx664kUy5dIApvM54T4AtO",
  container_app_filters: "key:value,filter:example",
  cspm_enabled: true,
  custom_metrics_enabled: true,
  errors: [
    "*",
  ],
  host_filters: "key:value,filter:example",
  new_client_id: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
  new_tenant_name: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
  resource_collection_enabled: true,
  tenant_name: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
})
p api_instance.create_azure_integration(body)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v1/azure-integration/CreateAzureIntegration.rb
datadog_api_client-2.28.1 examples/v1/azure-integration/CreateAzureIntegration.rb
datadog_api_client-2.27.1 examples/v1/azure-integration/CreateAzureIntegration.rb
datadog_api_client-2.26.1 examples/v1/azure-integration/CreateAzureIntegration.rb
datadog_api_client-2.26.0 examples/v1/azure-integration/CreateAzureIntegration.rb
datadog_api_client-2.25.0 examples/v1/azure-integration/CreateAzureIntegration.rb