Freigeben über


CopyOption Class

Definition

Options to copy

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

Constructors

Name Description
CopyOption()

Creates an new CopyOption instance.

Properties

Name Description
ObjectType

Type of the specific object - used for deserializing

Methods

Name Description
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.Api202501.ICopyOption. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.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