{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-applicationinsights-favorites-api","description":"ApplicationInsightsManagementClient","version":"2015-05-01","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 ApplicationInsightsManagementClient\n@base https://management.azure.com\n@version 2015-05-01\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites\n@desc Gets a list of favorites defined within an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource.}\n@optional {favoriteType: any # The type of favorite. Value can be either shared or user., sourceType: any # Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum)., canFetchContent: any # Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites., tags: any # Tags that must be present on each favorite returned.}\n@returns(200) A list containing 0 or more favorite definitions associated to the Application Insights component.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Get a single favorite by its FavoriteId, defined within an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component}\n@returns(200) A favorite definition associated to the Application Insights component.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Adds a new favorites to an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component, favoriteProperties: any # Properties that need to be specified to create a new favorite and add it to an Application Insights component.}\n@returns(200) The newly created favorite that is associated to the Application Insights component.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Updates a favorite that has already been added to an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component, favoriteProperties: any # Properties that need to be specified to update the existing favorite.}\n@returns(200) The favorite definition updated.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Remove a favorite that is associated to an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component}\n@returns(200) The favorite has been successfully removed from the Application Insights component.\n\n@end\n"}