Commit 6117f1f
committed
storage_discovery_workspace: address reviewer feedback
- Convert resource to typed SDK resource pattern (sdk.Resource interface)
- Add name validation function consistent with portal (3-63 chars, alphanumeric and hyphens)
- Change workspace_roots to workspace_root (singular) and TypeList to TypeSet
- Add MaxItems: 100 for workspace_root
- Add CustomizeDiff to validate subscription vs resource group ID conflicts
- Update all references in expand/flatten functions, tests, and documentation1 parent 1b96015 commit 6117f1f
5 files changed
Lines changed: 329 additions & 269 deletions
File tree
- internal/services/storage
- validate
- website/docs/r
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments