BasePolicyRule Class

Definition

BasePolicy Rule

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

Constructors

BasePolicyRule()

Creates an new BasePolicyRule instance.

Properties

Name
ObjectType

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BasePolicyRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BasePolicyRule.

FromJson(JsonNode)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BasePolicyRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to