rad application graph CLI reference
rad application graph
Shows the application graph for an application.
Synopsis
Shows the application graph for an application.
When invoked with the name of a deployed application, either as an argument or with the –application flag, the command queries the Radius control plane and prints the deployed graph computed from stored resources (Kind: Connection edges only).
When invoked with –application
When invoked with only a path to an app.bicep (no –application), the command compiles the template and writes the resulting modeled graph to ./app-graph.json without contacting the control plane.
If the modeled graph is built inside a GitHub Actions runner
(GITHUB_ACTIONS=true), it is saved to
rad application graph [flags]
Examples
# Show graph for the deployed application named my-application
rad app graph my-application
# Include icon SVG bytes inline in the JSON output
rad app graph my-application -o json --include-icons
# Enrich the deployed graph with dependsOn edges from a local app.bicep
rad app graph -a my-application ./app.bicep
# Build the modeled graph for an app.bicep and write it to ./app-graph.json
rad app graph ./app.bicep
Options
-a, --application string The application name
-g, --group string The resource group name
-h, --help help for graph
--include-icons When set, embeds each referenced resource type icon's SVG bytes in the response's icons map.
-o, --output string output format (supported formats are json, table) (default "table")
-w, --workspace string The workspace name
Options inherited from parent commands
--config string config file (default "$HOME/.rad/config.yaml")
SEE ALSO
- rad application - Manage Radius Applications
Feedback
Was this page helpful?
Glad to hear it! Please feel free to star our repo and join our Discord server to stay up to date with the project.
Sorry to hear that. If you would like to also contribute a suggestion visit and tell us how we can improve.