v1

latestSwagger 2.02026-07-13295146626.9 KB
Recommendations

Gets the list of past recommendations optionally specified by the time range.

get/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory

Path parameters

resourceGroupNamestring required

Resource group name

siteNamestring required

Site name

subscriptionIdstring required

Subscription Id

Query parameters

startTimestring

The start time of a time range to query, e.g. $filter=startTime eq '2015-01-01T00:00:00Z' and endTime eq '2015-01-02T00:00:00Z'

endTimestring

The end time of a time range to query, e.g. $filter=startTime eq '2015-01-01T00:00:00Z' and endTime eq '2015-01-02T00:00:00Z'

api-versionstring required

API Version

Response

OK

creationTimestring date-time

Timestamp when this instance was created.

recommendationIdstring

A GUID value that each recommendation object is associated with.

resourceIdstring

Full ARM resource ID string that this recommendation object is associated with.

resourceScopestring

Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.

ruleNamestring

Unique name of the rule

displayNamestring

UI friendly name of the rule (may not be unique)

messagestring

Localized text of recommendation, good for UI.

level'Critical' | 'Warning' | 'Information' | 'NonUrgentSuggestion' required

Level indicating how critical this recommendation can impact.

channels'Notification' | 'Api' | 'Email' | 'All' required

List of channels that this recommendation can apply.

tagsstring[]

The list of category tags that this recommendation belongs to.

actionNamestring

Name of action recommended by this object.

enabledinteger

On/off flag indicating the rule is currently enabled or disabled.

startTimestring date-time

The beginning time of a range that the recommendation refers to.

endTimestring date-time

The end time of a range that the recommendation refers to.

nextNotificationTimestring date-time

When to notify this recommendation next. Null means that this will never be notified anymore.

notificationExpirationTimestring date-time

Date and time when this notification expires.

notifiedTimestring date-time

Last timestamp this instance was actually notified. Null means that this recommendation hasn't been notified yet.

scorenumber double

A metric value measured by the rule.