|
1 | 1 | # HybridExtension |
2 | 2 |
|
3 | | -Represents extensions installed on hybrid machines (not an ARM resource itself). |
| 3 | +Represents extensions installed on Azure Arc-enabled hybrid machines. |
4 | 4 |
|
5 | | -**Labels:** `:HybridExtension` |
| 5 | +**Labels:** `:ArmResource:HybridExtension` |
6 | 6 |
|
7 | 7 | **Properties:** |
8 | 8 |
|
9 | | -- `id` - Extension ID (primary key) |
| 9 | +- `id` - Extension resource ID (primary key) |
10 | 10 | - `name` - Extension name |
11 | | -- `type` - Extension type |
12 | | -- `location` - Extension location |
| 11 | +- `type` - Resource type (`microsoft.hybridcompute/machines/extensions`) |
| 12 | +- `location` - Resource location |
| 13 | +- `extType` - Extension type (e.g. `CustomScriptExtension`) |
13 | 14 | - `typeHandlerVersion` - Type handler version |
14 | 15 | - `autoUpgradeMinorVersion` - Auto upgrade minor version |
15 | 16 | - `enableAutomaticUpgrade` - Enable automatic upgrade |
16 | | -- `statusMessage` - Status message |
| 17 | +- `statusMessage` - Extension status message |
17 | 18 | - `provisioningState` - Provisioning state |
| 19 | +- `publisher` - Extension publisher |
| 20 | +- `settings` - Serialized extension settings (JSON) |
18 | 21 |
|
19 | | -**Relationships:** |
20 | | -- `HAS_EXTENSION` ← HybridMachine |
| 22 | +## Relationships |
| 23 | + |
| 24 | +### Incoming |
| 25 | + |
| 26 | +- **HybridMachine** → `HAS_EXTENSION` → **HybridExtension** - Parent hybrid machine |
| 27 | + |
| 28 | +## Examples |
| 29 | + |
| 30 | +```cypher |
| 31 | +// Find all hybrid machine extensions |
| 32 | +MATCH (hm:HybridMachine)-[:HAS_EXTENSION]->(ext:HybridExtension) |
| 33 | +RETURN hm.displayName, ext.name, ext.extType, ext.provisioningState |
| 34 | +``` |
| 35 | + |
| 36 | +```cypher |
| 37 | +// Find extensions with auto upgrade enabled |
| 38 | +MATCH (ext:HybridExtension) |
| 39 | +WHERE ext.enableAutomaticUpgrade = true |
| 40 | +RETURN ext.name, ext.extType, ext.typeHandlerVersion |
| 41 | +``` |
0 commit comments