{
  "description": "AllocationResult contains attributes of an allocated resource.",
  "properties": {
    "availableOnNodes": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.NodeSelector",
      "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere."
    },
    "resourceHandles": {
      "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in.",
      "items": {
        "$ref": "/api/_definitions.json#/$defs/io.k8s.api.resource.v1alpha2.ResourceHandle"
      },
      "type": [
        "array",
        "null"
      ],
      "x-kubernetes-list-type": "atomic"
    },
    "shareable": {
      "description": "Shareable determines whether the resource supports more than one consumer at a time.",
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/allocationresult/resource/v1alpha2"
}