Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Outputs · Automation Documentation

Direct answer

Documenting outputs describes what the automation returns or creates — files, objects, IDs, reports and exit codes — so other jobs and people know what to expect.

When to use this

Use this when documenting what an automation returns or creates.

First 30 seconds

1. Document outputs: data, files, exit codes, side effects.

2. Samples.

3. Stable formats.

4. Versioned changes.

5. Consumers rely on them.

Operational verification

automation → documented outputs

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
runbook and automation documentation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformrunbook and automation documentation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when documenting what an automation returns or creates.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

The negative fixture should deliberately exercise risks such as stale documentation, hidden prerequisites, copy/paste ambiguity, unreviewed examples, broad parameters, irreversible steps and runbook completion without target verification, choosing the cases most relevant to named/typed outputs, producer/consumer contract, redaction, persistence scope and proving the output refers to the intended target revision.

Step 2 Common mistakes Narrow the fault
  • Outputs undocumented, so consumers guess.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Files, objects, IDs, reports, exit codes.
  • Machine-readable formats help consumers.
  • Document side effects.
Key checks
  • Output reference (fields, formats, exit codes) — contract
  • Sample outputs — examples
  • Artefacts produced — locations
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Documenting outputs tells users what an automation produces: return values, files, created resources, messages and exit codes. Other automation that consumes these outputs depends on them staying stable, so they form a contract.

Document for each output: name, type, example value, when it is set (always, only on success), and whether it may contain sensitive data.

## Outputs
| Name | Type | Example | Notes |
|---|---|---|---|
| vm_name | string | app-oslo-014 | Always set on success |
| ip_address | string | 10.20.4.17 | From IPAM |
| report | file | report.json | Job artifact |
| exit code | int | 0 / 2 / 3 | 2 = invalid input, 3 = target unreachable |

Documented example, not captured output. Treat changes to outputs like API changes: announce them and keep backwards compatibility where consumers exist.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docrunbook and automation documentation current

Authoritative/upstream documentation reviewed for bounded claims in Automation Documentation > Outputs. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/azure/automation/automation-runbook-types · confidence 94%
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

For named/typed outputs, producer/consumer contract, redaction, persistence scope and proving the output refers to the intended target revision, prefer typed fields and stable IDs over human presentation text.

Confirmation

Confirm action

Continue?