Freigeben über


ArmMonitorModelFactory.DiagnosticSettingsCategoryData Methode

Definition

Initialisiert eine neue instance von DiagnosticSettingsCategoryData.

public static Azure.ResourceManager.Monitor.DiagnosticSettingsCategoryData DiagnosticSettingsCategoryData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Monitor.Models.MonitorCategoryType? categoryType = default, System.Collections.Generic.IEnumerable<string> categoryGroups = default);
static member DiagnosticSettingsCategoryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Monitor.Models.MonitorCategoryType> * seq<string> -> Azure.ResourceManager.Monitor.DiagnosticSettingsCategoryData
Public Shared Function DiagnosticSettingsCategoryData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional categoryType As Nullable(Of MonitorCategoryType) = Nothing, Optional categoryGroups As IEnumerable(Of String) = Nothing) As DiagnosticSettingsCategoryData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

categoryType
Nullable<MonitorCategoryType>

Der Typ der Kategorie "Diagnoseeinstellungen".

categoryGroups
IEnumerable<String>

die Auflistung der unterstützten Kategoriegruppen.

Gibt zurück

Eine neue DiagnosticSettingsCategoryData instance zum Mocking.

Gilt für: