Share via


DeleteRetentionPolicy Class

Definition

The blob service properties for soft delete.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.DeleteRetentionPolicyTypeConverter))]
public class DeleteRetentionPolicy : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IDeleteRetentionPolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.DeleteRetentionPolicyTypeConverter))>]
type DeleteRetentionPolicy = class
    interface IDeleteRetentionPolicy
    interface IJsonSerializable
Public Class DeleteRetentionPolicy
Implements IDeleteRetentionPolicy
Inheritance
DeleteRetentionPolicy
Attributes
Implements

Constructors

DeleteRetentionPolicy()

Creates an new DeleteRetentionPolicy instance.

Properties

Day

Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365.

Enabled

Indicates whether DeleteRetentionPolicy is enabled for the Blob service.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeleteRetentionPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeleteRetentionPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IDeleteRetentionPolicy.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeleteRetentionPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to