{
  "name": "PutMetricAlarm",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudMetrics.PutMetricAlarm",
    "service": "metrics"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "alarmName": {
        "type": "string"
      },
      "metricName": {
        "type": "string"
      },
      "namespace": {
        "type": "string"
      },
      "threshold": {
        "format": "double",
        "type": "number"
      }
    },
    "required": [
      "alarmName",
      "metricName",
      "namespace",
      "threshold"
    ],
    "title": "PutMetricAlarmRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "EmptyResponse",
    "type": "object"
  }
}
