UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

58 lines (57 loc) 1.52 kB
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { ServiceCheckStatus } from "./ServiceCheckStatus"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * An object containing service check and status. */ export declare class ServiceCheck { /** * The check. */ "check": string; /** * The host name correlated with the check. */ "hostName": string; /** * Message containing check status. */ "message"?: string; /** * The status of a service check. Set to `0` for OK, `1` for warning, `2` for critical, and `3` for unknown. */ "status": ServiceCheckStatus; /** * Tags related to a check. */ "tags": Array<string>; /** * Time of check. */ "timestamp"?: number; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }