Recommendation Class
Represents a recommendation result generated by the recommendation engine.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResourceRecommendation
Constructor
Recommendation(*, kind: Optional[str] = None, creation_time: Optional[datetime.datetime] = None, recommendation_id: Optional[str] = None, resource_id: Optional[str] = None, resource_scope: Optional[Union[str, azure.mgmt.web.v2016_03_01.models._web_site_management_client_enums.ResourceScopeType]] = None, rule_name: Optional[str] = None, display_name: Optional[str] = None, message: Optional[str] = None, level: Optional[Union[str, azure.mgmt.web.v2016_03_01.models._web_site_management_client_enums.NotificationLevel]] = None, channels: Optional[Union[str, azure.mgmt.web.v2016_03_01.models._web_site_management_client_enums.Channels]] = None, tags: Optional[List[str]] = None, action_name: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, next_notification_time: Optional[datetime.datetime] = None, notification_expiration_time: Optional[datetime.datetime] = None, notified_time: Optional[datetime.datetime] = None, score: Optional[float] = None, is_dynamic: Optional[bool] = None, extension_name: Optional[str] = None, blade_name: Optional[str] = None, forward_link: Optional[str] = None, **kwargs)
Parameters
- resource_id
- str
Full ARM resource ID string that this recommendation object is associated with.
- resource_scope
- str or ResourceScopeType
Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: "ServerFarm", "Subscription", "WebSite".
- level
- str or NotificationLevel
Level indicating how critical this recommendation can impact. Possible values include: "Critical", "Warning", "Information", "NonUrgentSuggestion".
List of channels that this recommendation can apply. Possible values include: "Notification", "Api", "Email", "Webhook", "All".
A set of tags. The list of category tags that this recommendation belongs to.
- start_time
- datetime
The beginning time in UTC of a range that the recommendation refers to.
- next_notification_time
- datetime
When to notify this recommendation next in UTC. Null means that this will never be notified anymore.
- notified_time
- datetime
Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.
Variables
- id
- str
Resource Id.
- name
- str
Resource Name.
- type
- str
Resource type.
Feedback
Submit and view feedback for