NSX-T Data Center REST API

UpdateStatusWithFiltersParameter (type)

{
  "extends": {
    "$ref": "AlarmFilterParameter"
  },
  "id": "UpdateStatusWithFiltersParameter",
  "module_id": "Monitoring",
  "properties": {
    "after": {
      "$ref": "EpochMsTimestamp",
      "description": "Filter to fetch alarms after the specified time.",
      "required": false,
      "title": "Filter to fetch alarms after the specified time"
    },
    "before": {
      "$ref": "EpochMsTimestamp",
      "description": "Filter to fetch alarms before the specified time.",
      "required": false,
      "title": "Filter to fetch alarms before the specified time"
    },
    "cursor": {
      "description": "Opaque cursor to be used for getting next page of records (supplied by current result page).",
      "readonly": false,
      "required": false,
      "title": "Cursor for pagination",
      "type": "string"
    },
    "event_tag": {
      "description": "Specify tags for which alarms should be filtered, for example, INFRASTRUCTURE or INTELLIGENCE.",
      "required": false,
      "title": "Event tag",
      "type": "string"
    },
    "event_type": {
      "description": "Specify one or more event types for which alarms should be filtered.",
      "required": false,
      "title": "Event Type Filter",
      "type": "string"
    },
    "feature_name": {
      "description": "Specify one or more feature names for which alarms should be filtered.",
      "required": false,
      "title": "Feature Name",
      "type": "string"
    },
    "id": {
      "description": "Specify one or more alarm IDs for which alarms should be filtered.",
      "required": false,
      "title": "Alarm ID",
      "type": "string"
    },
    "intent_path": {
      "description": "Specify one or more intent paths for which alarms should be filtered.",
      "required": false,
      "title": "Intent Path for entity ID",
      "type": "string"
    },
    "new_status": {
      "$ref": "MonitoringStatus",
      "description": "Specify new alarm status for filtered alarms. Can be one of OPEN, ACKNOWLEDGED, SUPPRESSED, RESOLVED.",
      "required": true,
      "title": "Status"
    },
    "node_id": {
      "description": "Specify one or more node IDs for which alarms should be filtered.",
      "required": false,
      "title": "Node ID",
      "type": "string"
    },
    "node_resource_type": {
      "description": "Specify one or more node resource types for which alarms should be filtered.",
      "required": false,
      "title": "Node Resource Type",
      "type": "string"
    },
    "org": {
      "description": "Specify Org ID for which alarms should be filtered.",
      "required": false,
      "title": "Org ID",
      "type": "string"
    },
    "page_size": {
      "description": "Maximum number of results to return in this page (server may return fewer).",
      "required": false,
      "title": "Page Size for pagination",
      "type": "integer"
    },
    "project": {
      "description": "Specify Project ID for which alarms should be filtered.",
      "required": false,
      "title": "Project ID",
      "type": "string"
    },
    "severity": {
      "description": "Specify one or more severity levels for which alarms should be filtered. Must be one of CRITICAL, HIGH, MEDIUM, LOW.",
      "required": false,
      "title": "Severity",
      "type": "string"
    },
    "sort_ascending": {
      "default": true,
      "description": "If true, the value of the column are sorted in ascending order. Otherwise, in descending order.",
      "required": false,
      "title": "Represents order of sorting the values",
      "type": "boolean"
    },
    "sort_by": {
      "description": "Sorting on column is based on the sort_by. sort_by represents the field in the output data on which sort is requested.",
      "required": false,
      "title": "Key for sorting on this column",
      "type": "string"
    },
    "status": {
      "description": "Specify one or more status for which alarms should be filtered. Must be one of OPEN, ACKNOWLEDGED, SUPPRESSED, RESOLVED.",
      "required": false,
      "title": "Status",
      "type": "string"
    },
    "suppress_duration": {
      "description": "Specify duration in hours for which Alarm should be suppressed.This value must be specified if the new_status is SUPPRESSED.",
      "title": "Duration in hours for which Alarm should be suppressed",
      "type": "integer"
    },
    "vpc": {
      "description": "Specify VPC ID for which alarms should be filtered.",
      "required": false,
      "title": "VPC ID",
      "type": "string"
    }
  },
  "title": "Parameters to update status of alarm",
  "type": "object"
}