{"files":{"SKILL.md":"---\nname: storageimportexport\ndescription: \"StorageImportExport API skill. Use when working with StorageImportExport for providers, subscriptions. Covers 10 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# StorageImportExport\nAPI version: 2016-11-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.ImportExport/locations -- returns a list of locations to which you can ship the disks associated with an import or export job. a location is a microsoft data center region.\n3. POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}/listBitLockerKeys -- create first listBitLockerKey\n\n## Endpoints\n10 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.ImportExport/locations | Returns a list of locations to which you can ship the disks associated with an import or export job. A location is a Microsoft data center region. |\n| GET | /providers/Microsoft.ImportExport/locations/{locationName} | Returns the details about a location to which you can ship the disks associated with an import or export job. A location is an Azure region. |\n| GET | /providers/Microsoft.ImportExport/operations | Returns the list of operations supported by the import/export resource provider. |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.ImportExport/jobs | Returns all active and completed jobs in a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs | Returns all active and completed jobs in a resource group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName} | Gets information about an existing job. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName} | Updates specific properties of a job. You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center. It can also be used to cancel an existing job. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName} | Creates a new job or updates an existing job in the specified subscription. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName} | Deletes an existing job. Only jobs in the Creating or Completed states can be deleted. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}/listBitLockerKeys | Returns the BitLocker Keys for all drives in the specified job. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all locations?\" -> GET /providers/Microsoft.ImportExport/locations\n- \"Get location details?\" -> GET /providers/Microsoft.ImportExport/locations/{locationName}\n- \"List all jobs?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.ImportExport/jobs\n- \"Get job details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n- \"Partially update a job?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n- \"Update a job?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n- \"Delete a job?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n- \"Create a listBitLockerKey?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}/listBitLockerKeys\n- \"List all operations?\" -> GET /providers/Microsoft.ImportExport/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 StorageImportExport\n@base https://management.azure.com\n@version 2016-11-01\n@auth OAuth2\n@common_fields {api-version: any # Specifies the API version to use for this request., Accept-Language: any # Specifies the preferred language for the response.}\n@endpoints 10\n@toc providers(3), subscriptions(7)\n\n@group providers\n@endpoint GET /providers/Microsoft.ImportExport/locations\n@desc Returns a list of locations to which you can ship the disks associated with an import or export job. A location is a Microsoft data center region.\n@returns(200) OK\n\n@endpoint GET /providers/Microsoft.ImportExport/locations/{locationName}\n@desc Returns the details about a location to which you can ship the disks associated with an import or export job. A location is an Azure region.\n@required {locationName: any # The name of the location. For example, West US or westus.}\n@returns(200) OK\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ImportExport/jobs\n@desc Returns all active and completed jobs in a subscription.\n@required {subscriptionId: any # The subscription ID for the Azure user.}\n@optional {$top: any # An integer value that specifies how many jobs at most should be returned. The value cannot exceed 100., $filter: any # Can be used to restrict the results to certain conditions.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs\n@desc Returns all active and completed jobs in a resource group.\n@required {subscriptionId: any # The subscription ID for the Azure user., resourceGroupName: any # The resource group name uniquely identifies the resource group within the user subscription.}\n@optional {$top: any # An integer value that specifies how many jobs at most should be returned. The value cannot exceed 100., $filter: any # Can be used to restrict the results to certain conditions.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n@desc Gets information about an existing job.\n@required {jobName: any # The name of the import/export job., subscriptionId: any # The subscription ID for the Azure user., resourceGroupName: any # The resource group name uniquely identifies the resource group within the user subscription.}\n@returns(200) OK\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n@desc Updates specific properties of a job. You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center. It can also be used to cancel an existing job.\n@required {jobName: any # The name of the import/export job., subscriptionId: any # The subscription ID for the Azure user., resourceGroupName: any # The resource group name uniquely identifies the resource group within the user subscription., body: any # The parameters to update in the job}\n@returns(200) OK\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n@desc Creates a new job or updates an existing job in the specified subscription.\n@required {jobName: any # The name of the import/export job., subscriptionId: any # The subscription ID for the Azure user., resourceGroupName: any # The resource group name uniquely identifies the resource group within the user subscription., body: any # The parameters used for creating the job}\n@optional {x-ms-client-tenant-id: any # The tenant ID of the client making the request.}\n@returns(200) OK\n@returns(201) Created\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}\n@desc Deletes an existing job. Only jobs in the Creating or Completed states can be deleted.\n@required {jobName: any # The name of the import/export job., subscriptionId: any # The subscription ID for the Azure user., resourceGroupName: any # The resource group name uniquely identifies the resource group within the user subscription.}\n@returns(200) OK\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}/listBitLockerKeys\n@desc Returns the BitLocker Keys for all drives in the specified job.\n@required {jobName: any # The name of the import/export job., subscriptionId: any # The subscription ID for the Azure user., resourceGroupName: any # The resource group name uniquely identifies the resource group within the user subscription.}\n@returns(200) OK\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.ImportExport/operations\n@desc Returns the list of operations supported by the import/export resource provider.\n@returns(200) OK\n\n@endgroup\n\n@end\n"}}