{"files":{"SKILL.md":"---\nname: databricksclient\ndescription: \"DatabricksClient API skill. Use when working with DatabricksClient for subscriptions, providers. Covers 7 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# DatabricksClient\nAPI version: 2018-04-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Databricks/operations -- lists all of the available rp operations.\n3. Explore available endpoints below\n\n## Endpoints\n7 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.Databricks/workspaces/{workspaceName} | Gets the workspace. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName} | Deletes the workspace. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName} | Creates a new workspace. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName} | Updates a workspace. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces | Gets all the workspaces within a resource group. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces | Gets all the workspaces within a subscription. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Databricks/operations | Lists all of the available RP operations. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get workspace details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n- \"Delete a workspace?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n- \"Update a workspace?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n- \"Partially update a workspace?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n- \"List all workspaces?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces\n- \"List all operations?\" -> GET /providers/Microsoft.Databricks/operations\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 DatabricksClient\n@base https://management.azure.com\n@version 2018-04-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for this operation.}\n@endpoints 7\n@toc subscriptions(6), providers(1)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n@desc Gets the workspace.\n@required {resourceGroupName: any # The name of the resource group. The name is case insensitive., workspaceName: any # The name of the workspace., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns the workspace.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n@desc Deletes the workspace.\n@required {resourceGroupName: any # The name of the resource group. The name is case insensitive., workspaceName: any # The name of the workspace., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK. The request has succeeded.\n@returns(202) Accepted - Returns this status until the asynchronous operation has completed.\n@returns(204) NoContent\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n@desc Creates a new workspace.\n@required {parameters: any # Parameters supplied to the create or update a workspace., resourceGroupName: any # The name of the resource group. The name is case insensitive., workspaceName: any # The name of the workspace., subscriptionId: any # The ID of the target subscription.}\n@returns(200) Created - Returns information about the workspace, including provisioning status.\n@returns(201) Created - Returns information about the workspace, including provisioning status.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}\n@desc Updates a workspace.\n@required {parameters: map # The update to the workspace., resourceGroupName: any # The name of the resource group. The name is case insensitive., workspaceName: any # The name of the workspace., subscriptionId: any # The ID of the target subscription.}\n@returns(200) Successfully updated the workspace.\n@returns(202) Accepted\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces\n@desc Gets all the workspaces within a resource group.\n@required {resourceGroupName: any # The name of the resource group. The name is case insensitive., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns an array of workspaces.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces\n@desc Gets all the workspaces within a subscription.\n@required {subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns an array of workspaces.\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.Databricks/operations\n@desc Lists all of the available RP operations.\n@returns(200) OK. The request has succeeded.\n\n@endgroup\n\n@end\n"}}