Get a Metric Threshold
get
                    /api/metric/Thresholds/{id}
Gets the metric threshold that matches the specified ID.
                Request
Path Parameters
                - 
                    id(required):  integer(int32)
                    
                    The ID of the metric threshold to get.Example:1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
                - application/json
200 Response
Successful operation
                            
                            
                                Root Schema : schema
    
    	
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    
        
    
        
    
    Show Source
    - 
                
                object 
                
                
             SuccessfulGetOperation
                
            The response body for a successful get operation.
- 
                
                object 
                
                
             type
                
            
Nested Schema : SuccessfulGetOperation
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe response body for a successful get operation.
    
    
    
    
        Show Source
        - 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:Loaded 1 entries
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or a failure (false).Example:true
Nested Schema : type
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    data: array
                    
                    
                
                
                    data
                
                
                The metric threshold that matches the specified ID.
- 
                
                    
                    total: integer
                    
                    
                     
                    
                
                
                The total number of results regardless of paging.Example:1
Nested Schema : metricThresholdsRead
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    AbnormalProfileID: integer
                    
                    
                     
                    
                
                
                The abnormal profile ID, used by abnormal thresholds only. For all other threshold types, the value of this is 0.Example:0
- 
                
                    
                    AbnormalProfileName: string
                    
                    
                     
                    
                
                
                The abnormal profile name, used by abnormal thresholds only. For all other threshold types, the value of this is None.Example:None
- 
                
                    
                    CheckLocation: integer
                    
                    
                     
                    
                
                
                The location of threshold checking, for standard thresholds only. Allowed Values are 1 for the Threshold Engine or 2 for an application.Example:1
- 
                
                    
                    CheckLocationName: string
                    
                    
                     
                    
                
                
                The name of the check location.Example:Threshold Engine
- 
                
                    
                    CriticalOperator: string
                    
                    
                     
                    
                
                
                The critical threshold comparison operator. Allowed values are:- ==
- !=
- >
- >=
- <
- <=
 Example:==
- 
                
                    
                    CriticalSeverity: integer
                    
                    
                     
                    
                
                
                The critical severity, used in the warning event. Allowed Values are:- 0: Normal
- 1: Info
- 2: Unknown
- 3: Minor
- 4: Major
- 5: Critical
 Example:5
- 
                
                    
                    CriticalValue: number
                    
                    
                     
                    
                
                
                The critical value to test for.Example:0
- 
                
                    
                    ForecastTimeRange: string
                    
                    
                     
                    
                
                
                Used when Type is set to Trend Prediction. The relative time, starting now, to use when predicting when the metric value will breach the threshold. For example, set it to 6M to notify when the threshold is expected to be breached within six months.
 The format is a combination of a numerical value and one of the following duration values:- m: Minutes
- h: Hours
- d: Days
- w: Weeks
- M: Months
- Y: Years
 Example:6M
- 
                
                    
                    Frequency: string
                    
                    
                     
                    
                
                
                Used when Type is set to Standard and CheckLocation is set to Threshold Engine. How often the threshold is checked. This should not be less than the PollTime for the Standard Thresholding Engine (default is one minute) or the metric the threshold is for (default is five minutes).
 The format is a combination of a numerical value and one of the following duration values:- m: Minutes
- h: Hours
- d: Days
- w: Weeks
- M: Months
- Y: Years
 Example:5m
- 
                
                    
                    Measurement: string
                    
                    
                     
                    
                
                
                The string representing the metric stored in the Metric database.Example:metrictype_Latency
- 
                
                    
                    Message: string
                    
                    
                     
                    
                
                
                The message for the threshold event. Usually appears in an event's Summary field in the event list.Example:Performance threshold violation: Device Down
- 
                
                    
                    MetricField: string
                    
                    
                     
                    
                
                
                The data type that the threshold checks. Allowed values are:- availability
- utilization
- value
 Example:availability
- 
                
                    
                    MetricTypeName: string
                    
                    
                     
                    
                
                
                The metric type name.Example:Latency
- 
                
                    
                    Offset: string
                    
                    
                     
                    
                
                
                Used when Type is set to Standard and CheckLocation is set to Threshold Engine. The offset to apply to the time range. For example, set to 5m to go back five minutes when checking the threshold to ensure most recent poll data is considered. Set to 0m for no offset.
 The format is a combination of a numerical value and one of the following duration values:- m: Minutes
- h: Hours
- d: Days
- w: Weeks
- M: Months
- Y: Years
 Example:0m
- 
                
                    
                    Status: string
                    
                    
                     
                    
                
                
                The metric threshold status. Either Disabled or Enabled.Example:Enabled
- 
                
                    
                    StatusIcon: string
                    
                    
                     
                    
                
                
                The metric threshold status icon. For example, a green orb for enabled status.Example:OrbGreen.png
- 
                
                    
                    StatusID: boolean
                    
                    
                     
                    
                
                
                The metric threshold status ID. Either 0 (disabled) or 1 (enabled).Example:1
- 
                
                    
                    ThresholdFunctionID: integer
                    
                    
                     
                    
                
                
                The threshold function ID.Example:1
- 
                
                    
                    ThresholdFunctionName: string
                    
                    
                     
                    
                
                
                The threshold function name. Allowed values are:- 95th Percentile: Use when you do not want to count infrequently-occurring high outliers and odd values, when most data points will be under a certain value.
- Count: Use to ensure there is no missing data, when you expect data points frequently. For example, if you expected a data point every minute, checking a TimeRange of X minutes every Y minutes shows if data is missing after the last Y minutes.
- Maximum: Use to ensure all data is below a certain value.
- Mean: Use to consider the average of the values.
- Minimum: Use to ensure the data never falls below a certain value.
- Standard Deviation: Use when the variation of data points should be below a certain value.
 Example:Mean
- 
                
                    
                    ThresholdID: integer
                    
                    
                     
                    
                
                
                The threshold ID.Example:1
- 
                
                    
                    ThresholdName: string
                    
                    
                     
                    
                
                
                The threshold name.Example:Device Down
- 
                
                    
                    ThresholdTypeID: integer
                    
                    
                     
                    
                
                
                The ID of the threshold type. Allowed values are:- 1: Availability - Standard
- 2: Performance Utilization - Standard
- 3: Performance Value - Standard
- 10: Trend % Daily - Advanced
- 14: Abnormal Daily - Advanced
- 16: Missing Data - Advanced
- 20: Trend Prediction Availability - Advanced
- 21: Trend Prediction Performance Utilization - Advanced
- 22: Trend Prediction Performance Value - Advanced
 Example:1
- 
                
                    
                    ThresholdTypeName: string
                    
                    
                     
                    
                
                
                The threshold type nameExample:Standard
- 
                
                    
                    TimeRange: string
                    
                    
                     
                    
                
                
                Unless Type is set to Abnormal, the period of time in which data points are retrieved and evaluated.
 This must be a combination of a numerical value and one of the following duration values:- m: Minutes
- h: Hours
- d: Days
- w: Weeks
- M: Months
- Y: Years
 Example:15m
- 
                
                    
                    WarningOperator: string
                    
                    
                     
                    
                
                
                The warning threshold comparison operator. Allowed values are:- ==
- !=
- >
- >=
- <
- <=
 Example:!=
- 
                
                    
                    WarningSeverity: integer
                    
                    
                     
                    
                
                
                The warning severity, used in the warning event. Allowed Values are:- 0: Normal
- 1: Info
- 2: Unknown
- 3: Minor
- 4: Major
- 5: Critical
 Example:3
- 
                
                    
                    WarningValue: number
                    
                    
                     
                    
                
                
                The warning value to test for.Example:0
Default Response
Failed operation
                            
                            
                                Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    errors: array
                    
                    
                
                
                    errors
                
                
                The list of errors reported. Validation errors will be keyed by record field.
- 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:Exception thrown
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or a failure (false).Example:false
Nested Schema : errors
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayThe list of errors reported. Validation errors will be keyed by record field.
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  items
            
            An error.
Nested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectAn error.