Share via


Azure Data Box BLOB ストレージの要件

この記事では、Data Box BLOB ストレージでサポートされている Azure の API、Azure クライアント ライブラリ、およびツールのバージョンの一覧を示します。 Data Box BLOB ストレージでは、Azure と整合性のあるセマンティクスによって BLOB 管理機能が提供されます。 この記事では、Azure Storage サービスと Azure Data Box BLOB ストレージとの間で確認されている相違点もまとめています。

Data Box BLOB ストレージに接続する前にこの情報をよく確認し、必要に応じて再度参照することをお勧めします。

ストレージの相違点

機能 Azure Storage Data Box BLOB ストレージ
Azure Files クラウド ベースの SMB および NFS ファイル共有がサポートされています サポートされていません
サービスによる保存データの暗号化 256 ビット AES 暗号化 256 ビット AES 暗号化
ストレージ アカウントの種類 汎用アカウントと Azure Blob ストレージ アカウント 汎用 v1 のみ
BLOB 名 1,024 文字 (2,048 バイト) 880 文字 (1,760 バイト)
ブロック BLOB の最大サイズ 4.75 TiB (100 MB X 50,000 ブロック) Azure Data Box v 3.0 以降の場合に 4.75 TiB (100 MB x 50,000 ブロック)。
ページ BLOB の最大サイズ 8 TiB 1 TiB
ページ BLOB のページ サイズ 512 バイト 4 KiB

サポートされる API バージョン

Azure Storage サービス API シリーズの次のバージョンが Data Box BLOB ストレージでサポートされています。

Azure Data Box 3.0 以降

サポートされている Azure クライアント ライブラリ

Data Box BLOB ストレージでは、クライアント ライブラリとエンドポイント サフィックスに特定の要件があります。 Data Box BLOB ストレージのエンドポイントは、最新バージョンの Azure Blob Storage REST API と完全に対応しているわけではありません。Azure Data Box 3.0 以降でサポートされているバージョンに関するセクションをご覧ください。 したがって、ストレージのクライアント ライブラリについて、REST API と互換性のあるバージョンを把握しておく必要があります。

Azure Data Box 3.0 以降

Data Box Blob ストレージでは、次の Azure クライアント ライブラリ バージョンがサポートされています。

クライアント ライブラリ サポートされているバージョン リンク エンドポイントの指定
.NET 11.0.0 NuGet パッケージ:
共通: https://www.nuget.org/packages/Microsoft.Azure.Storage.Common/11.0.0
BLOB: https://www.nuget.org/packages/Microsoft.Azure.Storage.Blob/11.0.0
キュー: https://www.nuget.org/packages/Microsoft.Azure.Storage.Queue/11.0.0
GitHub リリース: https://github.com/Azure/azure-storage-net/releases/tag/v11.0.0
app.config ファイル
Java 12.0.0-preview.3 Maven パッケージ: https://mvnrepository.com/artifact/com.azure/azure-storage-file/12.0.0-preview.3
GitHub リリース: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/storage
接続文字列の設定
Node.js 2.8.3 NPM リンク: https://www.npmjs.com/package/azure-storage (実行: npm install azure-storage@2.7.0)
GitHub リリース: https://github.com/Azure/azure-storage-node/releases/tag/v2.8.3
サービス インスタンスの宣言
C++ 5.2.0 NuGet パッケージ: https://www.nuget.org/packages/wastorage.v140/5.2.0
GitHub リリース: https://github.com/Azure/azure-storage-cpp/releases/tag/v5.2.0
接続文字列の設定
PHP 1.2.0 GitHub リリース:
共通: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-common
BLOB: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-blob
Composer 経由でインストールする (詳細については下記参照。)
接続文字列の設定
Python 1.1.0 GitHub リリース:
共通: https://github.com/Azure/azure-storage-python/releases/tag/v1.0.0-common
BLOB: https://github.com/Azure/azure-storage-python/releases/tag/v1.1.0-blob
サービス インスタンスの宣言
Ruby 1.0.1 RubyGems パッケージ:
共通: https://rubygems.org/gems/azure-storage-common/versions/1.0.1
BLOB: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1
GitHub リリース:
共通: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-common
BLOB: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-blob
接続文字列の設定

Composer 経由で PHP クライアントをインストールする (現在)

Composer 経由でインストールするには (BLOB の例):

  1. 次のコードを含む composer.json という名前のファイルをプロジェクトのルートに作成します。

    {
    "require": {
    "Microsoft/azure-storage-blob":"1.2.0"
    }
    
  2. このプロジェクトのルートに composer.phar をダウンロードします。

  3. 実行: php composer.phar install。

エンドポイントの宣言

Data Box Blob ストレージ SDK では、エンドポイント サフィックス (<device serial number>.microsoftdatabox.com) によって Data Box ドメインが識別されます。 BLOB サービス エンドポイントの詳細については、Data Box BLOB ストレージによる接続に関するページを参照してください。

.NET

Data Box BLOB ストレージの場合、エンドポイント サフィックスが app.config ファイルで指定されています。

<add key="StorageConnectionString"
value="DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=mykey;
EndpointSuffix=<<serial no. of the device>.microsoftdatabox.com  />

Java

Data Box BLOB ストレージの場合、エンドポイント サフィックスが接続文字列の設定で指定されています。

public static final String storageConnectionString =
    "DefaultEndpointsProtocol=http;" +
    "AccountName=your_storage_account;" +
    "AccountKey=your_storage_account_key;" +
    "EndpointSuffix=<serial no. of the device>.microsoftdatabox.com ";

Node.js

Data Box BLOB ストレージの場合、エンドポイント サフィックスが宣言のインスタンスで指定されています。

var blobSvc = azure.createBlobService('myaccount', 'mykey',
'myaccount.blob. <serial no. of the device>.microsoftdatabox.com ');

C++

Data Box BLOB ストレージの場合、エンドポイント サフィックスが接続文字列の設定で指定されています。

const utility::string_t storage_connection_string(U("DefaultEndpointsProtocol=https;
AccountName=your_storage_account;
AccountKey=your_storage_account_key;
EndpointSuffix=<serial no. of the device>.microsoftdatabox.com "));

PHP

Data Box BLOB ストレージの場合、エンドポイント サフィックスが接続文字列の設定で指定されています。

$connectionString = 'BlobEndpoint=http://<storage account name>.blob.<serial no. of the device>.microsoftdatabox.com /;
AccountName=<storage account name>;AccountKey=<storage account key>'

Python

Data Box BLOB ストレージの場合、エンドポイント サフィックスが宣言のインスタンスで指定されています。

block_blob_service = BlockBlobService(account_name='myaccount',
account_key='mykey',
endpoint_suffix=’<serial no. of the device>.microsoftdatabox.com’)

Ruby

Data Box BLOB ストレージの場合、エンドポイント サフィックスが接続文字列の設定で指定されています。

set
AZURE_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=https;
AccountName=myaccount;
AccountKey=mykey;
EndpointSuffix=<serial no. of the device>.microsoftdatabox.com

次のステップ