armtypes-gen

command
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MPL-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command armtypes-gen writes internal/live/armtypes/table_generated.txt: for every ARM resource type and API version in the type data azure/azapi embeds, whether the request body takes `tags`, `name` and `location` (the Azure epic, #1120; the taggability ruling, #1122). It also writes taglimits_generated.txt beside it: the types whose `tags` description in the same data documents fewer than ARM's 50 tags, or shorter keys or values.

The rule and its source in azapi are in internal/live/armtypes's package doc. This command is a thin wrapper: it reads the checkout's tag and commit, calls armtypes.Generate, and writes the rendered table.

Usage:

go run ./tools/armtypes-gen -azapi-src <azapi checkout at the pinned tag>
go run ./tools/armtypes-gen -azapi-src <dir> -check   # fail on drift, write nothing

The checkout must sit exactly on a release tag, because the table records which azapi release it describes. The pin for the Azure lane is v2.13.0.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL