Sha256: ee437e13ad764d31a8233e428145200716b8d49417a7f73f221eaad9b3e237d5
Contents?: true
Size: 846 Bytes
Versions: 1
Compression:
Stored size: 846 Bytes
Contents
require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations[:list_incident_services] = true end api_instance = DatadogAPIClient::V2::IncidentServicesAPI.new opts = { include: DatadogAPIClient::V2::IncidentRelatedObject::USERS, # IncidentRelatedObject | Specifies which types of related objects should be included in the response. page_size: 10, # Integer | Size for a given page. page_offset: 0, # Integer | Specific offset to use as the beginning of the returned page. filter: "ExampleServiceName", # String | A search query that filters services by name. } begin # Get a list of all incident services result = api_instance.list_incident_services(opts) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling IncidentServicesAPI->list_incident_services: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v2/incident-services/ListIncidentServices.rb |