Sha256: cf5efdbffaac50b2502f971d7b8c9dfe3ae70a6f788e23601b66f9d10f6af92c

Contents?: true

Size: 804 Bytes

Versions: 1

Compression:

Stored size: 804 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: "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",
  resource_collection_enabled: true,
  tenant_name: "testc44-1234-5678-9101-cc00736ftest",
})
p api_instance.create_azure_integration(body)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-2.18.0 examples/v1/azure-integration/CreateAzureIntegration.rb