Delen via


SoftDeletePolicy Constructors

Definition

Overloads

SoftDeletePolicy()

Initializes a new instance of the SoftDeletePolicy class.

SoftDeletePolicy(Nullable<Boolean>)

Initializes a new instance of the SoftDeletePolicy class.

SoftDeletePolicy()

Initializes a new instance of the SoftDeletePolicy class.

public SoftDeletePolicy ();
Public Sub New ()

Applies to

SoftDeletePolicy(Nullable<Boolean>)

Initializes a new instance of the SoftDeletePolicy class.

public SoftDeletePolicy (bool? isSoftDeleteEnabled = default);
new Microsoft.Azure.Management.Compute.Models.SoftDeletePolicy : Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.SoftDeletePolicy
Public Sub New (Optional isSoftDeleteEnabled As Nullable(Of Boolean) = Nothing)

Parameters

isSoftDeleteEnabled
Nullable<Boolean>

Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

Applies to