Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
update storage 03 & 05
Browse files Browse the repository at this point in the history
  • Loading branch information
jhicks committed Feb 17, 2022
1 parent 246f2d8 commit cdf9d6c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions content/Azure/03_intro_to_cloud_storage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -231,7 +231,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down
16 changes: 12 additions & 4 deletions content/Azure/05_intro_to_cloud_storage_cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"az ad signed-in-user show --query objectId -o tsv | az role assignment create \\\n",
" --role \"Storage Blob Data Contributor\" \\\n",
Expand All @@ -126,8 +128,10 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"az storage container create --account-name $STGE_ACCT --name $CTR --auth-mode login"
]
Expand Down Expand Up @@ -163,8 +167,10 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"az storage blob upload --account-name $STGE_ACCT --container-name $CTR --name demo_file --file demo_file --auth-mode login"
]
Expand Down Expand Up @@ -193,8 +199,10 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"az storage blob download --account-name $STGE_ACCT --container-name $CTR --name demo_file --file demo_file_download file --auth-mode login"
]
Expand Down

0 comments on commit cdf9d6c

Please sign in to comment.