Azure Stack Hub 儲存體:差異與注意事項Azure Stack Hub storage: Differences and considerations

「Azure Stack Hub 儲存體」是 Microsoft Azure Stack Hub 中的一組儲存體雲端服務。Azure Stack Hub storage is the set of storage cloud services in Microsoft Azure Stack Hub. 「Azure Stack Hub 儲存體」使用與 Azure 一致的語意來提供 Blob、資料表、佇列及帳戶管理功能。Azure Stack Hub storage provides blob, table, queue, and account management functionality with Azure-consistent semantics.

此文章摘要說明 Azure Stack Hub 儲存體與 Azure 儲存體服務的已知差異。This article summarizes the known Azure Stack Hub Storage differences from Azure Storage services. 也會列出部署 Azure Stack Hub 時所要考量的事項。It also lists things to consider when you deploy Azure Stack Hub. 若要了解全域 Azure 與 Azure Stack Hub 之間的大致差異,請參閱主要考量一文。To learn about high-level differences between global Azure and Azure Stack Hub, see the Key considerations article.

速查表:儲存體差異Cheat sheet: Storage differences

功能Feature Azure (全域)Azure (global) Azure Stack HubAzure Stack Hub
檔案儲存體File storage 支援雲端式 SMB 檔案共用。Cloud-based SMB file shares supported. 尚不支援。Not yet supported.
待用資料的 Azure 儲存體服務加密Azure storage service encryption for data at Rest 256 位元 AES 加密。256-bit AES encryption. 支援使用 Key Vault 中客戶管理的金鑰進行加密。Support encryption using customer-managed keys in Key Vault. BitLocker 128 位元 AES 加密。BitLocker 128-bit AES encryption. 不支援使用客戶管理的金鑰進行加密。Encryption using customer-managed keys isn't supported.
儲存體帳戶類型Storage account type 一般用途 V1、V2 及 Blob 儲存體帳戶。General-purpose V1, V2, and Blob storage accounts. 僅限一般用途 V1。General-purpose V1 only.
複寫選項Replication options 本地備援儲存體、異地備援儲存體、讀取權限異地備援儲存體,以及區域備援儲存體。Locally redundant storage, geo-redundant storage, read-access geo-redundant storage, and zone-redundant storage. 本地備援儲存體。Locally redundant storage.
進階儲存體Premium storage 提供高效能和低延遲的儲存體。Provide high-performance and low-latency storage. 僅在進階儲存體帳戶中支援分頁 Blob。Only support page blobs in premium storage accounts. 可佈建,但無效能限制或保證。Can be provisioned, but no performance limit or guarantee. 不會阻止在進階儲存體帳戶中使用區塊 Blob、附加 Blob、資料表和佇列。Wouldn't block using block blobs, append blobs, tables, and queues in premium storage accounts.
受控磁碟Managed disks 支援進階和標準。Premium and standard supported. 支援 1808 版或更新版本。Supported when you use version 1808 or later.
Blob 名稱Blob name 1,024 個字元 (2,048 個位元組)。1,024 characters (2,048 bytes). 880 個字元 (1,760 個位元組)。880 characters (1,760 bytes).
區塊 Blob 大小上限Block blob max size 4.75 TB (100 MB X 50,000 個區塊)。4.75 TB (100 MB X 50,000 blocks). 適用於 1802 更新或更新版本的 4.75 TB (100 MB x 50,000 個區塊)。4.75 TB (100 MB x 50,000 blocks) for the 1802 update or newer version. 適用於舊版的 50,000 X 4 MB (大約 195 GB)。50,000 X 4 MB (approximately 195 GB) for previous versions.
分頁 blob 快照集複製Page blob snapshot copy 不支援對連結至執行中 VM 的 Azure 非受控 VM 進行備份。Backup Azure unmanaged VM disks attached to a running VM supported. 尚不支援。Not yet supported.
分頁 Blob 增量快照複製Page blob incremental snapshot copy 支援進階和標準 Azure 分頁 Blob。Premium and standard Azure page blobs supported. 尚不支援。Not yet supported.
分頁 Blob 計費Page blob billing 無論唯一的分頁是在 Blob 或快照集中,唯一的分頁都會產生費用。Charges are incurred for unique pages, whether they're in the blob or in the snapshot. 在您更新基礎 Blob 之前,與該 Blob 相關聯的快照集不會再產生費用。Wouldn't incur additional charges for snapshots associated with a blob until base blob being updated. 基礎 Blob 和相關聯的快照集會產生費用。Charges are incurred for base blob and associated snapshots. 每個個別的快照集會再產生費用。Would incur additional charges for each individual snapshot.
Blob 儲存體的儲存層Storage tiers for blob storage 經常性存取、非經常性存取和封存儲存層。Hot, cool, and archive storage tiers. 尚不支援。Not yet supported.
Blob 儲存體的虛刪除Soft delete for blob storage 正式運作。General available. 尚不支援。Not yet supported.
分頁 Blob 大小上限Page blob max size 8 TB。8 TB. 1 TB。1 TB.
分頁 Blob 分頁大小Page blob page size 512 個位元組。512 bytes. 4 KB。4 KB.
資料表分割區索引鍵和資料列索引鍵大小Table partition key and row key size 1,024 個字元 (2,048 個位元組)。1,024 characters (2,048 bytes). 400 個字元 (800 個位元組)。400 characters (800 bytes).
Blob 快照集Blob snapshot 一個 Blob 的快照集數目沒有上限。The max number of snapshots of one blob isn't limited. 一個 blob 的快照集數目上限為 1,000。The max number of snapshots of one blob is 1,000.
適用於儲存體的 Azure AD 驗證Azure AD Authentication for storage 處於預覽狀態。In preview. 尚不支援。Not yet supported.
固定 BlobImmutable Blobs 正式運作。General available. 當您使用2008版或更新版本時支援。Supported when you use version 2008 or later.
適用于 Blob 儲存體的 Batch APIBatch API for Blob Storage 處於預覽狀態。In preview. 尚不支援。Not yet supported.
適用於儲存體的防火牆與虛擬網路規則Firewall and virtual network rules for storage 正式推出。General available. 尚不支援。Not yet supported.

儲存體計量也有些差異:There are also differences with storage metrics:

  • 儲存體度量中的交易資料並不區分內部或外部網路頻寬。The transaction data in storage metrics doesn't differentiate internal or external network bandwidth.
  • 儲存體度量中的交易資料不包含虛擬機器對已掛接磁片的存取權。The transaction data in storage metrics doesn't include virtual machine access to the mounted disks.

API 版本API version

使用「Azure Stack Hub 儲存體」時支援下列版本:The following versions are supported with Azure Stack Hub Storage:

Azure 儲存體服務 API:Azure Storage services APIs:

2005更新:2005 update:

舊版:Previous versions:

Azure 儲存體服務管理 API:Azure Storage services management APIs:

1811更新至2005更新:1811 update to 2005 update:

舊版:Previous versions:

PowerShell 版本PowerShell version

針對儲存體模組 PowerShell,請留意與 REST API 相容的版本。For the storage module PowerShell, be aware of the version that's compatible with the REST API.

模組Module 支援的版本Supported version 使用方式Usage
Azure.StorageAzure.Storage 4.5.04.5.0 管理 Azure Stack Hub 儲存體帳戶中的 blob、佇列和資料表。Manages blobs, queues, tables in Azure Stack Hub storage accounts.
Az.StorageAz.Storage 5.0.45.0.4 在 Azure Stack Hub 中建立及管理儲存體帳戶。Creates and manages storage accounts in Azure Stack Hub.

如需 Azure Stack Hub 支援的儲存體用戶端程式庫的詳細資訊,請參閱: 開始使用 Azure Stack Hub 儲存體開發工具For more information about Azure Stack Hub supported storage client libraries, see: Get started with Azure Stack Hub storage development tools.

下一步Next steps