Share via


AzureBackupRule Class

Definition

Azure backup rule

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRuleTypeConverter))]
public class AzureBackupRule : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRuleTypeConverter))>]
type AzureBackupRule = class
    interface IAzureBackupRule
    interface IJsonSerializable
    interface IBasePolicyRule
    interface IValidates
Public Class AzureBackupRule
Implements IAzureBackupRule, IValidates
Inheritance
AzureBackupRule
Attributes
Implements

Constructors

AzureBackupRule()

Creates an new AzureBackupRule instance.

Properties

BackupParameter

BackupParameters base

BackupParameterObjectType

Type of the specific object - used for deserializing

DataStoreObjectType

Type of Datasource object, used to initialize the right inherited type

DataStoreType

type of datastore; Operational/Vault/Archive

Name
ObjectType
Trigger

Trigger context

TriggerObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureBackupRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureBackupRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureBackupRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to