RecommendationRule Class
Represents a recommendation rule that the recommendation engine can perform.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.web.v2021_01_01.models._models_py3.ProxyOnlyResourceRecommendationRule
Constructor
RecommendationRule(*, kind: str | None = None, recommendation_name: str | None = None, display_name: str | None = None, message: str | None = None, recommendation_id: str | None = None, description: str | None = None, action_name: str | None = None, level: str | _models.NotificationLevel | None = None, channels: str | _models.Channels | None = None, is_dynamic: bool | None = None, extension_name: str | None = None, blade_name: str | None = None, forward_link: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
kind
|
Kind of resource. |
recommendation_name
|
Unique name of the rule. |
display_name
|
UI friendly name of the rule. |
message
|
Localized name of the rule (Good for UI). |
recommendation_id
|
Recommendation ID of an associated recommendation object tied to the rule, if exists. If such an object doesn't exist, it is set to null. |
description
|
Localized detailed description of the rule. |
action_name
|
Name of action that is recommended by this rule in string. |
level
|
Level of impact indicating how critical this rule is. Known values are: "Critical", "Warning", "Information", and "NonUrgentSuggestion". |
channels
|
List of available channels that this rule applies. Known values are: "Notification", "Api", "Email", "Webhook", and "All". |
is_dynamic
|
True if this is associated with a dynamically added rule. |
extension_name
|
Extension name of the portal if exists. Applicable to dynamic rule only. |
blade_name
|
Deep link to a blade on the portal. Applicable to dynamic rule only. |
forward_link
|
Forward link to an external document associated with the rule. Applicable to dynamic rule only. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
type
|
Resource type. |
recommendation_name
|
Unique name of the rule. |
display_name
|
UI friendly name of the rule. |
message
|
Localized name of the rule (Good for UI). |
recommendation_id
|
Recommendation ID of an associated recommendation object tied to the rule, if exists. If such an object doesn't exist, it is set to null. |
description
|
Localized detailed description of the rule. |
action_name
|
Name of action that is recommended by this rule in string. |
level
|
Level of impact indicating how critical this rule is. Known values are: "Critical", "Warning", "Information", and "NonUrgentSuggestion". |
channels
|
List of available channels that this rule applies. Known values are: "Notification", "Api", "Email", "Webhook", and "All". |
category_tags
|
The list of category tags that this recommendation rule belongs to. |
is_dynamic
|
True if this is associated with a dynamically added rule. |
extension_name
|
Extension name of the portal if exists. Applicable to dynamic rule only. |
blade_name
|
Deep link to a blade on the portal. Applicable to dynamic rule only. |
forward_link
|
Forward link to an external document associated with the rule. Applicable to dynamic rule only. |
Azure SDK for Python