你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceRecommendationBase 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ResourceRecommendationBase() |
初始化 ResourceRecommendationBase 类的新实例。 |
ResourceRecommendationBase(String, String, String, String, String, String, String, Nullable<DateTime>, IDictionary<String,Object>, String, String, ShortDescription, IList<Nullable<Guid>>, IDictionary<String, String>) |
初始化 ResourceRecommendationBase 类的新实例。 |
ResourceRecommendationBase()
初始化 ResourceRecommendationBase 类的新实例。
public ResourceRecommendationBase ();
Public Sub New ()
适用于
ResourceRecommendationBase(String, String, String, String, String, String, String, Nullable<DateTime>, IDictionary<String,Object>, String, String, ShortDescription, IList<Nullable<Guid>>, IDictionary<String, String>)
初始化 ResourceRecommendationBase 类的新实例。
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)
参数
- id
- String
资源 ID。
- name
- String
资源的名称。
- type
- String
资源类型。
- category
- String
建议的类别。 可能的值包括:“HighAvailability”、“Security”、“Performance”、“Cost”
- impact
- String
建议的业务影响。 可能的值包括:“High”、“Medium”、“Low”
- impactedField
- String
顾问标识的资源类型。
- impactedValue
- String
顾问标识的资源。
- metadata
- IDictionary<String,Object>
建议元数据。
- recommendationTypeId
- String
建议类型的 GUID。
- risk
- String
未实施建议的潜在风险。 可能的值包括:“Error”、“Warning”、“None”
- shortDescription
- ShortDescription
建议摘要。
- extendedProperties
- IDictionary<String,String>
扩展属性