Share via


CopyOption Class

Definition

Options to copy

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

Constructors

CopyOption()

Creates an new CopyOption instance.

Properties

ObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CopyOption.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CopyOption.

FromJson(JsonNode)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CopyOption into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to