Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. GraphNode

GraphNode

    One node in a returned subgraph.

    Properties

    • id string required
      Stable node identifier: the Pulumi URN for IaC resources, the Insights URN for discovered resources, or ‘stack://’ for stacks. A stack’s id is not the spelling a selector uses: scope.stacks and a stack anchor’s name predicate both take the org-free ‘project/stack’ form, and both reject the org-qualified form.
    • nodeType enum required
      The node type.
      Values: resource, stack
    • frontier array[string] required
      Names of the selected frontiers this node belongs to (‘anchor’ or traversal step aliases).
    • urn string optional
      The resource URN. Absent for stack nodes.
    • type string optional
      The resource type token. Absent for stack nodes.
    • stack string optional
      The Pulumi stack this node belongs to, or that it represents for a stack node. Absent on a resource discovered by a cloud scan.
    • project string optional
      The Pulumi project this node belongs to, or that it represents for a stack node. Absent on a resource discovered by a cloud scan.
    • account string optional
      The Insights account a discovered resource was found in, as the complete account name including any ‘/’-separated hierarchy.
    • fields map[string]string optional
      Additional projected fields requested via return.fields, plus engine-provided provenance fields where available.
    • fieldsUnavailable boolean optional
      True when the engine had no indexed document for this resource, so none of the fields requested in return.fields could be evaluated on it. A stack node never carries it: it projects name, project and stack from its own identity. Absent unless return.fields was requested.

      The infrastructure as code platform for any cloud.