Sha256: 3378845ea79e23cceb9c47d686b39b441969340d25903ab76c896c2be09fe17e

Contents?: true

Size: 981 Bytes

Versions: 5

Compression:

Stored size: 981 Bytes

Contents

# Update Azure integration host filters 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: "TestingRh2nx664kUy5dIApvM54T4AtO",
  container_app_filters: "key:value,filter:example",
  cspm_enabled: true,
  custom_metrics_enabled: true,
  errors: [
    "*",
  ],
  host_filters: "key:value,filter:example",
  metrics_config: DatadogAPIClient::V1::AzureAccountMetricsConfig.new({
    excluded_resource_providers: [
      "Microsoft.Sql",
      "Microsoft.Cdn",
    ],
  }),
  new_client_id: "new1c7f6-1234-5678-9101-3fcbf464test",
  new_tenant_name: "new1c44-1234-5678-9101-cc00736ftest",
  resource_collection_enabled: true,
  tenant_name: "testc44-1234-5678-9101-cc00736ftest",
})
p api_instance.update_azure_host_filters(body)

Version data entries

5 entries across 5 versions & 1 rubygems

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