Azure Stack Edge BLOB ストレージの要件

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

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

ストレージの相違点

機能 Azure Storage Azure Stack Edge BLOB ストレージ
Azure Files クラウド ベースの SMB および NFS ファイル共有がサポートされています サポートされていません
ストレージ アカウントの種類 汎用アカウントと Azure Blob ストレージ アカウント 汎用 v1 のみ
BLOB 名 1,024 文字 (2,048 バイト) 880 文字 (1,760 バイト)
ブロック BLOB の最大サイズ 4.75 TiB (100 MiB X 50,000 ブロック) Azure Stack Edge の場合、4.75 TiB (100 MiB x 50,000 ブロック)
ページ BLOB の最大サイズ 8 TiB 1 TiB
ページ BLOB のページ サイズ 512 バイト 4 KiB

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

Azure Storage サービス API の次のバージョンが Azure Stack Edge BLOB ストレージでサポートされています。

Azure Stack Edge 2.1.1377.2170 以降

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

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

Azure Stack Edge 2.1.1377.2170 以降

Azure Stack Edge 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 経由で PHP クライアントをインストールするには、次のようにします。

  1. 次のコードを含む composer.json という名前のファイルをプロジェクトのルートに作成します (例では、Azure Storage Blob サービスが使用されています)。

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

  3. 実行: php composer.phar install。

エンドポイントの宣言

Azure Stack Edge BLOB ストレージ SDK では、エンドポイント サフィックス (<device serial number>.microsoftdatabox.com) によって Azure Stack Edge ドメインが識別されます。 Blob service エンドポイントの詳細については、「Azure Stack Edge Pro GPU でストレージ アカウントを使用してデータを転送する」を参照してください。

.NET

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

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

Java

Azure Stack Edge 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

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

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

C++

Azure Stack Edge 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

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

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

Python

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

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

Ruby

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

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

次のステップ