Udostępnij przez


BlobServiceProperties1 Class

Definition

The properties of a storage account’s Blob service.

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

Constructors

Name Description
BlobServiceProperties1()

Creates an new BlobServiceProperties1 instance.

Properties

Name Description
AutomaticSnapshotPolicyEnabled

Deprecated in favor of isVersioningEnabled property.

ChangeFeedEnabled

Indicates whether change feed event logging is enabled for the Blob service.

ChangeFeedRetentionInDay

Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.

ContainerDeleteRetentionPolicyAllowPermanentDelete

This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share.

ContainerDeleteRetentionPolicyDay

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

ContainerDeleteRetentionPolicyEnabled

Indicates whether DeleteRetentionPolicy is enabled.

CorCorsRule

The List of CORS rules. You can include up to five CorsRule elements in the request.

DefaultServiceVersion

DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions.

DeleteRetentionPolicyAllowPermanentDelete

This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share.

DeleteRetentionPolicyDay

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

DeleteRetentionPolicyEnabled

Indicates whether DeleteRetentionPolicy is enabled.

IsVersioningEnabled

Versioning is enabled if set to true.

LastAccessTimeTrackingPolicyBlobType

An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only

LastAccessTimeTrackingPolicyEnable

When set to true last access time based tracking is enabled.

LastAccessTimeTrackingPolicyName

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only

LastAccessTimeTrackingPolicyTrackingGranularityInDay

The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1

RestorePolicyDay

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

RestorePolicyEnabled

Blob restore is enabled if set to true.

RestorePolicyLastEnabledTime

Deprecated in favor of minRestoreTime property.

RestorePolicyMinRestoreTime

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BlobServiceProperties1.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BlobServiceProperties1.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BlobServiceProperties1 into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to