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

Commit

Permalink
Merge pull request #43 from CLASS/azure-dev
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
jhicks authored Aug 3, 2022
2 parents 35f2634 + ab2167d commit cc4af70
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions content/Azure/04_intro_to_cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
"cells": [
{
"cell_type": "markdown",
"id": "0fb9d517",
"id": "5ab5347d",
"metadata": {},
"source": [
"# Introduction to the Azure CLI\n",
"\n",
"```{admonition} Overview\n",
":class: tip\n",
"Learner Questions\n",
" * How do I use the Cloud CLI?\n",
" * How do I use az?\n",
Expand All @@ -19,7 +21,8 @@
" * Understand the importance of using variables for configuration.\n",
" * Introduce value of reproducibility and automation.\n",
"\n",
"Resources"
"Resources\n",
"```"
]
},
{
Expand All @@ -39,7 +42,7 @@
},
{
"cell_type": "markdown",
"id": "1084b066",
"id": "541c002d",
"metadata": {},
"source": [
"## Open the Cloud Shell\n",
Expand All @@ -48,7 +51,7 @@
"\n",
"To use the Azure Cloud Shell:\n",
" \n",
" * Open up a Cloud Shell by clicking on the cloud shell icon (greater than sign followed by underscore) on the blue bar just to the right of search window. On first launch, Cloud Shell prompts to create a resource group, storage account, and Azure Files share on your behalf. This will open a cloud shell at the bottum of your browser window. You can choose a bash shell or Power shell.\n",
" * Open up a Cloud Shell by clicking on the cloud shell icon (greater than sign followed by underscore) on the blue bar just to the right of search window. On first launch, Cloud Shell prompts to create a resource group, storage account, and Azure Files share on your behalf. This will open a cloud shell at the bottom of your browser window. You can choose a bash shell or Power shell.\n",
" * If you want a new cloud shell in a different window, click the new cloud shell button (file icon with + in upper right corner) on the cloud shell menu bar. This will create a new cloud shell window tab. **Note:** you may need to allow popups or enable popups for this website depending on the browser you use. You can also pull up the tab to increase the shell screen size.\n",
" * To quit cloud shell type exit at the prompt."
]
Expand Down Expand Up @@ -204,17 +207,21 @@
]
},
{
"cell_type": "markdown",
"id": "f70908e5",
"cell_type": "code",
"execution_count": null,
"id": "cbb754fd",
"metadata": {},
"outputs": [],
"source": [
"echo \"${USER}\""
]
},
{
"cell_type": "markdown",
"id": "6c5bfd86",
"cell_type": "code",
"execution_count": null,
"id": "d408f300",
"metadata": {},
"outputs": [],
"source": [
"echo \"${HOSTNAME}\""
]
Expand Down Expand Up @@ -269,17 +276,15 @@
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6ac8b3d2",
"cell_type": "markdown",
"id": "f4a3e7cc",
"metadata": {},
"outputs": [],
"source": [
"SUB\"<Subsription id>\"\"\n",
"SUBSCRIPTION\"<Subscription id>\"\"\n",
"RG=\"<Resource Group>\"\n",
"LOCATION=\"eastus\"\n",
"STGE_ACCT=\"<Storage Account>\"\n",
"BLOB_CONT=\"<Blob Container>\""
"STORAGE_ACCT=\"<Storage Account>\"\n",
"BLOB_CONTAINER=\"<Blob Container>\""
]
},
{
Expand Down Expand Up @@ -362,7 +367,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.9.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit cc4af70

Please sign in to comment.