Sha256: 076fab720da8a91a27a7ff8b0cffc9a7a1f3f60810b3d7c432e9b0712ab0393a

Contents?: true

Size: 806 Bytes

Versions: 5

Compression:

Stored size: 806 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: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
  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: "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.update_azure_integration(body)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_api_client-2.24.0 examples/v1/azure-integration/UpdateAzureIntegration.rb
datadog_api_client-2.22.0 examples/v1/azure-integration/UpdateAzureIntegration.rb
datadog_api_client-2.21.0 examples/v1/azure-integration/UpdateAzureIntegration.rb
datadog_api_client-2.20.0 examples/v1/azure-integration/UpdateAzureIntegration.rb
datadog_api_client-2.19.0 examples/v1/azure-integration/UpdateAzureIntegration.rb