{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-dev-azure-devops-type-agent-encode",
  "title": "Azure DevOps Pool Agent Encode",
  "section": "Library asset reference",
  "description": "Assemble Azure DevOps Pool Agent without losing unknown fields.",
  "kind": "node",
  "url": "/wiki/reference-dev-azure-devops-type-agent-encode/",
  "markdown": "/wiki/reference-dev-azure-devops-type-agent-encode/index.md",
  "json": "/wiki/reference-dev-azure-devops-type-agent-encode/index.json",
  "headings": [
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "azure-devops",
  "pack": "pack_azure_devops",
  "contract": {
    "key": "dev.azure-devops.type.agent.encode",
    "slug": "dev-azure-devops-type-agent-encode",
    "name": "Azure DevOps Pool Agent Encode",
    "kind": "node",
    "family": "azure-devops",
    "packId": "pack_azure_devops",
    "category": "Developer integrations",
    "description": "Assemble Azure DevOps Pool Agent without losing unknown fields.",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "id",
        "name": "Id",
        "type": "number",
        "typeName": "Number",
        "required": false
      },
      {
        "id": "name",
        "name": "Name",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "version",
        "name": "Version",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "enabled",
        "name": "Enabled",
        "type": "boolean",
        "typeName": "Boolean",
        "required": false
      },
      {
        "id": "status",
        "name": "Status",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "osDescription",
        "name": "OsDescription",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "systemCapabilities",
        "name": "SystemCapabilities",
        "type": "def_f9962f86c7f4",
        "typeName": "Named contract",
        "typeVersion": 1,
        "required": false
      },
      {
        "id": "userCapabilities",
        "name": "UserCapabilities",
        "type": "def_f9962f86c7f4",
        "typeName": "Named contract",
        "typeVersion": 1,
        "required": false
      },
      {
        "id": "remainder",
        "name": "Remainder",
        "type": "def_f9962f86c7f4",
        "typeName": "Named contract",
        "typeVersion": 1,
        "required": false
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "value",
        "name": "Value",
        "type": "@dev.azure-devops.type.agent",
        "typeName": "Azure DevOps Pool Agent",
        "typeKey": "dev.azure-devops.type.agent",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "error",
        "name": "On error",
        "type": "control",
        "typeName": "Control",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    },
    "documentation": "Assemble Azure DevOps Pool Agent without losing unknown fields.\n\nInputs: id (optional), name (optional), version (optional), enabled (optional), status (optional), osDescription (optional), systemCapabilities (optional), userCapabilities (optional), remainder (optional). Outputs: value.\n\nPure transformation; no provider requests, persistent state or credentials. Record codecs reject remainder collisions with declared fields. Missing optional fields stay absent; explicit null follows the pinned schema. List codecs select/reinsert one item at index; an empty list omits item and requires index zero. Connect only optional outputs present for your case.\n\nUses the exact shared Azure DevOps Pool Agent version. Encode output validates the complete resource schema; scalar codec ports do not weaken it.",
    "runtime": "javascript",
    "tags": [
      "azure-devops",
      "codec",
      "developer-packs"
    ],
    "source": "developer-catalog"
  }
}
