Sha256: d28635f63d3e0d38922bae8f92f104984663e28151b90dcc910a43a03a1743d7

Contents?: true

Size: 530 Bytes

Versions: 14

Compression:

Stored size: 530 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: "test-rum-5c67ebb32077e1d9",
      type: "ios",
    }),
    type: DatadogAPIClient::V2::RUMApplicationCreateType::RUM_APPLICATION_CREATE,
  }),
})
p api_instance.create_rum_application(body)

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.28.1 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.27.1 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.26.1 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.26.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.25.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.24.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.22.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.21.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.20.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.19.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.18.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.17.0 examples/v2/rum/CreateRUMApplication.rb
datadog_api_client-2.16.0 examples/v2/rum/CreateRUMApplication.rb