Partager via


ArmAdvisorModelFactory.ConfigData Méthode

Définition

Initialise une nouvelle instance de ConfigData.

public static Azure.ResourceManager.Advisor.Models.ConfigData ConfigData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? exclude = default, Azure.ResourceManager.Advisor.Models.CpuThreshold? lowCpuThreshold = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Advisor.Models.DigestConfig> digests = default);
static member ConfigData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Nullable<Azure.ResourceManager.Advisor.Models.CpuThreshold> * seq<Azure.ResourceManager.Advisor.Models.DigestConfig> -> Azure.ResourceManager.Advisor.Models.ConfigData
Public Shared Function ConfigData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional exclude As Nullable(Of Boolean) = Nothing, Optional lowCpuThreshold As Nullable(Of CpuThreshold) = Nothing, Optional digests As IEnumerable(Of DigestConfig) = Nothing) As ConfigData

Paramètres

name
String

Nom.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

exclude
Nullable<Boolean>

Exclure la ressource des évaluations Advisor. Valeurs valides : False (valeur par défaut) ou True.

lowCpuThreshold
Nullable<CpuThreshold>

Seuil de pourcentage minimal pour l’évaluation de l’utilisation faible du processeur Advisor. Valide uniquement pour les abonnements. Valeurs valides : 5 (valeur par défaut), 10, 15 ou 20.

digests
IEnumerable<DigestConfig>

Configuration d’Advisor Digest. Valide uniquement pour les abonnements.

Retours

Une nouvelle ConfigData instance de moqueries.

S’applique à