RecommendationRuleData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the RecommendationRule data model. Represents a recommendation rule that the recommendation engine can perform. Serialized Name: RecommendationRule
public class RecommendationRuleData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.RecommendationRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.RecommendationRuleData>
type RecommendationRuleData = class
inherit ResourceData
interface IJsonModel<RecommendationRuleData>
interface IPersistableModel<RecommendationRuleData>
Public Class RecommendationRuleData
Inherits ResourceData
Implements IJsonModel(Of RecommendationRuleData), IPersistableModel(Of RecommendationRuleData)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| RecommendationRuleData() |
Initializes a new instance of RecommendationRuleData. |
Properties
| Name | Description |
|---|---|
| ActionName |
Name of action that is recommended by this rule in string. Serialized Name: RecommendationRule.properties.actionName |
| BladeName |
Deep link to a blade on the portal. Applicable to dynamic rule only. Serialized Name: RecommendationRule.properties.bladeName |
| CategoryTags |
The list of category tags that this recommendation rule belongs to. Serialized Name: RecommendationRule.properties.categoryTags |
| Channels |
List of available channels that this rule applies. Serialized Name: RecommendationRule.properties.channels |
| Description |
Localized detailed description of the rule. Serialized Name: RecommendationRule.properties.description |
| DisplayName |
UI friendly name of the rule. Serialized Name: RecommendationRule.properties.displayName |
| ExtensionName |
Extension name of the portal if exists. Applicable to dynamic rule only. Serialized Name: RecommendationRule.properties.extensionName |
| ForwardLink |
Forward link to an external document associated with the rule. Applicable to dynamic rule only. Serialized Name: RecommendationRule.properties.forwardLink |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
| IsDynamic |
True if this is associated with a dynamically added rule Serialized Name: RecommendationRule.properties.isDynamic |
| Kind |
Kind of resource. Serialized Name: RecommendationRule.kind |
| Level |
Level of impact indicating how critical this rule is. Serialized Name: RecommendationRule.properties.level |
| Message |
Localized name of the rule (Good for UI). Serialized Name: RecommendationRule.properties.message |
| Name |
The name of the resource. (Inherited from ResourceData) |
| RecommendationId |
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. Serialized Name: RecommendationRule.properties.recommendationId |
| RecommendationName |
Unique name of the rule. Serialized Name: RecommendationRule.properties.recommendationName |
| ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<RecommendationRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<RecommendationRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<RecommendationRuleData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<RecommendationRuleData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<RecommendationRuleData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |