Introduzione agli strumenti di sviluppo per l'archiviazione di Azure Stack HubGet started with Azure Stack Hub storage development tools

Microsoft Azure Stack Hub fornisce un set di servizi di archiviazione che include archiviazione BLOB, tabelle e code.Microsoft Azure Stack Hub provides a set of storage services that includes blob, table, and queue storage.

Usare questo articolo come guida per iniziare a usare gli strumenti di sviluppo dell'archiviazione Hub Azure Stack.Use this article as a guide to get started using Azure Stack Hub storage development tools. È possibile trovare informazioni più dettagliate e codice di esempio nelle esercitazioni corrispondenti di archiviazione di Azure.You can find more detailed information and sample code in corresponding Azure storage tutorials.

Nota

Esistono differenze tra l'archiviazione dell'hub Azure Stack e l'archiviazione di Azure, inclusi i requisiti specifici per ogni piattaforma.There are differences between Azure Stack Hub storage and Azure storage, including specific requirements for each platform. Esistono, ad esempio, specifiche librerie client e requisiti dei suffissi endpoint per Azure Stack Hub.For example, there are specific client libraries and endpoint suffix requirements for Azure Stack Hub. Per altre informazioni, vedere Azure stack storage hub: differenze e considerazioni.For more information, see Azure Stack Hub storage: Differences and considerations.

Librerie client di AzureAzure client libraries

Per le librerie client di archiviazione, tenere presente la versione compatibile con l'API REST.For the storage client libraries, be aware of the version that is compatible with the REST API. È anche necessario specificare l'endpoint dell'hub Azure Stack nel codice.You must also specify the Azure Stack Hub endpoint in your code.

aggiornamento 20082008 update

Libreria clientClient library Versione supportata dell'hub Azure StackAzure Stack Hub supported version CollegamentoLink Specifica dell'endpointEndpoint specification
.NET.NET 12.2.012.2.0 Pacchetto NuGet:Nuget package:
Comuni: https://www.nuget.org/packages/Azure.Storage.common/12.2.0Common: https://www.nuget.org/packages/Azure.Storage.common/12.2.0
BLOB: https://www.nuget.org/packages/Azure.Storage.Blobs/12.2.0Blob: https://www.nuget.org/packages/Azure.Storage.Blobs/12.2.0
Coda https://www.nuget.org/packages/Azure.Storage.queues/12.2.0Queue: https://www.nuget.org/packages/Azure.Storage.queues/12.2.0

Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.Common_12.2.0/sdk/storageCommon: https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.Common_12.2.0/sdk/storage
BLOB: https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.Blobs_12.2.0/sdk/storageBlob: https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.Blobs_12.2.0/sdk/storage
Coda https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.Queues_12.2.0/sdk/storageQueue: https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.Queues_12.2.0/sdk/storage
file app.configapp.config file
JavaJava 12.4.012.4.0 Pacchetto Maven:Maven package:
https://mvnrepository.com/artifact/com.azure/azure-storage-common/12.4.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-sdk-for-java/tree/azure-storage-common_12.4.0/sdk/storage
Configurazione della stringa di connessioneConnection string setup
Node.jsNode.js 2.8.32.8.3 Collegamento NPM:NPM link:
https://www.npmjs.com/package/azure-storage
(Eseguire: npm install azure-storage@2.8.3 )(Run: npm install azure-storage@2.8.3)

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-node/releases/tag/v2.8.3
Dichiarazione istanza del servizioService instance declaration
C++C++ 7.2.07.2.0 Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-cpp/releases/tag/v7.2.0
Configurazione della stringa di connessioneConnection string setup
PHPPHP 1.2.01.2.0 Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-commonCommon: 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-blobBlob: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-blob
Coda:Queue:
https://github.com/Azure/azure-storage-php/releases/tag/v1.1.1-queue
tavolo: https://github.com/Azure/azure-storage-php/releases/tag/v1.1.0-tableTable: https://github.com/Azure/azure-storage-php/releases/tag/v1.1.0-table

Installare tramite Composer (per altre informazioni, vedere i dettagli più avanti).Install via Composer (To learn more, see the details below.)
Configurazione della stringa di connessioneConnection string setup
PythonPython 12.2.012.2.0 Versione di GitHub:GitHub release:
BLOB:Blob:
https://github.com/Azure/azure-sdk-for-python/tree/azure-storage-blob_12.2.0/sdk/storage/azure-storage-blob
Coda:Queue:
https://github.com/Azure/azure-sdk-for-python/tree/azure-storage-blob_12.2.0/sdk/storage/azure-storage-queue
Dichiarazione istanza del servizioService instance declaration
RubyRuby 1.0.11.0.1 Pacchetto RubyGems:RubyGems package:
ComuneCommon:
https://rubygems.org/gems/azure-storage-common/versions/1.0.1
BLOB: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1Blob: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1
Coda https://rubygems.org/gems/azure-storage-queue/versions/1.0.1Queue: https://rubygems.org/gems/azure-storage-queue/versions/1.0.1
tavolo: https://rubygems.org/gems/azure-storage-table/versions/1.0.1Table: https://rubygems.org/gems/azure-storage-table/versions/1.0.1

Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-commonCommon: 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-blobBlob: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-blob
Coda https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queueQueue: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queue
tavolo: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-tableTable: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-table
Configurazione della stringa di connessioneConnection string setup

Installare il client PHP tramite Composer - correnteInstall PHP client via Composer - current

Per eseguire l'installazione tramite Composer: (usare il BLOB come esempio).To install via Composer: (take the blob as an example).

  1. Creare un file denominato composer.json nella radice del progetto con il codice seguente:Create a file named composer.json in the root of the project with following code:

    {
      "require": {
      "Microsoft/azure-storage-blob":"1.2.0"
      }
    }
    
  2. Scaricare Composer. phar nella radice del progetto.Download composer.phar to the project root.

  3. Eseguire: php composer.phar install.Run: php composer.phar install.

aggiornamento 20052005 update

Libreria clientClient library Versione supportata dell'hub Azure StackAzure Stack Hub supported version CollegamentoLink Specifica dell'endpointEndpoint specification
.NET.NET 11.0.011.0.0 Pacchetto NuGet:Nuget package:
Comuni: https://www.nuget.org/packages/Microsoft.Azure.Storage.Common/11.0.0Common: https://www.nuget.org/packages/Microsoft.Azure.Storage.Common/11.0.0
BLOB: https://www.nuget.org/packages/Microsoft.Azure.Storage.Blob/11.0.0Blob: https://www.nuget.org/packages/Microsoft.Azure.Storage.Blob/11.0.0
Coda:Queue:
https://www.nuget.org/packages/Microsoft.Azure.Storage.Queue/11.0.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-net/releases/tag/v11.0.0
file app.configapp.config file
JavaJava 12.0.0-Preview. 312.0.0-preview.3 Pacchetto Maven:Maven package:
https://mvnrepository.com/artifact/com.azure/azure-storage-blob/12.0.0-preview.3

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/storage
Configurazione della stringa di connessioneConnection string setup
Node.jsNode.js 2.8.32.8.3 Collegamento NPM:NPM link:
https://www.npmjs.com/package/azure-storage
(Eseguire: npm install azure-storage@2.8.3 )(Run: npm install azure-storage@2.8.3)

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-node/releases/tag/v2.8.3
Dichiarazione istanza del servizioService instance declaration
C++C++ 7.1.07.1.0 Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-cpp/releases/tag/v7.1.0
Configurazione della stringa di connessioneConnection string setup
PHPPHP 1.2.01.2.0 Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-commonCommon: 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-blobBlob: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-blob
Coda:Queue:
https://github.com/Azure/azure-storage-php/releases/tag/v1.1.1-queue
tavolo: https://github.com/Azure/azure-storage-php/releases/tag/v1.1.0-tableTable: https://github.com/Azure/azure-storage-php/releases/tag/v1.1.0-table

Installare tramite Composer (per altre informazioni, vedere i dettagli più avanti).Install via Composer (To learn more, see the details below.)
Configurazione della stringa di connessioneConnection string setup
PythonPython 2.1.02.1.0 Versione di GitHub:GitHub release:
ComuneCommon:
https://github.com/Azure/azure-storage-python/releases/tag/v2.1.0-common
BLOB:Blob:
https://github.com/Azure/azure-storage-python/releases/tag/v2.1.0-blob
Coda:Queue:
https://github.com/Azure/azure-storage-python/releases/tag/v2.1.0-queue
Dichiarazione istanza del servizioService instance declaration
RubyRuby 1.0.11.0.1 Pacchetto RubyGems:RubyGems package:
ComuneCommon:
https://rubygems.org/gems/azure-storage-common/versions/1.0.1
BLOB: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1Blob: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1
Coda https://rubygems.org/gems/azure-storage-queue/versions/1.0.1Queue: https://rubygems.org/gems/azure-storage-queue/versions/1.0.1
tavolo: https://rubygems.org/gems/azure-storage-table/versions/1.0.1Table: https://rubygems.org/gems/azure-storage-table/versions/1.0.1

Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-commonCommon: 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-blobBlob: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-blob
Coda https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queueQueue: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queue
tavolo: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-tableTable: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-table
Configurazione della stringa di connessioneConnection string setup

Installare il client PHP tramite Composer - correnteInstall PHP client via Composer - current

Per eseguire l'installazione tramite Composer: (usare il BLOB come esempio).To install via Composer: (take the blob as an example).

  1. Creare un file denominato composer.json nella radice del progetto con il codice seguente:Create a file named composer.json in the root of the project with following code:

    {
      "require": {
      "Microsoft/azure-storage-blob":"1.2.0"
      }
    }
    
  2. Scaricare Composer. phar nella radice del progetto.Download composer.phar to the project root.

  3. Eseguire: php composer.phar install.Run: php composer.phar install.

Versioni precedenti (aggiornamento da 1811 a 2002)Previous versions (1811 to 2002 update)

Libreria clientClient library Versione supportata dell'hub Azure StackAzure Stack Hub supported version CollegamentoLink Specifica dell'endpointEndpoint specification
.NET.NET 9.2.09.2.0 Pacchetto NuGet:Nuget package:
https://www.nuget.org/packages/WindowsAzure.Storage/9.2.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-net/releases/tag/v9.2.0
file app.configapp.config file
JavaJava 7.0.07.0.0 Pacchetto Maven:Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-storage/7.0.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-java/releases/tag/v7.0.0
Configurazione della stringa di connessioneConnection string setup
Node.jsNode.js 2.8.32.8.3 Collegamento NPM:NPM link:
https://www.npmjs.com/package/azure-storage
(Eseguire: npm install azure-storage@2.8.3 )(Run: npm install azure-storage@2.8.3)

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-node/releases/tag/v2.8.3
Dichiarazione istanza del servizioService instance declaration
C++C++ 5.2.05.2.0 Pacchetto NuGet:Nuget package:
https://www.nuget.org/packages/Microsoft.Azure.Storage.CPP.v140/5.2.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-cpp/releases/tag/v5.2.0
Configurazione della stringa di connessioneConnection string setup
PHPPHP 1.2.01.2.0 Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-commonCommon: 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-blobBlob: https://github.com/Azure/azure-storage-php/releases/tag/v1.2.0-blob
Coda:Queue:
https://github.com/Azure/azure-storage-php/releases/tag/v1.1.1-queue
tavolo: https://github.com/Azure/azure-storage-php/releases/tag/v1.1.0-tableTable: https://github.com/Azure/azure-storage-php/releases/tag/v1.1.0-table

Installare tramite Composer (per altre informazioni, vedere i dettagli più avanti).Install via Composer (To learn more, see the details below.)
Configurazione della stringa di connessioneConnection string setup
PythonPython 1.1.01.1.0 Versione di GitHub:GitHub release:
ComuneCommon:
https://github.com/Azure/azure-storage-python/releases/tag/v1.1.0-common
BLOB:Blob:
https://github.com/Azure/azure-storage-python/releases/tag/v1.1.0-blob
Coda:Queue:
https://github.com/Azure/azure-storage-python/releases/tag/v1.1.0-queue
Dichiarazione istanza del servizioService instance declaration
RubyRuby 1.0.11.0.1 Pacchetto RubyGems:RubyGems package:
ComuneCommon:
https://rubygems.org/gems/azure-storage-common/versions/1.0.1
BLOB: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1Blob: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1
Coda https://rubygems.org/gems/azure-storage-queue/versions/1.0.1Queue: https://rubygems.org/gems/azure-storage-queue/versions/1.0.1
tavolo: https://rubygems.org/gems/azure-storage-table/versions/1.0.1Table: https://rubygems.org/gems/azure-storage-table/versions/1.0.1

Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-commonCommon: 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-blobBlob: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-blob
Coda https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queueQueue: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queue
tavolo: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-tableTable: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-table
Configurazione della stringa di connessioneConnection string setup

Installare il client PHP tramite Composer - correnteInstall PHP client via Composer - current

Per eseguire l'installazione tramite Composer: (usare il BLOB come esempio).To install via Composer: (take the blob as an example).

  1. Creare un file denominato composer.json nella radice del progetto con il codice seguente:Create a file named composer.json in the root of the project with following code:

    {
      "require": {
      "Microsoft/azure-storage-blob":"1.2.0"
      }
    }
    
  2. Scaricare Composer. phar nella radice del progetto.Download composer.phar to the project root.

  3. Eseguire: php composer.phar install.Run: php composer.phar install.

Versioni precedenti (aggiornamento da 1802 a 1809)Previous versions (1802 to 1809 update)

Libreria clientClient library Versione supportata dell'hub Azure StackAzure Stack Hub supported version CollegamentoLink Specifica dell'endpointEndpoint specification
.NET.NET 8.7.08.7.0 Pacchetto NuGet:Nuget package:
https://www.nuget.org/packages/WindowsAzure.Storage/8.7.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-net/releases/tag/v8.7.0
file app.configapp.config file
JavaJava 6.1.06.1.0 Pacchetto Maven:Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-storage/6.1.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-java/releases/tag/v6.1.0
Configurazione della stringa di connessioneConnection string setup
Node.jsNode.js 2.7.02.7.0 Collegamento NPM:NPM link:
https://www.npmjs.com/package/azure-storage
(Eseguire: npm install azure-storage@2.7.0 )(Run: npm install azure-storage@2.7.0)

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-node/releases/tag/v2.7.0
Dichiarazione istanza del servizioService instance declaration
C++C++ 3.1.03.1.0 Pacchetto NuGet:Nuget package:
https://www.nuget.org/packages/wastorage.v140/3.1.0

Versione di GitHub:GitHub release:
https://github.com/Azure/azure-storage-cpp/releases/tag/v3.1.0
Configurazione della stringa di connessioneConnection string setup
PHPPHP 1.0.01.0.0 Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-php/releases/tag/v1.0.0-commonCommon: https://github.com/Azure/azure-storage-php/releases/tag/v1.0.0-common
BLOB: https://github.com/Azure/azure-storage-php/releases/tag/v1.0.0-blobBlob: https://github.com/Azure/azure-storage-php/releases/tag/v1.0.0-blob
Coda:Queue:
https://github.com/Azure/azure-storage-php/releases/tag/v1.0.0-queue
tavolo: https://github.com/Azure/azure-storage-php/releases/tag/v1.0.0-tableTable: https://github.com/Azure/azure-storage-php/releases/tag/v1.0.0-table

Installare tramite Composer (vedere i dettagli seguenti).Install via Composer (see the details below).)
Configurazione della stringa di connessioneConnection string setup
PythonPython 1.0.01.0.0 Versione di GitHub:GitHub release:
ComuneCommon:
https://github.com/Azure/azure-storage-python/releases/tag/v1.0.0-common
BLOB:Blob:
https://github.com/Azure/azure-storage-python/releases/tag/v1.0.0-blob
Coda:Queue:
https://github.com/Azure/azure-storage-python/releases/tag/v1.0.0-queue
Dichiarazione istanza del servizioService instance declaration
RubyRuby 1.0.11.0.1 Pacchetto RubyGems:RubyGems package:
ComuneCommon:
https://rubygems.org/gems/azure-storage-common/versions/1.0.1
BLOB: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1Blob: https://rubygems.org/gems/azure-storage-blob/versions/1.0.1
Coda https://rubygems.org/gems/azure-storage-queue/versions/1.0.1Queue: https://rubygems.org/gems/azure-storage-queue/versions/1.0.1
tavolo: https://rubygems.org/gems/azure-storage-table/versions/1.0.1Table: https://rubygems.org/gems/azure-storage-table/versions/1.0.1

Versione di GitHub:GitHub release:
Comuni: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-commonCommon: 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-blobBlob: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-blob
Coda https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queueQueue: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-queue
tavolo: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-tableTable: https://github.com/Azure/azure-storage-ruby/releases/tag/v1.0.1-table
Configurazione della stringa di connessioneConnection string setup

Installare il client PHP tramite Composer-PreviousInstall PHP client via Composer - previous

Per l'installazione tramite Composer: (prendere BLOB come esempio).To install via Composer: (take blob as example).

  1. Creare un file denominato composer.json nella radice del progetto con il codice seguente:Create a file named composer.json in the root of the project with following code:

     {
       "require": {
       "Microsoft/azure-storage-blob":"1.0.0"
       }
     }
    
  2. Scaricare Composer. phar nella radice del progetto.Download composer.phar to the project root.

  3. Eseguire: php composer.phar install.Run: php composer.phar install.

Dichiarazione dell'endpointEndpoint declaration

Un endpoint dell'hub Azure Stack include due parti: il nome di un'area e il dominio dell'hub Azure Stack.An Azure Stack Hub endpoint includes two parts: the name of a region and the Azure Stack Hub domain. Nell'Azure Stack Development Kit l'endpoint predefinito è local. azurestack. External.In the Azure Stack Development Kit, the default endpoint is local.azurestack.external. Se non si è certi dell'endpoint, contattare l'amministratore del cloud.Contact your cloud admin if you're not sure about your endpoint.

EsempiExamples

.NET.NET

Per Azure Stack Hub, il suffisso dell'endpoint viene specificato nel file di app.config:For Azure Stack Hub, the endpoint suffix is specified in the app.config file:

<add key="StorageConnectionString"
value="DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=mykey;
EndpointSuffix=local.azurestack.external;" />

JavaJava

Per Azure Stack Hub, il suffisso dell'endpoint viene specificato nell'installazione della stringa di connessione:For Azure Stack Hub, the endpoint suffix is specified in the setup of connection string:

public static final String storageConnectionString =
    "DefaultEndpointsProtocol=http;" +
    "AccountName=your_storage_account;" +
    "AccountKey=your_storage_account_key;" +
    "EndpointSuffix=local.azurestack.external";

Node.jsNode.js

Per Azure Stack Hub, il suffisso dell'endpoint viene specificato nell'istanza della dichiarazione:For Azure Stack Hub, the endpoint suffix is specified in the declaration instance:

var blobSvc = azure.createBlobService('myaccount', 'mykey',
'myaccount.blob.local.azurestack.external');

C++C++

Per Azure Stack Hub, il suffisso dell'endpoint viene specificato nell'installazione della stringa di connessione:For Azure Stack Hub, the endpoint suffix is specified in the setup of connection string:

const utility::string_t storage_connection_string(U("DefaultEndpointsProtocol=https;
AccountName=your_storage_account;
AccountKey=your_storage_account_key;
EndpointSuffix=local.azurestack.external"));

PHPPHP

Per Azure Stack Hub, il suffisso dell'endpoint viene specificato nell'installazione della stringa di connessione:For Azure Stack Hub, the endpoint suffix is specified in the setup of connection string:

$connectionString = 'BlobEndpoint=https://<storage account name>.blob.local.azurestack.external/;
QueueEndpoint=https:// <storage account name>.queue.local.azurestack.external/;
TableEndpoint=https:// <storage account name>.table.local.azurestack.external/;
AccountName=<storage account name>;AccountKey=<storage account key>'

PythonPython

Per Azure Stack Hub, il suffisso dell'endpoint viene specificato nell'istanza della dichiarazione:For Azure Stack Hub, the endpoint suffix is specified in the declaration instance:

block_blob_service = BlockBlobService(account_name='myaccount',
account_key='mykey',
endpoint_suffix='local.azurestack.external')

RubyRuby

Per Azure Stack Hub, il suffisso dell'endpoint viene specificato nell'installazione della stringa di connessione:For Azure Stack Hub, the endpoint suffix is specified in the setup of connection string:

set
AZURE_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=https;
AccountName=myaccount;
AccountKey=mykey;
EndpointSuffix=local.azurestack.external

Archiviazione BLOBBlob storage

Le esercitazioni di archiviazione BLOB di Azure seguenti sono applicabili all'hub Azure Stack.The following Azure Blob storage tutorials are applicable to Azure Stack Hub. Si noti il requisito specifico del suffisso dell'endpoint per Azure Stack Hub descritto nella sezione esempi precedenti.Note the specific endpoint suffix requirement for Azure Stack Hub described in the previous Examples section.

Archiviazione codeQueue storage

Le esercitazioni di archiviazione code di Azure seguenti sono applicabili all'hub Azure Stack.The following Azure Queue storage tutorials are applicable to Azure Stack Hub. Si noti il requisito specifico del suffisso dell'endpoint per Azure Stack Hub descritto nella sezione esempi precedenti.Note the specific endpoint suffix requirement for Azure Stack Hub described in the previous Examples section.

Archiviazione tabelleTable storage

Le esercitazioni seguenti sull'archiviazione tabelle di Azure sono applicabili all'hub Azure Stack.The following Azure Table storage tutorials are applicable to Azure Stack Hub. Si noti il requisito specifico del suffisso dell'endpoint per Azure Stack Hub descritto nella sezione esempi precedenti.Note the specific endpoint suffix requirement for Azure Stack Hub described in the previous Examples section.

Passaggi successiviNext steps