Share via


BackupCriteria Class

Definition

BackupCriteria base class

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupCriteriaTypeConverter))]
public class BackupCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupCriteriaTypeConverter))>]
type BackupCriteria = class
    interface IBackupCriteria
    interface IJsonSerializable
Public Class BackupCriteria
Implements IBackupCriteria
Inheritance
BackupCriteria
Attributes
Implements

Constructors

Name Description
BackupCriteria()

Creates an new BackupCriteria instance.

Properties

Name Description
ObjectType

Type of the specific object - used for deserializing

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupCriteria.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupCriteria.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria 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 BackupCriteria, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupCriteria into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to