{"files":{"SKILL.md":"---\nname: healthcareapisclient\ndescription: \"HealthcareApisClient API skill. Use when working with HealthcareApisClient for subscriptions, providers. Covers 9 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# HealthcareApisClient\nAPI version: 2019-09-16\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.HealthcareApis/operations -- lists all of the available healthcare service rest api operations.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability -- create first checkNameAvailability\n\n## Endpoints\n9 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.HealthcareApis/services/{resourceName} | Get the metadata of a service instance. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName} | Create or update the metadata of a service instance. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName} | Update the metadata of a service instance. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName} | Delete a service instance. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services | Get all the service instances in a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services | Get all the service instances in a resource group. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability | Check if a service instance name is available. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId} | Get the operation result for a long running operation. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.HealthcareApis/operations | Lists all of the available Healthcare service REST API operations. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get service details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n- \"Update a service?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n- \"Partially update a service?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n- \"Delete a service?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n- \"List all services?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services\n- \"List all operations?\" -> GET /providers/Microsoft.HealthcareApis/operations\n- \"Create a checkNameAvailability?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability\n- \"Get operationresult details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}\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- Error responses include status codes and descriptions in the spec\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 HealthcareApisClient\n@base https://management.azure.com\n@version 2019-09-16\n@auth OAuth2\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 9\n@toc subscriptions(8), providers(1)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n@desc Get the metadata of a service instance.\n@required {subscriptionId: any # The subscription identifier., resourceGroupName: any # The name of the resource group that contains the service instance., resourceName: any # The name of the service instance.}\n@returns(200) The body contains all of the properties of the service instance.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n@desc Create or update the metadata of a service instance.\n@required {subscriptionId: any # The subscription identifier., resourceGroupName: any # The name of the resource group that contains the service instance., resourceName: any # The name of the service instance., serviceDescription: map # The service instance metadata.}\n@returns(200) Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.\n@returns(201) Created - Put request accepted and a new resource was created; the operation will complete asynchronously.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n@desc Update the metadata of a service instance.\n@required {subscriptionId: any # The subscription identifier., resourceGroupName: any # The name of the resource group that contains the service instance., resourceName: any # The name of the service instance., servicePatchDescription: map # The service instance metadata and security metadata.}\n@returns(200) The tags for the resource were updated successfully.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}\n@desc Delete a service instance.\n@required {subscriptionId: any # The subscription identifier., resourceGroupName: any # The name of the resource group that contains the service instance., resourceName: any # The name of the service instance.}\n@returns(202) Accepted - Delete request accepted; the operation will complete asynchronously.\n@returns(204) The resource does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services\n@desc Get all the service instances in a subscription.\n@required {subscriptionId: any # The subscription identifier.}\n@returns(200) This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the service instances in the subscription.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services\n@desc Get all the service instances in a resource group.\n@required {subscriptionId: any # The subscription identifier., resourceGroupName: any # The name of the resource group that contains the service instance.}\n@returns(200) This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the service instances in the resource group.\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.HealthcareApis/operations\n@desc Lists all of the available Healthcare service REST API operations.\n@returns(200) OK. The request has succeeded.\n\n@endgroup\n\n@group subscriptions\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability\n@desc Check if a service instance name is available.\n@required {subscriptionId: any # The subscription identifier., checkNameAvailabilityInputs: map # Set the name parameter in the CheckNameAvailabilityParameters structure to the name of the service instance to check.}\n@returns(200) This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the service name is available. If the name is not available, the body contains the reason.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}\n@desc Get the operation result for a long running operation.\n@required {subscriptionId: any # The subscription identifier., locationName: any # The location of the operation., operationResultId: any # The ID of the operation result to get.}\n@returns(200) The body contains all of the properties of the operation result.\n@returns(202) Accepted - Get request accepted; the operation will complete asynchronously.\n@errors {404: No operation result was found matching operationResultId.}\n\n@endgroup\n\n@end\n"}}