Udostępnij za pośrednictwem


ArmAdvisorModelFactory.ResourceRecommendationBaseData Method

Definition

Initializes a new instance of ResourceRecommendationBaseData.

public static Azure.ResourceManager.Advisor.ResourceRecommendationBaseData ResourceRecommendationBaseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Advisor.Models.Category? category = default, Azure.ResourceManager.Advisor.Models.Impact? impact = default, string impactedField = default, string impactedValue = default, DateTimeOffset? lastUpdated = default, System.Collections.Generic.IDictionary<string,BinaryData> metadata = default, string recommendationTypeId = default, Azure.ResourceManager.Advisor.Models.Risk? risk = default, Azure.ResourceManager.Advisor.Models.ShortDescription shortDescription = default, System.Collections.Generic.IEnumerable<Guid> suppressionIds = default, System.Collections.Generic.IDictionary<string,string> extendedProperties = default, Azure.ResourceManager.Advisor.Models.ResourceMetadata resourceMetadata = default, string description = default, string label = default, string learnMoreLink = default, string potentialBenefits = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,BinaryData>> actions = default, System.Collections.Generic.IDictionary<string,BinaryData> remediation = default, System.Collections.Generic.IDictionary<string,BinaryData> exposedMetadataProperties = default);
static member ResourceRecommendationBaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Advisor.Models.Category> * Nullable<Azure.ResourceManager.Advisor.Models.Impact> * string * string * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, BinaryData> * string * Nullable<Azure.ResourceManager.Advisor.Models.Risk> * Azure.ResourceManager.Advisor.Models.ShortDescription * seq<Guid> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Advisor.Models.ResourceMetadata * string * string * string * string * seq<System.Collections.Generic.IDictionary<string, BinaryData>> * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.Advisor.ResourceRecommendationBaseData
Public Shared Function ResourceRecommendationBaseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional category As Nullable(Of Category) = Nothing, Optional impact As Nullable(Of Impact) = Nothing, Optional impactedField As String = Nothing, Optional impactedValue As String = Nothing, Optional lastUpdated As Nullable(Of DateTimeOffset) = Nothing, Optional metadata As IDictionary(Of String, BinaryData) = Nothing, Optional recommendationTypeId As String = Nothing, Optional risk As Nullable(Of Risk) = Nothing, Optional shortDescription As ShortDescription = Nothing, Optional suppressionIds As IEnumerable(Of Guid) = Nothing, Optional extendedProperties As IDictionary(Of String, String) = Nothing, Optional resourceMetadata As ResourceMetadata = Nothing, Optional description As String = Nothing, Optional label As String = Nothing, Optional learnMoreLink As String = Nothing, Optional potentialBenefits As String = Nothing, Optional actions As IEnumerable(Of IDictionary(Of String, BinaryData)) = Nothing, Optional remediation As IDictionary(Of String, BinaryData) = Nothing, Optional exposedMetadataProperties As IDictionary(Of String, BinaryData) = Nothing) As ResourceRecommendationBaseData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

category
Nullable<Category>

The category of the recommendation.

impact
Nullable<Impact>

The business impact of the recommendation.

impactedField
String

The resource type identified by Advisor.

impactedValue
String

The resource identified by Advisor.

lastUpdated
Nullable<DateTimeOffset>

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

metadata
IDictionary<String,BinaryData>

The recommendation metadata.

recommendationTypeId
String

The recommendation-type GUID.

risk
Nullable<Risk>

The potential risk of not implementing the recommendation.

shortDescription
ShortDescription

A summary of the recommendation.

suppressionIds
IEnumerable<Guid>

The list of snoozed and dismissed rules for the recommendation.

extendedProperties
IDictionary<String,String>

Extended properties.

resourceMetadata
ResourceMetadata

Metadata of resource that was assessed.

description
String

The detailed description of recommendation.

label
String

The label of recommendation.

learnMoreLink
String

The link to learn more about recommendation and generation logic.

potentialBenefits
String

The potential benefit of implementing recommendation.

actions
IEnumerable<IDictionary<String,BinaryData>>

The list of recommended actions to implement recommendation.

remediation
IDictionary<String,BinaryData>

The automated way to apply recommendation.

exposedMetadataProperties
IDictionary<String,BinaryData>

The recommendation metadata properties exposed to customer to provide additional information.

Returns

A new ResourceRecommendationBaseData instance for mocking.

Applies to