// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.mjs` to generate the docs examples

[source, js]
----
const response = await client.transport.request({
  method: "PUT",
  path: "/_internal/desired_nodes/Ywkh3INLQcuPT49f6kcppA/100",
  body: {
    nodes: [
      {
        settings: {
          "node.name": "instance-000187",
          "node.external_id": "instance-000187",
          "node.roles": ["data_hot", "master"],
          "node.attr.data": "hot",
          "node.attr.logical_availability_zone": "zone-0",
        },
        processors: 8,
        memory: "58gb",
        storage: "2tb",
      },
    ],
  },
});
console.log(response);
----
