# pthoor/azarc architecture

> Architecture diagram of the GitHub repository pthoor/azarc, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pthoor/azarc
- Repository: https://github.com/pthoor/azarc

## Overview

AzArc is a small PowerShell repository centered on Azure Arc Connected Machine agent onboarding and version information. The tree names an onboarding script and an agent-version script, while the README documents agent releases. No source excerpts are available, so the scripts’ behavior and their relationships to Azure services cannot be verified; the dashed invocation links are inferred from filenames only.

Main entry points: [`Az-ArcOnboarding.ps1`](https://github.com/pthoor/azarc/blob/main/Az-ArcOnboarding.ps1) (Arc onboarding), [`Get-AzureConnectedMachineAgentVersion.ps1`](https://github.com/pthoor/azarc/blob/main/Get-AzureConnectedMachineAgentVersion.ps1) (Version lookup)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_operator(("Operator"))
node_onboarding["Arc onboarding"]
node_version_script["Version lookup"]
node_agent_versions["Agent versions<br/>[README.md]"]

node_operator -.->|"runs &#40;inferred&#41;"| node_onboarding
node_operator -.->|"runs &#40;inferred&#41;"| node_version_script

click node_onboarding "https://github.com/pthoor/azarc/blob/main/Az-ArcOnboarding.ps1"
click node_version_script "https://github.com/pthoor/azarc/blob/main/Get-AzureConnectedMachineAgentVersion.ps1"
click node_agent_versions "https://github.com/pthoor/azarc/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_operator toneIndigo
class node_onboarding,node_version_script,node_agent_versions toneTeal
```

## Components

### Other components

- **Operator**
- [Arc onboarding](https://github.com/pthoor/azarc/blob/main/Az-ArcOnboarding.ps1): `Az-ArcOnboarding.ps1`
- [Version lookup](https://github.com/pthoor/azarc/blob/main/Get-AzureConnectedMachineAgentVersion.ps1): `Get-AzureConnectedMachineAgentVersion.ps1`
- [Agent versions](https://github.com/pthoor/azarc/blob/main/README.md): `README.md`

## Connections

- Operator → Arc onboarding: runs (inferred)
- Operator → Version lookup: runs (inferred)
