Spot · Schema

SubscriptionRequest

AutoscalingCloud InfrastructureContainersCost OptimizationFinOpsKubernetesSpot Instances

Properties

Name Type Description
subscription object
View JSON Schema on GitHub

JSON Schema

spot-subscriptionrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SubscriptionRequest",
  "title": "SubscriptionRequest",
  "type": "object",
  "properties": {
    "subscription": {
      "type": "object",
      "properties": {
        "resourceId": {
          "type": "string"
        },
        "protocol": {
          "type": "string",
          "enum": [
            "http",
            "https",
            "email",
            "email-json",
            "aws-sns",
            "web"
          ]
        },
        "endpoint": {
          "type": "string"
        },
        "eventType": {
          "type": "string"
        }
      },
      "example": "example_value"
    }
  }
}