ArmAdvisorModelFactory.ResourceRecommendationBaseData Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de 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
Paramètres
ID.
- name
- String
Nom.
- resourceType
- ResourceType
ResourceType.
- systemData
- SystemData
SystemData.
- impactedField
- String
Type de ressource identifié par Advisor.
- impactedValue
- String
Ressource identifiée par Advisor.
- lastUpdated
- Nullable<DateTimeOffset>
L’heure la plus récente où Advisor a vérifié la validité de la recommandation.
- metadata
- IDictionary<String,BinaryData>
Métadonnées de recommandation.
- recommendationTypeId
- String
GUID de type recommandation.
- shortDescription
- ShortDescription
Résumé de la recommandation.
- suppressionIds
- IEnumerable<Guid>
Liste des règles ignorées et ignorées pour la recommandation.
- extendedProperties
- IDictionary<String,String>
Propriétés étendues.
- resourceMetadata
- ResourceMetadata
Métadonnées de la ressource qui a été évaluée.
- description
- String
Description détaillée de la recommandation.
- label
- String
Étiquette de recommandation.
- learnMoreLink
- String
Lien pour en savoir plus sur la logique de recommandation et de génération.
- potentialBenefits
- String
L’avantage potentiel de la mise en œuvre de la recommandation.
- actions
- IEnumerable<IDictionary<String,BinaryData>>
Liste des actions recommandées pour implémenter la recommandation.
- remediation
- IDictionary<String,BinaryData>
Méthode automatisée pour appliquer la recommandation.
- exposedMetadataProperties
- IDictionary<String,BinaryData>
Propriétés de métadonnées de recommandation exposées au client pour fournir des informations supplémentaires.
Retours
Une nouvelle ResourceRecommendationBaseData instance de moqueries.
S’applique à
Azure SDK for .NET