Dela via


BlobServiceProperties Class

Definition

The properties of a storage account’s Blob service.

[Microsoft.Rest.Serialization.JsonTransformation]
public class BlobServiceProperties : Microsoft.Azure.Management.Storage.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type BlobServiceProperties = class
    inherit Resource
Public Class BlobServiceProperties
Inherits Resource
Inheritance
BlobServiceProperties
Attributes

Constructors

BlobServiceProperties()

Initializes a new instance of the BlobServiceProperties class.

BlobServiceProperties(String, String, String, CorsRules, String, DeleteRetentionPolicy, Nullable<Boolean>, Nullable<Boolean>, ChangeFeed, RestorePolicyProperties, DeleteRetentionPolicy, LastAccessTimeTrackingPolicy, Sku)

Initializes a new instance of the BlobServiceProperties class.

Properties

AutomaticSnapshotPolicyEnabled

Gets or sets deprecated in favor of isVersioningEnabled property.

ChangeFeed

Gets or sets the blob service properties for change feed events.

ContainerDeleteRetentionPolicy

Gets or sets the blob service properties for container soft delete.

Cors

Gets or sets specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service.

DefaultServiceVersion

Gets or sets 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.

DeleteRetentionPolicy

Gets or sets the blob service properties for blob soft delete.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
IsVersioningEnabled

Gets or sets versioning is enabled if set to true.

LastAccessTimeTrackingPolicy

Gets or sets the blob service property to configure last access time based tracking policy.

Name

Gets the name of the resource

(Inherited from Resource)
RestorePolicy

Gets or sets the blob service properties for blob restore policy.

Sku

Gets sku name and tier.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to