Freigeben über


ArmAdvisorModelFactory.ConfigData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

exclude
Nullable<Boolean>

Schließen Sie die Ressource aus Advisor-Auswertungen aus. Gültige Werte: False (Standard) oder True.

lowCpuThreshold
Nullable<CpuThreshold>

Mindestprozentwert für die Bewertung der niedrigen CPU-Auslastung von Advisor. Gilt nur für Abonnements. Gültige Werte: 5 (Standard), 10, 15 oder 20.

digests
IEnumerable<DigestConfig>

Konfiguration des Advisor-Digests. Gilt nur für Abonnements.

Gibt zurück

Eine neue ConfigData instance zum Mocking.

Gilt für: