Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
azure-search-nav【部署与运维】Builds an Azure portal deep link to a specific blade/menu item for supported Microsoft.ContainerService, Microsoft.Kubernetes, and Microsoft.Compute resources using the aks-search-direct-mid semantic search API. WHEN: 'find where in the Azure portal to do something', 'search the portal for an operation', 'construct a portal link from a search query a…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
| Item | Value |
|---|---|
| Script | references/Invoke-PortalSearchNav.ps1 |
| Resource map | references/resource-types.json |
| Prerequisite | Az.Accounts PowerShell module |
| Auth | Interactive Microsoft sign-in (Connect-AzAccount), or device-code with -UseDeviceAuthentication |
references/Invoke-PortalSearchNav.ps1 -ResourceUrl '<link>' -Query '<query>'.-UseDeviceAuthentication in headless/CLI
environments), calls the search API, and prints portal deep links always rooted at
https://portal.azure.com.See references/README.md for full parameter reference and API details.
| Error | Cause | Fix |
|---|---|---|
| Resource type not enabled | armProvider not in references/resource-types.json | Confirm the type is in the enabled-provider list |
| 401 from API | Invalid token, or wrong tenant selected | Re-run and select the account with access to the target subscription's tenant |
| Empty results | No matching navigation item for the query | Try a different search term |
Az.Accounts not found | Module not installed | Install-Module Az.Accounts -Scope CurrentUser |
| Browser sign-in fails (no window handle) | Headless/CLI environment | Re-run with -UseDeviceAuthentication |