The Azure Quickstart templates are currently available in English

Create a Storage Account

Data ultimo aggiornamento: 09/04/2021

This module allows you to create a storageAccount.

Questo modello di Azure Resource Manager è stato creato da un membro della community e non da Microsoft. Ogni modello di Azure Resource Manager viene concesso in licenza ai sensi di un contratto di licenza a cura del proprietario e non di Microsoft. Microsoft non è responsabile dei modelli di Azure Resource Manager forniti e concessi in licenza da membri della community e non ne verifica la sicurezza, la compatibilità o le prestazioni. I modelli di Azure Resource Manager della community non sono supportati nell'ambito di alcun programma o servizio di supporto tecnico Microsoft e vengono resi disponibili COSÌ COME SONO senza garanzie di alcun tipo.

Parametri

Nome parametro Descrizione
location Specifies the Azure location where the key vault should be created.
storageAccountName Specifies the name of the storageAccount.
skuName Specifies the sku name for the storage account.
kind Specifies the type of storage account.
accessTier Required for storage accounts where kind = BlobStorage. The access tier used for billing.
minimumTlsVersion Set the minimum TLS version to be permitted on requests to storage.
supportsHttpsTrafficOnly Allows https traffic only to storage service if set to true.
allowBlobPublicAccess Allow or disallow public access to all blobs or containers in the storage account.
allowSharedKeyAccess Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD).
networkAclsBypass Specifies whether traffic is bypassed by the indicated service.
networkAclsDefaultAction Specifies the default action of allow or deny when no other rules match.

Usa il modello

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/modules/Microsoft.Storage/storageAccounts/0.9/azuredeploy.json
Installare e configurare Azure PowerShell

Riga di comando

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/modules/Microsoft.Storage/storageAccounts/0.9/azuredeploy.json
Installare e configurare l'interfaccia della riga di comando multipiattaforma di Azure