Share via


CustomCopyOption Class

Definition

Duration based custom options to copy

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

Constructors

CustomCopyOption()

Creates an new CustomCopyOption instance.

Properties

Duration

Data copied after given timespan

ObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CustomCopyOption.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CustomCopyOption.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CustomCopyOption into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to