Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 794 Bytes

Demo-nodejs.md

File metadata and controls

28 lines (18 loc) · 794 Bytes

AZ-204 Demo: Retry Policy

In the script you will demonstrate code to get access to storage account with using retry attempt.

Before delivery:

  • Update ".env" file with connection string to your storage account

In class:

  1. Open in VS code folder Nodejs
  2. Demonstrate code and explain the recursion.
  3. Use following commands to update firewall settings in Azure Storage Account.
az storage account update  --name "<your account name>" --default-action Deny
  1. Run the code and demonstrate it CANNOT access to storage account.

  2. Run following command to enable access and run the code again

az storage account update  --name "<your account name>" --default-action Allow
  1. Now the you should get access from first attempt.

Access