Sha256: 840282d840c5fd15eb1c5f55485099e2d4233f028d3c28ef7655d86c79251857
Contents?: true
Size: 665 Bytes
Versions: 7
Compression:
Stored size: 665 Bytes
Contents
# Create a new incident service returns "CREATED" response require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations[:create_incident_service] = true end api_instance = DatadogAPIClient::V2::IncidentServicesAPI.new body = DatadogAPIClient::V2::IncidentServiceCreateRequest.new({ data: DatadogAPIClient::V2::IncidentServiceCreateData.new({ type: DatadogAPIClient::V2::IncidentServiceType::SERVICES, attributes: DatadogAPIClient::V2::IncidentServiceCreateAttributes.new({ name: "Example-Create_a_new_incident_service_returns_CREATED_response", }), }), }) p api_instance.create_incident_service(body)
Version data entries
7 entries across 7 versions & 1 rubygems