216Giorgiy / storage-cli-2-getting-started

This samples repo demonstrates how to perfom different tasks with Azure Storage using Azure CLI 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

services platforms author
storage
cli
seguler

Getting Started with Azure Storage in Azure CLI 2.0

Demonstrates how to use the Azure Storage service in Azure CLI 2.0.

If you don't have a Microsoft Azure subscription you can get a FREE trial account here

Running this sample

  1. If you have Python installed, you can use pip install azure-cli from the command-line to install Azure CLI. You can also refer to the Azure CLI How-to guide. Once the Azure CLI has been installed, you will be able to use the azure command from your command-line interface (Bash, Terminal, Command prompt) to access the Azure CLI commands.

  2. Download or clone this repo.

git clone https://github.com/Azure-Samples/storage-cli-2-getting-started.git

  1. Edit a script you would like to use. This repo provides batch scripts for Windows Command Line and shell scripts for Mac and Linux terminals.

  2. Within the script, provide the appropriate values for each variable (e.g. Storage Account Name, Storage Account Key, etc.) Note: The angled brackets should not be included in the values you provide.

  3. Run the script in your terminal of choice. For example, in Windows Command Line: C:\storage-cli-getting-started\Batch Scripts>AzureBlobs.bat.

More information

About

This samples repo demonstrates how to perfom different tasks with Azure Storage using Azure CLI 2.0

License:MIT License


Languages

Language:Shell 53.2%Language:Batchfile 46.8%