Recommendation Constructors
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.
Overloads
Recommendation() |
Initializes a new instance of the Recommendation class. |
Recommendation(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, String, String, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, String, Nullable<Int32>, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, Nullable<Boolean>, String, String, String) |
Initializes a new instance of the Recommendation class. |
Recommendation()
Initializes a new instance of the Recommendation class.
public Recommendation ();
Public Sub New ()
Applies to
Recommendation(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, String, String, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, String, Nullable<Int32>, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, Nullable<Boolean>, String, String, String)
Initializes a new instance of the Recommendation class.
public Recommendation (string id = default, string name = default, string kind = default, string type = default, DateTime? creationTime = default, Guid? recommendationId = default, string resourceId = default, string resourceScope = default, string ruleName = default, string displayName = default, string message = default, Microsoft.Azure.Management.WebSites.Models.NotificationLevel? level = default, Microsoft.Azure.Management.WebSites.Models.Channels? channels = default, System.Collections.Generic.IList<string> categoryTags = default, string actionName = default, int? enabled = default, System.Collections.Generic.IList<string> states = default, DateTime? startTime = default, DateTime? endTime = default, DateTime? nextNotificationTime = default, DateTime? notificationExpirationTime = default, DateTime? notifiedTime = default, double? score = default, bool? isDynamic = default, string extensionName = default, string bladeName = default, string forwardLink = default);
new Microsoft.Azure.Management.WebSites.Models.Recommendation : string * string * string * string * Nullable<DateTime> * Nullable<Guid> * string * string * string * string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.NotificationLevel> * Nullable<Microsoft.Azure.Management.WebSites.Models.Channels> * System.Collections.Generic.IList<string> * string * Nullable<int> * System.Collections.Generic.IList<string> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<double> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.WebSites.Models.Recommendation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional recommendationId As Nullable(Of Guid) = Nothing, Optional resourceId As String = Nothing, Optional resourceScope As String = 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 Channels) = Nothing, Optional categoryTags As IList(Of String) = Nothing, Optional actionName As String = Nothing, Optional enabled As Nullable(Of Integer) = Nothing, Optional states As IList(Of String) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional nextNotificationTime As Nullable(Of DateTime) = Nothing, Optional notificationExpirationTime As Nullable(Of DateTime) = Nothing, Optional notifiedTime As Nullable(Of DateTime) = 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)
Parameters
- id
- String
Resource Id.
- name
- String
Resource Name.
- kind
- String
Kind of resource.
- type
- String
Resource type.
- resourceId
- String
Full ARM resource ID string that this recommendation object is associated with.
- resourceScope
- String
Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'
- 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. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'
List of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'
- actionName
- String
Name of action recommended by this object.
True if this recommendation is still valid (i.e. "actionable"). False if it is invalid.
The list of states of this recommendation. If it's null then it should be considered "Active".
The beginning time in UTC of a range that the recommendation refers to.
When to notify this recommendation next in UTC. Null means that this will never be notified anymore.
Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.
- 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.
Applies to
Azure SDK for .NET