CustomCopyOption Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |