ArmAppServiceModelFactory.AppServiceRecommendation Method

Definition

Initializes a new instance of AppServiceRecommendation.

public static Azure.ResourceManager.AppService.Models.AppServiceRecommendation AppServiceRecommendation (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, Guid? recommendationId = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.AppService.Models.ResourceScopeType? resourceScope = default, string ruleName = default, string displayName = default, string message = default, Azure.ResourceManager.AppService.Models.NotificationLevel? level = default, Azure.ResourceManager.AppService.Models.RecommendationChannel? channels = default, System.Collections.Generic.IEnumerable<string> categoryTags = default, string actionName = default, int? enabled = default, System.Collections.Generic.IEnumerable<string> states = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, DateTimeOffset? nextNotificationOn = default, DateTimeOffset? notificationExpirationOn = default, DateTimeOffset? notifiedOn = default, double? score = default, bool? isDynamic = default, string extensionName = default, string bladeName = default, string forwardLink = default, string kind = default);
static member AppServiceRecommendation : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Guid> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.AppService.Models.ResourceScopeType> * string * string * string * Nullable<Azure.ResourceManager.AppService.Models.NotificationLevel> * Nullable<Azure.ResourceManager.AppService.Models.RecommendationChannel> * seq<string> * string * Nullable<int> * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<double> * Nullable<bool> * string * string * string * string -> Azure.ResourceManager.AppService.Models.AppServiceRecommendation
Public Shared Function AppServiceRecommendation (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional recommendationId As Nullable(Of Guid) = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional resourceScope As Nullable(Of ResourceScopeType) = Nothing, Optional ruleName As String = Nothing, Optional displayName As String = Nothing, Optional message 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 actionName As String = Nothing, Optional enabled As Nullable(Of Integer) = Nothing, Optional states As IEnumerable(Of String) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional nextNotificationOn As Nullable(Of DateTimeOffset) = Nothing, Optional notificationExpirationOn As Nullable(Of DateTimeOffset) = Nothing, Optional notifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional score As Nullable(Of Double) = 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 AppServiceRecommendation

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

Timestamp when this instance was created.

recommendationId
Nullable<Guid>

A GUID value that each recommendation object is associated with.

resourceId
ResourceIdentifier

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

resourceScope
Nullable<ResourceScopeType>

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

ruleName
String

Unique name of the rule.

displayName
String

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

message
String

Recommendation text.

level
Nullable<NotificationLevel>

Level indicating how critical this recommendation can impact.

channels
Nullable<RecommendationChannel>

List of channels that this recommendation can apply.

categoryTags
IEnumerable<String>

The list of category tags that this recommendation belongs to.

actionName
String

Name of action recommended by this object.

enabled
Nullable<Int32>

True if this recommendation is still valid (i.e. "actionable"). False if it is invalid.

states
IEnumerable<String>

The list of states of this recommendation. If it's null then it should be considered "Active".

startOn
Nullable<DateTimeOffset>

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

endOn
Nullable<DateTimeOffset>

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

nextNotificationOn
Nullable<DateTimeOffset>

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

notificationExpirationOn
Nullable<DateTimeOffset>

Date and time in UTC when this notification expires.

notifiedOn
Nullable<DateTimeOffset>

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

score
Nullable<Double>

A metric value measured by the rule.

isDynamic
Nullable<Boolean>

True if this is associated with a dynamically added rule.

extensionName
String

Extension name of the portal if exists.

bladeName
String

Deep link to a blade on the portal.

forwardLink
String

Forward link to an external document associated with the rule.

kind
String

Kind of resource.

Returns

A new AppServiceRecommendation instance for mocking.

Applies to