{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-vmware-collector-list-result-schema.json",
  "title": "VmwareCollectorListResult",
  "description": "The response of a VmwareCollector list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-vmwarecollectorsoperations-api-openapi.yml#/components/schemas/VmwareCollectorListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The VmwareCollector items on this page",
      "items": {
        "$ref": "#/$defs/VmwareCollector"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AzureResourceProperties": {
      "type": "object",
      "description": "Common properties for all azure tracked and proxy resources.",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The status of the last operation."
        }
      }
    },
    "CollectorAgentPropertiesBase": {
      "type": "object",
      "description": "Collector agent property class.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Gets the collector agent id."
        },
        "version": {
          "type": "string",
          "description": "Gets the collector agent version."
        },
        "lastHeartbeatUtc": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the collector last heartbeat time."
        },
        "spnDetails": {
          "$ref": "#/$defs/CollectorAgentSpnPropertiesBase",
          "description": "Gets or sets the SPN details."
        }
      }
    },
    "CollectorAgentSpnPropertiesBase": {
      "type": "object",
      "description": "Collector agent SPN details class.",
      "properties": {
        "authority": {
          "type": "string",
          "description": "Gets the AAD authority endpoint."
        },
        "applicationId": {
          "type": "string",
          "description": "Gets the AAD application id."
        },
        "audience": {
          "type": "string",
          "description": "Gets the AAD audience url."
        },
        "objectId": {
          "type": "string",
          "description": "Gets the object id of the AAD application."
        },
        "tenantId": {
          "type": "string",
          "description": "Gets the tenant id of the AAD application."
        }
      }
    },
    "CollectorPropertiesBaseWithAgent": {
      "type": "object",
      "description": "Collector properties class.",
      "properties": {
        "agentProperties": {
          "$ref": "#/$defs/CollectorAgentPropertiesBase",
          "description": "Gets or sets the collector agent properties."
        },
        "discoverySiteId": {
          "type": "string",
          "description": "Gets the discovery site id."
        },
        "createdTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the Timestamp when collector was created.",
          "readOnly": true
        },
        "updatedTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when collector was last updated.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/AzureResourceProperties"
        }
      ]
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The status of the current operation.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Provisioning",
        "Updating",
        "Deleting",
        "Accepted"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Resource has been created."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Resource creation failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Resource creation was canceled."
          },
          {
            "name": "Provisioning",
            "value": "Provisioning",
            "description": "Resource is being Provisioned."
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Resource is being Updated."
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Resource is being Deleted."
          },
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Resource is being Accepted."
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "VmwareCollector": {
      "type": "object",
      "description": "VMware collector resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/CollectorPropertiesBaseWithAgent",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    }
  }
}