You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/azure/child-extension-bicep-templates/8-knowledge-check.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ quiz:
44
44
explanation: Incorrect. You can define child resources by using a nested resource definition, but you can't define extension resources in this way.
45
45
- content: Which of these statements is true?
46
46
choices:
47
-
- content: Using the `existing` keyword on a resource declaration means that Bicep redeploys the resource.
47
+
- content: When you use the `existing` keyword on a resource declaration, Bicep redeploys the resource.
48
48
isCorrect: false
49
49
explanation: Incorrect. The `existing` keyword means that Bicep doesn't attempt to deploy the resource. Use the keyword to refer to the resource within your Bicep template.
50
50
- content: All resource definitions in a Bicep file need to have an SKU property set, even existing resources.
If it doesn't, either copy the example or adjust your template to match the example.
86
+
If it doesn't look the same, either copy the example or adjust your template to match the example.
87
87
88
88
## Deploy the template to Azure
89
89
@@ -93,7 +93,7 @@ If it doesn't, either copy the example or adjust your template to match the exam
93
93
94
94
### Deploy the template to Azure
95
95
96
-
Run the following code from the terminal in Visual Studio Code to deploy the Bicep template to Azure. This operation can take a minute or two to complete, before you see a successful deployment.
96
+
Run the following code from the terminal in Visual Studio Code to deploy the Bicep template to Azure. It might take a minute or two before you see a successful deployment.
97
97
98
98
```azurecli
99
99
az deployment group create --name main --template-file main.bicep
@@ -107,7 +107,7 @@ az deployment group create --name main --template-file main.bicep
107
107
108
108
### Deploy the template to Azure
109
109
110
-
Deploy the template to Azure by using the following Azure PowerShell command in the terminal. This operation can take a minute or two to complete, before you see a successful deployment.
110
+
Deploy the template to Azure by using the following Azure PowerShell command in the terminal. It might take a minute or two before you see a successful deployment.
111
111
112
112
```azurepowershell
113
113
New-AzResourceGroupDeployment -Name main -TemplateFile main.bicep
@@ -120,7 +120,7 @@ New-AzResourceGroupDeployment -Name main -TemplateFile main.bicep
120
120
1. Go to the [Azure portal](https://portal.azure.com?azure-portal=true) and make sure you're in the sandbox subscription:
121
121
122
122
1. Select your avatar in the upper-right corner of the page, and then select **Switch directory**.
123
-
1. A list of directories appears. Select the **Switch** button next to Microsoft Learn Sandbox.
123
+
1. A list of directories appears. Select the **Switch** button next to **Microsoft Learn Sandbox**.
124
124
125
125
1. On the home page, select **Resource groups**. The **Resource groups** pane appears.
126
126
@@ -138,4 +138,4 @@ New-AzResourceGroupDeployment -Name main -TemplateFile main.bicep
138
138
139
139
:::image type="content" source="../media/4-deployment-details.png" alt-text="Screenshot of the Azure portal interface for the specific deployment, with three Cosmos DB resources listed." border="true":::
140
140
141
-
1. Leave the page open in your browser, so you can check on deployments again later.
141
+
1. Leave the page open in your browser so you can check on deployments again later.
Copy file name to clipboardExpand all lines: learn-pr/azure/child-extension-bicep-templates/includes/5-define-extension-resources.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Notice that the example uses the `scope` property with the Azure Cosmos DB accou
36
36
37
37
## Extension resource IDs
38
38
39
-
An ID for an extension resource is slightly different than IDs for other resources. It consists of its parent resource ID, the separator `/providers/`, and the extension resource ID.
39
+
An ID for an extension resource is slightly different from IDs for other resources. It consists of its parent resource ID, the separator `/providers/`, and the extension resource ID.
40
40
41
41
Say you deployed the previously mentioned Azure Cosmos DB account, and the account was named `toyrnd`. Here's what the lock's resource ID would look like:
Copy file name to clipboardExpand all lines: learn-pr/azure/child-extension-bicep-templates/includes/6-work-with-existing-resources.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Resources often need to refer to the properties of other resources. For example,
76
76
> [!TIP]
77
77
> It's a best practice to look up keys from other resources in this way instead of passing them around through outputs. You'll always get the most up-to-date data. Also, it's important to note that outputs aren't designed to handle secure data like keys.
78
78
79
-
The way that you access the information about a resource depends on the type of information you're getting. If it's a property that isn't secure, you ordinarily use only the `properties` of the resource. The following example template deploys an Azure Functions application and uses the access details (*instrumentation key*) for an existing Application Insights instance:
79
+
The way that you access the information about a resource depends on the type of information you're getting. If it's a property that isn't considered sensitive, you ordinarily use only the `properties` of the resource. The following example template deploys an Azure Functions application and uses the access details (*instrumentation key*) for an existing Application Insights instance:
Copy file name to clipboardExpand all lines: learn-pr/azure/includes/azure-template-exercise-sandbox-sign-in-powershell.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ ms.author: jgao
12
12
Connect-AzAccount
13
13
```
14
14
15
-
A browser opens so that you can sign in to your Azure account. The browser might be opened in the background.
15
+
A browser opens so that you can sign in to your Azure account. The browser might open in the background.
16
16
17
-
1. After you've signed in to Azure, the terminal displays a list of the subscriptions associated with this account. If you've activated the sandbox, a subscription named *Concierge Subscription* is displayed. Select it for the rest of the exercise.
17
+
1. After you sign in to Azure, the terminal displays a list of the subscriptions associated with this account. If you activated the sandbox, a subscription named *Concierge Subscription* is displayed. Select it for the rest of the exercise.
18
18
19
19
If you've used more than one sandbox recently, the terminal might display more than one instance of *Concierge Subscription*. In this case, use the next two steps to set one as the default subscription.
0 commit comments