{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-instances/refs/heads/main/json-structure/azure-container-instances-gpu-resource-structure.json",
  "description": "The GPU resource.",
  "type": "object",
  "properties": {
    "count": {
      "description": "The count of the GPU resource.",
      "format": "int32",
      "type": "integer"
    },
    "sku": {
      "description": "The SKU of the GPU resource.",
      "enum": [
        "K80",
        "P100",
        "V100"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "GpuSku"
      }
    }
  },
  "required": [
    "count",
    "sku"
  ],
  "name": "GpuResource"
}