Share via


CopyOnExpiryOption Class

Definition

Copy on Expiry Option

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

Constructors

CopyOnExpiryOption()

Creates an new CopyOnExpiryOption instance.

Properties

ObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CopyOnExpiryOption.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CopyOnExpiryOption.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CopyOnExpiryOption into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to