Condividi tramite


ResourceRecommendationBase Class

Definition

Advisor Recommendation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ResourceRecommendationBaseTypeConverter))]
public class ResourceRecommendationBase : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase, Microsoft.Azure.PowerShell.Cmdlets.Advisor.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ResourceRecommendationBaseTypeConverter))>]
type ResourceRecommendationBase = class
    interface IResourceRecommendationBase
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class ResourceRecommendationBase
Implements IResourceRecommendationBase, IValidates
Inheritance
ResourceRecommendationBase
Attributes
Implements

Constructors

ResourceRecommendationBase()

Creates an new ResourceRecommendationBase 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

Id

The resource ID.

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.

Name

The name of the resource.

PotentialBenefit

The potential benefit of implementing recommendation.

RecommendationTypeId

The recommendation-type GUID.

Remediation

The automated way to apply recommendation.

ResourceGroupName

Gets the resource group name

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.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceRecommendationBase.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceRecommendationBase.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceRecommendationBase into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to