@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ApplicationInsightsManagementClient
@base https://management.azure.com
@version 2015-05-01
@auth OAuth2
@endpoints 4
@toc subscriptions(4)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}
@desc Gets a list of Analytics Items defined within an Application Insights component.
@required {resourceName: any # The name of the Application Insights component resource., scopePath: any # Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.}
@optional {scope: any # Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component., type: any # Enum indicating the type of the Analytics item., includeContent: any # Flag indicating whether or not to return the content of each applicable item. If false, only return the item information.}
@returns(200) A list containing 0 or more items associated with the Application Insights component.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
@desc Gets a specific Analytics Items defined within an Application Insights component.
@required {resourceName: any # The name of the Application Insights component resource., scopePath: any # Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.}
@optional {id: any # The Id of a specific item defined in the Application Insights component, name: any # The name of a specific item defined in the Application Insights component}
@returns(200) A single item associated with the Application Insights component.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
@desc Adds or Updates a specific Analytics Item within an Application Insights component.
@required {resourceName: any # The name of the Application Insights component resource., scopePath: any # Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component., itemProperties: map # Properties that need to be specified to create a new item and add it to an Application Insights component.}
@optional {overrideItem: any # Flag indicating whether or not to force save an item. This allows overriding an item if it already exists.}
@returns(200) The new or updated item associated with the Application Insights component.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
@desc Deletes a specific Analytics Items defined within an Application Insights component.
@required {resourceName: any # The name of the Application Insights component resource., scopePath: any # Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.}
@optional {id: any # The Id of a specific item defined in the Application Insights component, name: any # The name of a specific item defined in the Application Insights component}
@returns(200) The item has been successfully removed from the Application Insights component

@end
