你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeleteOption Class

Definition

Delete Option

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

Constructors

DeleteOption()

Creates an new DeleteOption instance.

Properties

Duration

Duration of deletion after given timespan

ObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeleteOption.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeleteOption.

FromJson(JsonNode)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeleteOption into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to