다음을 통해 공유


BlobServiceProperties Constructors

Definition

Overloads

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.

BlobServiceProperties()

Initializes a new instance of the BlobServiceProperties class.

public BlobServiceProperties ();
Public Sub New ()

Applies to

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

Initializes a new instance of the BlobServiceProperties class.

public BlobServiceProperties (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Storage.Models.CorsRules cors = default, string defaultServiceVersion = default, Microsoft.Azure.Management.Storage.Models.DeleteRetentionPolicy deleteRetentionPolicy = default, bool? isVersioningEnabled = default, bool? automaticSnapshotPolicyEnabled = default, Microsoft.Azure.Management.Storage.Models.ChangeFeed changeFeed = default, Microsoft.Azure.Management.Storage.Models.RestorePolicyProperties restorePolicy = default, Microsoft.Azure.Management.Storage.Models.DeleteRetentionPolicy containerDeleteRetentionPolicy = default, Microsoft.Azure.Management.Storage.Models.LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy = default, Microsoft.Azure.Management.Storage.Models.Sku sku = default);
new Microsoft.Azure.Management.Storage.Models.BlobServiceProperties : string * string * string * Microsoft.Azure.Management.Storage.Models.CorsRules * string * Microsoft.Azure.Management.Storage.Models.DeleteRetentionPolicy * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.ChangeFeed * Microsoft.Azure.Management.Storage.Models.RestorePolicyProperties * Microsoft.Azure.Management.Storage.Models.DeleteRetentionPolicy * Microsoft.Azure.Management.Storage.Models.LastAccessTimeTrackingPolicy * Microsoft.Azure.Management.Storage.Models.Sku -> Microsoft.Azure.Management.Storage.Models.BlobServiceProperties
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional cors As CorsRules = Nothing, Optional defaultServiceVersion As String = Nothing, Optional deleteRetentionPolicy As DeleteRetentionPolicy = Nothing, Optional isVersioningEnabled As Nullable(Of Boolean) = Nothing, Optional automaticSnapshotPolicyEnabled As Nullable(Of Boolean) = Nothing, Optional changeFeed As ChangeFeed = Nothing, Optional restorePolicy As RestorePolicyProperties = Nothing, Optional containerDeleteRetentionPolicy As DeleteRetentionPolicy = Nothing, Optional lastAccessTimeTrackingPolicy As LastAccessTimeTrackingPolicy = Nothing, Optional sku As Sku = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

cors
CorsRules

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
String

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
DeleteRetentionPolicy

The blob service properties for blob soft delete.

isVersioningEnabled
Nullable<Boolean>

Versioning is enabled if set to true.

automaticSnapshotPolicyEnabled
Nullable<Boolean>

Deprecated in favor of isVersioningEnabled property.

changeFeed
ChangeFeed

The blob service properties for change feed events.

restorePolicy
RestorePolicyProperties

The blob service properties for blob restore policy.

containerDeleteRetentionPolicy
DeleteRetentionPolicy

The blob service properties for container soft delete.

lastAccessTimeTrackingPolicy
LastAccessTimeTrackingPolicy

The blob service property to configure last access time based tracking policy.

sku
Sku

Sku name and tier.

Applies to