Udostępnij za pośrednictwem


RecommendationProperties Class

Definition

The properties of the recommendation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.RecommendationPropertiesTypeConverter))]
public class RecommendationProperties : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IRecommendationProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.RecommendationPropertiesTypeConverter))>]
type RecommendationProperties = class
    interface IRecommendationProperties
    interface IJsonSerializable
Public Class RecommendationProperties
Implements IRecommendationProperties
Inheritance
RecommendationProperties
Attributes
Implements

Constructors

RecommendationProperties()

Creates an new RecommendationProperties instance.

Properties

Action

The list of recommended actions to implement recommendation.

Category

The category of the recommendation.

Description

The detailed description of recommendation.

ExposedMetadataProperty

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

ExtendedProperty

Extended properties

Impact

The business impact of the recommendation.

ImpactedField

The resource type identified by Advisor.

ImpactedValue

The resource identified by Advisor.

Label

The label of recommendation.

LastUpdated

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

LearnMoreLink

The link to learn more about recommendation and generation logic.

Metadata

The recommendation metadata.

PotentialBenefit

The potential benefit of implementing recommendation.

RecommendationTypeId

The recommendation-type GUID.

Remediation

The automated way to apply recommendation.

ResourceMetadataAction

The action to view resource.

ResourceMetadataPlural

The plural user friendly name of resource type. eg: virtual machines

ResourceMetadataResourceId

Azure resource Id of the assessed resource

ResourceMetadataSingular

The singular user friendly name of resource type. eg: virtual machine

ResourceMetadataSource

Source from which recommendation is generated

Risk

The potential risk of not implementing the recommendation.

ShortDescriptionProblem

The issue or opportunity identified by the recommendation and proposed solution.

ShortDescriptionSolution

The issue or opportunity identified by the recommendation and proposed solution.

SuppressionId

The list of snoozed and dismissed rules for the recommendation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RecommendationProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RecommendationProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IRecommendationProperties.

FromJsonString(String)

Creates a new instance of RecommendationProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RecommendationProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to