{"files":{"SKILL.md":"---\nname: subscriptionclient\ndescription: \"SubscriptionClient API skill. Use when working with SubscriptionClient for providers, subscriptions, tenants. Covers 7 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# SubscriptionClient\nAPI version: 2019-06-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Resources/operations -- lists all of the available microsoft.resources rest api operations.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/ -- create first checkZonePeer\n\n## Endpoints\n7 endpoints across 3 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Resources/operations | Lists all of the available Microsoft.Resources REST API operations. |\n| POST | /providers/Microsoft.Resources/checkResourceName | Checks resource name validity |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/locations | Gets all available geo-locations. |\n| GET | /subscriptions/{subscriptionId} | Gets details about a specified subscription. |\n| GET | /subscriptions | Gets all subscriptions for a tenant. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/ | Compares a subscriptions logical zone mapping |\n\n### Tenants\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /tenants | Gets the tenants for your account. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all operations?\" -> GET /providers/Microsoft.Resources/operations\n- \"List all locations?\" -> GET /subscriptions/{subscriptionId}/locations\n- \"Get subscription details?\" -> GET /subscriptions/{subscriptionId}\n- \"List all subscriptions?\" -> GET /subscriptions\n- \"List all tenants?\" -> GET /tenants\n- \"Create a checkZonePeer?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/\n- \"Create a checkResourceName?\" -> POST /providers/Microsoft.Resources/checkResourceName\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 SubscriptionClient\n@base https://management.azure.com\n@version 2019-06-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for the operation.}\n@endpoints 7\n@toc providers(2), subscriptions(4), tenants(1)\n\n@group providers\n@endpoint GET /providers/Microsoft.Resources/operations\n@desc Lists all of the available Microsoft.Resources REST API operations.\n@returns(200) OK. The request has succeeded.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/locations\n@desc Gets all available geo-locations.\n@required {subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns an array of locations.\n\n@endpoint GET /subscriptions/{subscriptionId}\n@desc Gets details about a specified subscription.\n@required {subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns information about the subscription.\n\n@endpoint GET /subscriptions\n@desc Gets all subscriptions for a tenant.\n@returns(200) OK - Returns an array of subscriptions.\n\n@endgroup\n\n@group tenants\n@endpoint GET /tenants\n@desc Gets the tenants for your account.\n@returns(200) OK - Returns an array of tenants.\n\n@endgroup\n\n@group subscriptions\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/\n@desc Compares a subscriptions logical zone mapping\n@required {subscriptionId: any # The ID of the target subscription., parameters: map # Parameters for checking zone peers.}\n@returns(200) OK - Returns information about the logical availability zone mapping between subscriptions.\n\n@endgroup\n\n@group providers\n@endpoint POST /providers/Microsoft.Resources/checkResourceName\n@desc Checks resource name validity\n@optional {Resource Name Definition: any: any # Resource object with values for resource name and resource type}\n@returns(200) OK - Returns status as allowed or not.\n\n@endgroup\n\n@end\n"}}