Aracılığıyla paylaş


RestorePolicyProperties Constructors

Definition

Overloads

RestorePolicyProperties()

Initializes a new instance of the RestorePolicyProperties class.

RestorePolicyProperties(Boolean, Nullable<Int32>, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the RestorePolicyProperties class.

RestorePolicyProperties()

Initializes a new instance of the RestorePolicyProperties class.

public RestorePolicyProperties ();
Public Sub New ()

Applies to

RestorePolicyProperties(Boolean, Nullable<Int32>, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the RestorePolicyProperties class.

public RestorePolicyProperties (bool enabled, int? days = default, DateTime? lastEnabledTime = default, DateTime? minRestoreTime = default);
new Microsoft.Azure.Management.Storage.Models.RestorePolicyProperties : bool * Nullable<int> * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.Storage.Models.RestorePolicyProperties
Public Sub New (enabled As Boolean, Optional days As Nullable(Of Integer) = Nothing, Optional lastEnabledTime As Nullable(Of DateTime) = Nothing, Optional minRestoreTime As Nullable(Of DateTime) = Nothing)

Parameters

enabled
Boolean

Blob restore is enabled if set to true.

days
Nullable<Int32>

how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.

lastEnabledTime
Nullable<DateTime>

Deprecated in favor of minRestoreTime property.

minRestoreTime
Nullable<DateTime>

Returns the minimum date and time that the restore can be started.

Applies to