ArmMonitorModelFactory.DiagnosticSettingsCategoryData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- categoryType
- Nullable<MonitorCategoryType>
The type of the diagnostic settings category.
- categoryGroups
- IEnumerable<String>
the collection of what category groups are supported.
Returns
A new DiagnosticSettingsCategoryData instance for mocking.