@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}/Annotations
@desc Gets the list of annotations for a component for given time range
@required {resourceName: any # The name of the Application Insights component resource., start: any # The start time to query from for annotations, cannot be older than 90 days from current date., end: any # The end time to query for annotations.}
@returns(200) successful operation

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations
@desc Create an Annotation of an Application Insights component.
@required {resourceName: any # The name of the Application Insights component resource., AnnotationProperties: map # Properties that need to be specified to create an annotation of a Application Insights component.}
@returns(200) An object containing the annotation definition created by this PUT call.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}
@desc Delete an Annotation of an Application Insights component.
@required {resourceName: any # The name of the Application Insights component resource., annotationId: any # The unique annotation ID. This is unique within a Application Insights component.}
@returns(200) The annotation that was successfully deleted.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}
@desc Get the annotation for given id.
@required {resourceName: any # The name of the Application Insights component resource., annotationId: any # The unique annotation ID. This is unique within a Application Insights component.}
@returns(200) The Annotation object for this id.

@end
