Sha256: 520b166a2b43dd724dd16574341938164084ad5d22b8d627c86bdaa24e6b7247

Contents?: true

Size: 767 Bytes

Versions: 1

Compression:

Stored size: 767 Bytes

Contents

# Update 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",
  container_app_filters: "key:value,filter:example",
  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_integration(body)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-2.17.0 examples/v1/azure-integration/UpdateAzureIntegration.rb