{"files":{"SKILL.md":"---\nname: recoveryservicesclient\ndescription: \"RecoveryServicesClient API skill. Use when working with RecoveryServicesClient for subscriptions, providers. Covers 13 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# RecoveryServicesClient\nAPI version: 2016-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.RecoveryServices/operations -- returns the list of available operations.\n3. POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability -- create first checkNameAvailability\n\n## Endpoints\n13 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources | Returns the list of private link resources that need to be created for Backup and SiteRecovery |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/{privateLinkResourceName} | Returns a specified private link resource that need to be created for Backup and SiteRecovery |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability | API to check for resource name availability. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults | Fetches all the resources of the specified type in the subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults | Retrieve a list of Vaults. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName} | Get the Vault details. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName} | Creates or updates a Recovery Services vault. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName} | Deletes a vault. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName} | Updates the vault. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo | Get the vault extended info. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo | Create vault extended info. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo | Update vault extended info. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.RecoveryServices/operations | Returns the list of available operations. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all privateLinkResources?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources\n- \"Get privateLinkResource details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/{privateLinkResourceName}\n- \"Create a checkNameAvailability?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability\n- \"List all vaults?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults\n- \"List all operations?\" -> GET /providers/Microsoft.RecoveryServices/operations\n- \"Get vault details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n- \"Update a vault?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n- \"Delete a vault?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n- \"Partially update a vault?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n- \"List all vaultExtendedInfo?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo\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 RecoveryServicesClient\n@base https://management.azure.com\n@version 2016-06-01\n@auth OAuth2\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 13\n@toc subscriptions(12), providers(1)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources\n@desc Returns the list of private link resources that need to be created for Backup and SiteRecovery\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/{privateLinkResourceName}\n@desc Returns a specified private link resource that need to be created for Backup and SiteRecovery\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault., privateLinkResourceName: any}\n@returns(200) OK\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability\n@desc API to check for resource name availability.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., location: any # Location of the resource, input: map # Contains information about Resource type and Resource name}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults\n@desc Fetches all the resources of the specified type in the subscription.\n@required {subscriptionId: any # The subscription Id.}\n@returns(200) OK\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.RecoveryServices/operations\n@desc Returns the list of available operations.\n@returns(200) OK\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults\n@desc Retrieve a list of Vaults.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n@desc Get the Vault details.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault.}\n@returns(200) OK\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n@desc Creates or updates a Recovery Services vault.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault., vault: map # Recovery Services Vault to be created.}\n@returns(200) OK\n@returns(201) Created\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n@desc Deletes a vault.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault.}\n@returns(200) OK\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}\n@desc Updates the vault.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault., vault: map # Recovery Services Vault to be created.}\n@returns(200) OK\n@returns(201) Created\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo\n@desc Get the vault extended info.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault.}\n@returns(200) OK\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo\n@desc Create vault extended info.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault., resourceResourceExtendedInfoDetails: map # Details of ResourceExtendedInfo}\n@returns(200) OK\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo\n@desc Update vault extended info.\n@required {subscriptionId: any # The subscription Id., resourceGroupName: any # The name of the resource group where the recovery services vault is present., vaultName: any # The name of the recovery services vault., resourceResourceExtendedInfoDetails: map # Details of ResourceExtendedInfo}\n@returns(200) OK\n\n@endgroup\n\n@end\n"}}