@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ResourceHealthMetadata API Client
@base https://management.azure.com
@version 2018-02-01
@auth OAuth2
@common_fields {subscriptionId: any # Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)., api-version: any # API Version}
@endpoints 6
@toc subscriptions(6)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata
@desc List all ResourceHealthMetadata for all sites in the subscription.
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata
@desc List all ResourceHealthMetadata for all sites in the resource group in the subscription.
@required {resourceGroupName: any # Name of the resource group to which the resource belongs.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata
@desc Gets the category of ResourceHealthMetadata to use for the given site as a collection
@required {resourceGroupName: any # Name of the resource group to which the resource belongs., name: any # Name of web app.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default
@desc Gets the category of ResourceHealthMetadata to use for the given site
@required {resourceGroupName: any # Name of the resource group to which the resource belongs., name: any # Name of web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata
@desc Gets the category of ResourceHealthMetadata to use for the given site as a collection
@required {resourceGroupName: any # Name of the resource group to which the resource belongs., name: any # Name of web app., slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default
@desc Gets the category of ResourceHealthMetadata to use for the given site
@required {resourceGroupName: any # Name of the resource group to which the resource belongs., name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@end
