Sha256: 2efad6f94fe5c4d277f9c44440335e7288ed0c10d3c79f6b6d7f8ca9fd7c7d29

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::PagerDutyIntegrationAPI.new
body = DatadogAPIClient::V1::PagerDutyService.new({ service_key: "service_key_example", service_name: "service_name_example" }) # PagerDutyService | Create a new service object request body.

begin
  # Create a new service object
  result = api_instance.create_pager_duty_integration_service(body)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling PagerDutyIntegrationAPI->create_pager_duty_integration_service: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/pager-duty-integration/CreatePagerDutyIntegrationService.rb