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

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}
@desc Gets latest heatmap for Traffic Manager profile.
@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group containing the Traffic Manager endpoint., profileName: any # The name of the Traffic Manager profile., heatMapType: any # The type of HeatMap for the Traffic Manager profile., api-version: any # Client Api Version.}
@optional {topLeft: any # The top left latitude,longitude pair of the rectangular viewport to query for., botRight: any # The bottom right latitude,longitude pair of the rectangular viewport to query for.}
@returns(200) The Traffic Manager heatmap.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys
@desc Get the subscription-level key used for Real User Metrics collection.
@required {api-version: any # Client Api Version., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) The subscription-level Traffic Manager Real User Metrics key.

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys
@desc Create or update a subscription-level key used for Real User Metrics collection.
@required {api-version: any # Client Api Version., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(201) A new subscription-level key has been created for Real User Metrics collection.

@endpoint DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys
@desc Delete a subscription-level key used for Real User Metrics collection.
@required {api-version: any # Client Api Version., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) The Traffic Manager Real User Metrics key was deleted successfully.

@end
