ArmAdvisorModelFactory.AdvisorPredictionResult Method

Definition

public static Azure.ResourceManager.Advisor.Models.AdvisorPredictionResult AdvisorPredictionResult(BinaryData extendedProperties = default, Azure.ResourceManager.Advisor.Models.AdvisorPredictionType? predictionType = default, Azure.ResourceManager.Advisor.Models.RecommendationCategory? category = default, Azure.ResourceManager.Advisor.Models.RecommendationBusinessImpact? impact = default, string impactedField = default, DateTimeOffset? lastUpdatedOn = default, Azure.ResourceManager.Advisor.Models.RecommendationShortDescription shortDescription = default);
static member AdvisorPredictionResult : BinaryData * Nullable<Azure.ResourceManager.Advisor.Models.AdvisorPredictionType> * Nullable<Azure.ResourceManager.Advisor.Models.RecommendationCategory> * Nullable<Azure.ResourceManager.Advisor.Models.RecommendationBusinessImpact> * string * Nullable<DateTimeOffset> * Azure.ResourceManager.Advisor.Models.RecommendationShortDescription -> Azure.ResourceManager.Advisor.Models.AdvisorPredictionResult
Public Shared Function AdvisorPredictionResult (Optional extendedProperties As BinaryData = Nothing, Optional predictionType As Nullable(Of AdvisorPredictionType) = Nothing, Optional category As Nullable(Of RecommendationCategory) = Nothing, Optional impact As Nullable(Of RecommendationBusinessImpact) = Nothing, Optional impactedField As String = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional shortDescription As RecommendationShortDescription = Nothing) As AdvisorPredictionResult

Parameters

extendedProperties
BinaryData

Extended properties.

predictionType
Nullable<AdvisorPredictionType>

Type of the prediction.

category
Nullable<RecommendationCategory>

The category of the recommendation.

impact
Nullable<RecommendationBusinessImpact>

The business impact of the recommendation.

impactedField
String

The resource type identified by Advisor.

lastUpdatedOn
Nullable<DateTimeOffset>

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

shortDescription
RecommendationShortDescription

A summary of the recommendation.

Returns

A new AdvisorPredictionResult instance for mocking.

Applies to