Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 576 Bytes

02_blob_storage_create_cli.md

File metadata and controls

17 lines (13 loc) · 576 Bytes

Create blob storage using CLI

  • Create resource group

    • $rgName="rg-storage-training"
    • $location="centralus"
    • az group create -n $rgName -l $location
  • Create storage account

    • $storName="storagepkolosov"
    • az storage account create -g $rgName -n $storName -l $location --sku "Standard_ZRS" --kind "StorageV2"
  • Create storage container

    • $contName="containerpkolosov"
    • az storage container create -n $contName --account-name $storName --public-access "off"
  • Delete resource group

    • az group delete -n $rgName --yes