Sha256: f109b1d2d9276451aa2e9bc0446ef66b158e1f6149c11e2af3696573a6f45c3c

Contents?: true

Size: 725 Bytes

Versions: 3

Compression:

Stored size: 725 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: "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.update_azure_host_filters(body)

Version data entries

3 entries across 3 versions & 1 rubygems

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