共用方式為


ResourceRecommendationBase Constructors

Definition

Overloads

ResourceRecommendationBase()

Initializes a new instance of the ResourceRecommendationBase class.

ResourceRecommendationBase(String, String, String, String, String, String, String, Nullable<DateTime>, IDictionary<String,Object>, String, String, ShortDescription, IList<Nullable<Guid>>, IDictionary<String, String>)

Initializes a new instance of the ResourceRecommendationBase class.

ResourceRecommendationBase()

Initializes a new instance of the ResourceRecommendationBase class.

public ResourceRecommendationBase ();
Public Sub New ()

Applies to

ResourceRecommendationBase(String, String, String, String, String, String, String, Nullable<DateTime>, IDictionary<String,Object>, String, String, ShortDescription, IList<Nullable<Guid>>, IDictionary<String, String>)

Initializes a new instance of the ResourceRecommendationBase class.

public ResourceRecommendationBase (string id = default, string name = default, string type = default, string category = default, string impact = default, string impactedField = default, string impactedValue = default, DateTime? lastUpdated = default, System.Collections.Generic.IDictionary<string,object> metadata = default, string recommendationTypeId = default, string risk = default, Microsoft.Azure.Management.Advisor.Models.ShortDescription shortDescription = default, System.Collections.Generic.IList<Guid?> suppressionIds = default, System.Collections.Generic.IDictionary<string,string> extendedProperties = default);
new Microsoft.Azure.Management.Advisor.Models.ResourceRecommendationBase : string * string * string * string * string * string * string * Nullable<DateTime> * System.Collections.Generic.IDictionary<string, obj> * string * string * Microsoft.Azure.Management.Advisor.Models.ShortDescription * System.Collections.Generic.IList<Nullable<Guid>> * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Advisor.Models.ResourceRecommendationBase
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional category As String = Nothing, Optional impact As String = Nothing, Optional impactedField As String = Nothing, Optional impactedValue As String = Nothing, Optional lastUpdated As Nullable(Of DateTime) = Nothing, Optional metadata As IDictionary(Of String, Object) = Nothing, Optional recommendationTypeId As String = Nothing, Optional risk As String = Nothing, Optional shortDescription As ShortDescription = Nothing, Optional suppressionIds As IList(Of Nullable(Of Guid)) = Nothing, Optional extendedProperties As IDictionary(Of String, String) = Nothing)

Parameters

id
String

The resource ID.

name
String

The name of the resource.

type
String

The type of the resource.

category
String

The category of the recommendation. Possible values include: 'HighAvailability', 'Security', 'Performance', 'Cost'

impact
String

The business impact of the recommendation. Possible values include: 'High', 'Medium', 'Low'

impactedField
String

The resource type identified by Advisor.

impactedValue
String

The resource identified by Advisor.

lastUpdated
Nullable<DateTime>

The most recent time that Advisor checked the validity of the recommendation.

metadata
IDictionary<String,Object>

The recommendation metadata.

recommendationTypeId
String

The recommendation-type GUID.

risk
String

The potential risk of not implementing the recommendation. Possible values include: 'Error', 'Warning', 'None'

shortDescription
ShortDescription

A summary of the recommendation.

suppressionIds
IList<Nullable<Guid>>

The list of snoozed and dismissed rules for the recommendation.

extendedProperties
IDictionary<String,String>

Extended properties

Applies to