Freigeben über


RestorePolicyProperties Class

Definition

The blob service properties for blob restore policy

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.RestorePolicyPropertiesTypeConverter))]
public class RestorePolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IRestorePolicyProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.RestorePolicyPropertiesTypeConverter))>]
type RestorePolicyProperties = class
    interface IRestorePolicyProperties
    interface IJsonSerializable
Public Class RestorePolicyProperties
Implements IRestorePolicyProperties
Inheritance
RestorePolicyProperties
Attributes
Implements

Constructors

Name Description
RestorePolicyProperties()

Creates an new RestorePolicyProperties instance.

Properties

Name Description
Day

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

Enabled

Blob restore is enabled if set to true.

LastEnabledTime

Deprecated in favor of minRestoreTime property.

MinRestoreTime

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RestorePolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RestorePolicyProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IRestorePolicyProperties.

FromJsonString(String)

Creates a new instance of RestorePolicyProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RestorePolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to