Share via


ScanRuleset Class

Definition

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

Constructors

ScanRuleset()

Creates an new ScanRuleset instance.

Properties

Id
Kind
Name
ResourceGroupName

Gets the resource group name

Status
Type
Version

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScanRuleset.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScanRuleset.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset. Note: the Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset 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 ScanRuleset, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScanRuleset into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to