Sha256: 7dd95d99bf4c19adc8e39addd5793d13f4f36b192451313635c6a6f296edef6d
Contents?: true
Size: 775 Bytes
Versions: 1
Compression:
Stored size: 775 Bytes
Contents
require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations[:update_incident_service] = true end api_instance = DatadogAPIClient::V2::IncidentServicesAPI.new service_id = "service_id_example" # String | The ID of the incident service. body = DatadogAPIClient::V2::IncidentServiceUpdateRequest.new({ data: DatadogAPIClient::V2::IncidentServiceUpdateData.new({ type: DatadogAPIClient::V2::IncidentServiceType::SERVICES }) }) # IncidentServiceUpdateRequest | Incident Service Payload. begin # Update an existing incident service result = api_instance.update_incident_service(service_id, body) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling IncidentServicesAPI->update_incident_service: #{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/UpdateIncidentService.rb |