Udostępnij za pośrednictwem


ArmAppServiceModelFactory.RecommendationRuleData Method

Definition

Initializes a new instance of RecommendationRuleData.

public static Azure.ResourceManager.AppService.RecommendationRuleData RecommendationRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string recommendationName = default, string displayName = default, string message = default, Guid? recommendationId = default, string description = default, string actionName = default, Azure.ResourceManager.AppService.Models.NotificationLevel? level = default, Azure.ResourceManager.AppService.Models.RecommendationChannel? channels = default, System.Collections.Generic.IEnumerable<string> categoryTags = default, bool? isDynamic = default, string extensionName = default, string bladeName = default, string forwardLink = default, string kind = default);
static member RecommendationRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<Guid> * string * string * Nullable<Azure.ResourceManager.AppService.Models.NotificationLevel> * Nullable<Azure.ResourceManager.AppService.Models.RecommendationChannel> * seq<string> * Nullable<bool> * string * string * string * string -> Azure.ResourceManager.AppService.RecommendationRuleData
Public Shared Function RecommendationRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional recommendationName As String = Nothing, Optional displayName As String = Nothing, Optional message As String = Nothing, Optional recommendationId As Nullable(Of Guid) = Nothing, Optional description As String = Nothing, Optional actionName As String = Nothing, Optional level As Nullable(Of NotificationLevel) = Nothing, Optional channels As Nullable(Of RecommendationChannel) = Nothing, Optional categoryTags As IEnumerable(Of String) = Nothing, Optional isDynamic As Nullable(Of Boolean) = Nothing, Optional extensionName As String = Nothing, Optional bladeName As String = Nothing, Optional forwardLink As String = Nothing, Optional kind As String = Nothing) As RecommendationRuleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

recommendationName
String

Unique name of the rule.

displayName
String

UI friendly name of the rule.

message
String

Localized name of the rule (Good for UI).

recommendationId
Nullable<Guid>

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
String

Localized detailed description of the rule.

actionName
String

Name of action that is recommended by this rule in string.

level
Nullable<NotificationLevel>

Level of impact indicating how critical this rule is.

channels
Nullable<RecommendationChannel>

List of available channels that this rule applies.

categoryTags
IEnumerable<String>

The list of category tags that this recommendation rule belongs to.

isDynamic
Nullable<Boolean>

True if this is associated with a dynamically added rule.

extensionName
String

Extension name of the portal if exists. Applicable to dynamic rule only.

bladeName
String

Deep link to a blade on the portal. Applicable to dynamic rule only.

forwardLink
String

Forward link to an external document associated with the rule. Applicable to dynamic rule only.

kind
String

Kind of resource.

Returns

A new RecommendationRuleData instance for mocking.

Applies to