次の方法で共有


BlobServiceProperties クラス

ストレージ アカウントの BLOB サービスのプロパティ。

変数はサーバーによってのみ設定され、要求の送信時には無視されます。

継承
azure.mgmt.storage.v2021_09_01.models._models_py3.Resource
BlobServiceProperties

コンストラクター

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 パラメータ

名前 説明
cors

BLOB サービスの CORS 規則を指定します。 要求には、最大 5 つの CorsRule 要素を含めることができます。 要求本文に CorsRule 要素が含まれていない場合、すべての CORS ルールが削除され、BLOB サービスに対して CORS が無効になります。

default_service_version
str

DefaultServiceVersion は、受信要求のバージョンが指定されていない場合に BLOB サービスへの要求に使用する既定のバージョンを示します。 有効値は、バージョン 2008-10-27 およびそれ以降のすべての最新バージョンです。

delete_retention_policy

BLOB 論理的な削除の BLOB サービスのプロパティ。

is_versioning_enabled

true に設定すると、バージョン管理が有効になります。

automatic_snapshot_policy_enabled

isVersioningEnabled プロパティを優先して非推奨になりました。

change_feed

変更フィード イベントの BLOB サービス プロパティ。

restore_policy

BLOB 復元ポリシーの BLOB サービスのプロパティ。

container_delete_retention_policy

コンテナーの論理的な削除の BLOB サービスのプロパティ。

last_access_time_tracking_policy

最終アクセス時刻ベースの追跡ポリシーを構成する BLOB サービス プロパティ。

変数

名前 説明
id
str

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}。

name
str

リソースの名前。

type
str

リソースの型。 たとえば、"Microsoft.Compute/virtualMachines" や "Microsoft.Storage/storageAccounts" などです。

sku
Sku

SKU の名前とレベル。

cors

BLOB サービスの CORS 規則を指定します。 要求には、最大 5 つの CorsRule 要素を含めることができます。 要求本文に CorsRule 要素が含まれていない場合、すべての CORS ルールが削除され、BLOB サービスに対して CORS が無効になります。

default_service_version
str

DefaultServiceVersion は、受信要求のバージョンが指定されていない場合に BLOB サービスへの要求に使用する既定のバージョンを示します。 有効値は、バージョン 2008-10-27 およびそれ以降のすべての最新バージョンです。

delete_retention_policy

BLOB 論理的な削除の BLOB サービスのプロパティ。

is_versioning_enabled

true に設定すると、バージョン管理が有効になります。

automatic_snapshot_policy_enabled

isVersioningEnabled プロパティを優先して非推奨になりました。

change_feed

変更フィード イベントの BLOB サービス プロパティ。

restore_policy

BLOB 復元ポリシーの BLOB サービスのプロパティ。

container_delete_retention_policy

コンテナーの論理的な削除の BLOB サービスのプロパティ。

last_access_time_tracking_policy

最終アクセス時刻ベースの追跡ポリシーを構成する BLOB サービス プロパティ。