Share via


DiagnosticCategory Class

Definition

Class representing detector definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DiagnosticCategoryTypeConverter))]
public class DiagnosticCategory : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDiagnosticCategory, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DiagnosticCategoryTypeConverter))>]
type DiagnosticCategory = class
    interface IDiagnosticCategory
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class DiagnosticCategory
Implements IDiagnosticCategory, IValidates
Inheritance
DiagnosticCategory
Attributes
Implements

Constructors

DiagnosticCategory()

Creates an new DiagnosticCategory instance.

Properties

Description

Description of the diagnostic category

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiagnosticCategory.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiagnosticCategory.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDiagnosticCategory.

FromJsonString(String)

Creates a new instance of DiagnosticCategory, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiagnosticCategory into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to