{"files":{"SKILL.md":"---\nname: managementlinkclient\ndescription: \"ManagementLinkClient API skill. Use when working with ManagementLinkClient for providers, {linkId}, subscriptions. Covers 6 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# ManagementLinkClient\nAPI version: 2016-09-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 -- verify access\n\n## Endpoints\n\n6 endpoints across 4 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\n### {linkId}\n| Method | Path | Description |\n|--------|------|-------------|\n| DELETE | /{linkId} | Deletes a resource link with the specified ID. |\n| PUT | /{linkId} | Creates or updates a resource link between the specified resources. |\n| GET | /{linkId} | Gets a resource link with the specified ID. |\n\n### subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Resources/links | Gets all the linked resources for the subscription. |\n\n### {scope}\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /{scope}/providers/Microsoft.Resources/links | Gets a list of resource links at and below the specified source scope. |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all operations?\" -> GET /providers/Microsoft.Resources/operations\n- \"List all links?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/links\n- \"List all links?\" -> GET /{scope}/providers/Microsoft.Resources/links\n- \"How to authenticate?\" -> See Auth section\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints typically return the created/updated object\n\n## CLI\n\n```bash\n# Update this spec to the latest version\nnpx @lap-platform/lapsh get managementlinkclient -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search managementlinkclient\n```\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 ManagementLinkClient\n@base https://management.azure.com\n@version 2016-09-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for the operation.}\n@endpoints 6\n@toc providers(1), {linkId}(3), subscriptions(1), {scope}(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 {linkId}\n@endpoint DELETE /{linkId}\n@desc Deletes a resource link with the specified ID.\n@required {linkId: any # The fully qualified ID of the resource link. Use the format, /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink}\n@returns(200) OK\n@returns(204) No Content\n\n@endpoint PUT /{linkId}\n@desc Creates or updates a resource link between the specified resources.\n@required {linkId: any # The fully qualified ID of the resource link. Use the format, /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink, parameters: any # Parameters for creating or updating a resource link.}\n@returns(200) OK - Returns information about the link.\n@returns(201) Created - Returns information about the link.\n\n@endpoint GET /{linkId}\n@desc Gets a resource link with the specified ID.\n@required {linkId: any # The fully qualified Id of the resource link. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink}\n@returns(200) OK - Returns information about the resource link.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/links\n@desc Gets all the linked resources for the subscription.\n@required {subscriptionId: any # The ID of the target subscription.}\n@optional {$filter: any # The filter to apply on the list resource links operation. The supported filter for list resource links is targetId. For example, $filter=targetId eq {value}}\n@returns(200) Returns an array of resource links for the subscription.\n\n@endgroup\n\n@group {scope}\n@endpoint GET /{scope}/providers/Microsoft.Resources/links\n@desc Gets a list of resource links at and below the specified source scope.\n@required {scope: any # The fully qualified ID of the scope for getting the resource links. For example, to list resource links at and under a resource group, set the scope to /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.}\n@optional {$filter: any # The filter to apply when getting resource links. To get links only at the specified scope (not below the scope), use Filter.atScope().}\n@returns(200) OK - Returns an array of links at the specified scope.\n\n@endgroup\n\n@end\n"}}