Sha256: f51a31296816711073de90fb92f23f9fff2dfde3c6e9c2e50763cebec9b6dacf

Contents?: true

Size: 527 Bytes

Versions: 15

Compression:

Stored size: 527 Bytes

Contents

# Create a new RUM application returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::RUMAPI.new

body = DatadogAPIClient::V2::RUMApplicationCreateRequest.new({
  data: DatadogAPIClient::V2::RUMApplicationCreate.new({
    attributes: DatadogAPIClient::V2::RUMApplicationCreateAttributes.new({
      name: "my_new_rum_application",
      type: "ios",
    }),
    type: DatadogAPIClient::V2::RUMApplicationCreateType::RUM_APPLICATION_CREATE,
  }),
})
p api_instance.create_rum_application(body)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
datadog_api_client-2.15.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.14.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.13.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.12.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.11.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.10.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.9.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.8.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.7.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.6.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.5.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.4.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.3.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.2.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.1.0 examples/v2/rum/CreateRUMApplication.rb