{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-resourcegraph-graphquery","description":"Azure Resource Graph Query","version":"2018-09-01-preview","base_url":"https://management.azure.com","endpoints":5,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Azure Resource Graph Query\n@base https://management.azure.com\n@version 2018-09-01-preview\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceGraph/queries\n@desc Get all graph queries defined within a specified subscription and resource group.\n@required {subscriptionId: any # The Azure subscription Id., resourceGroupName: any # The name of the resource group., api-version: any # Client Api Version.}\n@returns(200) A list containing 0 or more graph queries.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceGraph/queries/{resourceName}\n@desc Get a single graph query by its resourceName.\n@required {subscriptionId: any # The Azure subscription Id., resourceGroupName: any # The name of the resource group., resourceName: any # The name of the Graph Query resource., api-version: any # Client Api Version.}\n@returns(200) A graph query definition.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceGraph/queries/{resourceName}\n@desc Delete a graph query.\n@required {subscriptionId: any # The Azure subscription Id., resourceGroupName: any # The name of the resource group., resourceName: any # The name of the Graph Query resource., api-version: any # Client Api Version.}\n@returns(200) The graph query has been successfully deleted.\n@returns(204) The resource doesn't exist.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceGraph/queries/{resourceName}\n@desc Create a new graph query.\n@required {subscriptionId: any # The Azure subscription Id., resourceGroupName: any # The name of the resource group., resourceName: any # The name of the Graph Query resource., api-version: any # Client Api Version., properties: any # Properties that need to be specified to create a new graph query.}\n@returns(200) The newly created graph query.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceGraph/queries/{resourceName}\n@desc Updates a graph query that has already been added.\n@required {subscriptionId: any # The Azure subscription Id., resourceGroupName: any # The name of the resource group., resourceName: any # The name of the Graph Query resource., api-version: any # Client Api Version., body: any # Properties that need to be specified to create a new graph query.}\n@returns(200) The graph query definition updated.\n\n@end\n"}