{"files":{"SKILL.md":"---\nname: storagemanagementclient\ndescription: \"StorageManagementClient API skill. Use when working with StorageManagementClient for subscriptions. Covers 4 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# StorageManagementClient\nAPI version: 2019-08-08-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts -- returns a list of storage accounts.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}/undelete -- create first undelete\n\n## Endpoints\n4 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts | Returns a list of storage accounts. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId} | Returns the requested storage account. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}/undelete | Undelete a deleted storage account with new account name if the a new name is provided. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/reclaimStorageCapacity | Start reclaim storage capacity on deleted storage objects. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all storageAccounts?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts\n- \"Get storageAccount details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}\n- \"Create a undelete?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}/undelete\n- \"Create a reclaimStorageCapacity?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/reclaimStorageCapacity\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api StorageManagementClient\n@base https://management.azure.com\n@version 2019-08-08-preview\n@auth OAuth2\n@endpoints 4\n@toc subscriptions(4)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts\n@desc Returns a list of storage accounts.\n@optional {$filter: any # Filter string, summary: any # Switch for whether summary or detailed information is returned.}\n@returns(200) OK -- The list of storage accounts has been returned.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}\n@desc Returns the requested storage account.\n@required {accountId: any # Internal storage account ID, which is not visible to tenant.}\n@returns(200) OK -- The storage account has been returned.\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}/undelete\n@desc Undelete a deleted storage account with new account name if the a new name is provided.\n@required {accountId: any # Internal storage account ID, which is not visible to tenant.}\n@optional {newAccountName: any # New storage account name when doing undelete storage account operation.}\n@returns(200) OK -- Undelete either has been performed or account was not deleted.\n@returns(202) Accepted -- undelete operation trigged; operation will complete asynchronously.\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/reclaimStorageCapacity\n@desc Start reclaim storage capacity on deleted storage objects.\n@returns(200) OK -- Reclaim storage capacity has completed.\n@returns(202) Accepted -- reclaim storage capacity operation triggered; operation will complete asynchronously.\n\n@end\n"}}