Share via


ClassificationRule Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ClassificationRuleTypeConverter))]
public class ClassificationRule : Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ClassificationRuleTypeConverter))>]
type ClassificationRule = class
    interface IClassificationRule
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class ClassificationRule
Implements IClassificationRule, IValidates
Inheritance
ClassificationRule
Attributes
Implements

Constructors

ClassificationRule()

Creates an new ClassificationRule instance.

Properties

Id
Kind
Name
ResourceGroupName

Gets the resource group name

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ClassificationRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ClassificationRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule. Note: the Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ClassificationRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to