Sha256: 9caa40c98bdb73a5482c07515afad33409fc0d77aa7e9af45cad3ffb9781c28f
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new body = DatadogAPIClient::V1::SyntheticsTriggerBody.new({ tests: [DatadogAPIClient::V1::SyntheticsTriggerTest.new({ public_id: "aaa-aaa-aaa" })] }) # SyntheticsTriggerBody | The identifiers of the tests to trigger. begin # Trigger Synthetics tests result = api_instance.trigger_tests(body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling SyntheticsAPI->trigger_tests: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/synthetics/TriggerTests.rb |