ResourceRecommendationBaseData Class

Definition

A class representing the ResourceRecommendationBase data model. Advisor Recommendation.

public class ResourceRecommendationBaseData : Azure.ResourceManager.Models.ResourceData
type ResourceRecommendationBaseData = class
    inherit ResourceData
Public Class ResourceRecommendationBaseData
Inherits ResourceData
Inheritance
ResourceRecommendationBaseData

Constructors

ResourceRecommendationBaseData()

Initializes a new instance of ResourceRecommendationBaseData.

Properties

Actions

The list of recommended actions to implement recommendation.

Category

The category of the recommendation.

Description

The detailed description of recommendation.

ExposedMetadataProperties

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

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ExtendedProperties

Extended properties.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
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.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Name

The name of the resource.

(Inherited from ResourceData)
PotentialBenefits

The potential benefit of implementing recommendation.

RecommendationTypeId

The recommendation-type GUID.

Remediation

The automated way to apply recommendation.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ResourceMetadata

Metadata of resource that was assessed.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Risk

The potential risk of not implementing the recommendation.

ShortDescription

A summary of the recommendation.

SuppressionIds

The list of snoozed and dismissed rules for the recommendation.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Applies to