{"files":{"SKILL.md":"---\nname: azure-dedicated-hsm-resource-provider\ndescription: \"Azure Dedicated HSM Resource Provider API skill. Use when working with Azure Dedicated HSM Resource Provider for providers, subscriptions. Covers 7 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure Dedicated HSM Resource Provider\nAPI version: 2018-10-31-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.HardwareSecurityModules/operations -- get a list of dedicated hsm operations.\n3. Explore available endpoints below\n\n## Endpoints\n7 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.HardwareSecurityModules/operations | Get a list of Dedicated HSM operations. |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name} | Create or Update a dedicated HSM in the specified subscription. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name} | Update a dedicated HSM in the specified subscription. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name} | Deletes the specified Azure Dedicated HSM. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name} | Gets the specified Azure dedicated HSM. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs | The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs | The List operation gets information about the dedicated HSMs associated with the subscription. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all operations?\" -> GET /providers/Microsoft.HardwareSecurityModules/operations\n- \"Update a dedicatedHSM?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n- \"Partially update a dedicatedHSM?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n- \"Delete a dedicatedHSM?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n- \"Get dedicatedHSM details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n- \"List all dedicatedHSMs?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs\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 Azure Dedicated HSM Resource Provider\n@base https://management.azure.com\n@version 2018-10-31-preview\n@auth OAuth2\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 7\n@toc providers(1), subscriptions(6)\n\n@group providers\n@endpoint GET /providers/Microsoft.HardwareSecurityModules/operations\n@desc Get a list of Dedicated HSM operations.\n@returns(200) OK\n\n@endgroup\n\n@group subscriptions\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n@desc Create or Update a dedicated HSM in the specified subscription.\n@required {resourceGroupName: any # The name of the Resource Group to which the resource belongs., name: any # Name of the dedicated Hsm, parameters: any # Parameters to create or update the dedicated hsm, subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) Created dedicated HSM\n@returns(201) Created dedicated HSM\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n@desc Update a dedicated HSM in the specified subscription.\n@required {resourceGroupName: any # The name of the Resource Group to which the server belongs., name: any # Name of the dedicated HSM, parameters: any # Parameters to patch the dedicated HSM, subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) Patched dedicated HSM\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n@desc Deletes the specified Azure Dedicated HSM.\n@required {resourceGroupName: any # The name of the Resource Group to which the dedicated HSM belongs., name: any # The name of the dedicated HSM to delete, subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) OK Response.\n@returns(202) Accepted\n@returns(204) No Content\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}\n@desc Gets the specified Azure dedicated HSM.\n@required {resourceGroupName: any # The name of the Resource Group to which the dedicated hsm belongs., name: any # The name of the dedicated HSM., subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) Retrieved dedicated HSM\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs\n@desc The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.\n@required {resourceGroupName: any # The name of the Resource Group to which the dedicated HSM belongs., subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@optional {$top: any # Maximum number of results to return.}\n@returns(200) Get information about all dedicated HSMs in the specified resource group.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs\n@desc The List operation gets information about the dedicated HSMs associated with the subscription.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@optional {$top: any # Maximum number of results to return.}\n@returns(200) Get information about all dedicated HSMs in the specified subscription.\n\n@endgroup\n\n@end\n"}}