BlobServiceProperties Class
The properties of a storage account's Blob service.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage.v2023_01_01.models._models_py3.ResourceBlobServiceProperties
Constructor
BlobServiceProperties(*, cors: _models.CorsRules | None = None, default_service_version: str | None = None, delete_retention_policy: _models.DeleteRetentionPolicy | None = None, is_versioning_enabled: bool | None = None, automatic_snapshot_policy_enabled: bool | None = None, change_feed: _models.ChangeFeed | None = None, restore_policy: _models.RestorePolicyProperties | None = None, container_delete_retention_policy: _models.DeleteRetentionPolicy | None = None, last_access_time_tracking_policy: _models.LastAccessTimeTrackingPolicy | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
cors
|
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. |
default_service_version
|
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. |
delete_retention_policy
|
The blob service properties for blob soft delete. |
is_versioning_enabled
|
Versioning is enabled if set to true. |
automatic_snapshot_policy_enabled
|
Deprecated in favor of isVersioningEnabled property. |
change_feed
|
The blob service properties for change feed events. |
restore_policy
|
The blob service properties for blob restore policy. |
container_delete_retention_policy
|
The blob service properties for container soft delete. |
last_access_time_tracking_policy
|
The blob service property to configure last access time based tracking policy. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
sku
|
Sku name and tier. |
cors
|
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. |
default_service_version
|
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. |
delete_retention_policy
|
The blob service properties for blob soft delete. |
is_versioning_enabled
|
Versioning is enabled if set to true. |
automatic_snapshot_policy_enabled
|
Deprecated in favor of isVersioningEnabled property. |
change_feed
|
The blob service properties for change feed events. |
restore_policy
|
The blob service properties for blob restore policy. |
container_delete_retention_policy
|
The blob service properties for container soft delete. |
last_access_time_tracking_policy
|
The blob service property to configure last access time based tracking policy. |
Azure SDK for Python