Skip to content

Commit 525bd9e

Browse files
committed
edits
1 parent 9c1aea4 commit 525bd9e

File tree

5 files changed

+12
-17
lines changed

5 files changed

+12
-17
lines changed

articles/devtest-labs/create-lab-windows-vm-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In this quickstart, you use an Azure Resource Manager (ARM) template to create a
1717

1818
[!INCLUDE [About Azure Resource Manager](~/reusable-content/ce-skilling/azure/includes/resource-manager-quickstart-introduction.md)]
1919

20-
DevTest Labs can use ARM templates for many tasks, from creating and provisioning labs to adding users. This quickstart uses the [Creates a lab with a claimed VM](https://azure.microsoft.com/resources/templates/dtl-create-lab-windows-vm-claimed) ARM template from the [Azure Quickstart Templates gallery](https://learn.microsoft.com/samples/browse/?expanded=azure&products=azure-resource-manager).
20+
DevTest Labs can use ARM templates for many tasks, from creating and provisioning labs to adding users. This quickstart uses the [Creates a lab with a claimed VM](https://azure.microsoft.com/resources/templates/dtl-create-lab-windows-vm-claimed) ARM template from the [Azure Quickstart Templates gallery](/samples/browse/?expanded=azure&products=azure-resource-manager).
2121

2222
## Prerequisites
2323

articles/devtest-labs/extend-devtest-labs-azure-functions.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,15 @@ The following diagram demonstrates the overall flow of function behavior in the
4848

4949
## Prerequisites
5050

51-
- To work with the sample in this walkthrough, you need a service principal that has permission to the subscription that contains the lab. The service principal must use password-based authentication.
51+
- To work with the sample in this walkthrough, you need a service principal that has permission to the subscription that contains the lab. The service principal must use password-based authentication. If you already have a service principal that you can use in this walkthrough, you can continue to the [next section](#download-sample-and-build-solution-in-visual-studio).
5252

53-
> [!NOTE]
54-
> If you already have a service principal that you can use in this walkthrough, you can continue to the [next section](#download-sample-and-build-solution-in-visual-studio).
55-
56-
1. To get the service principal, you can use the [Azure CLI](/cli/azure/create-an-azure-service-principal-azure-cli), [Azure PowerShell](/powershell/azure/create-azure-service-principal-azureps), or the [Azure portal](../active-directory/develop/howto-create-service-principal-portal.md).
53+
1. To get the service principal, you can use the [Azure CLI](/cli/azure/azure-cli-sp-tutorial-1), [Azure PowerShell](/powershell/azure/create-azure-service-principal-azureps), or the [Azure portal](/entra/identity-platform/howto-create-service-principal-portal).
5754

5855
1. After you have the service principal, copy and save the application ID, key, and tenant ID values. You use the values later in the walkthrough.
5956

6057
## Download sample and build solution in Visual Studio
6158

62-
The source code for the sample is located in the [Azure DevTest Labs GitHub repository](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/AzureFunctions). Both C# and PowerShell implementations are available.
59+
The source code for the sample is located in the [DevTest Labs Internal Support Page integration with Azure Functions](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/AzureFunctions) GitHub repository. The sample files support both C# and PowerShell implementations.
6360

6461
After you have the service principal, you're ready to get the sample source:
6562

@@ -83,7 +80,7 @@ The next step is to deploy the sample Function application to Azure:
8380

8481
1. Complete the Wizard steps to publish a new or existing Azure Function App:
8582

86-
:::image type="content" source="./media/extend-devtest-labs-azure-functions/publish-dialog.png" border="false" alt-text="Screenshot that shows the Publish dialog for an Azure Function app in Visual Studio." lightbox="./media/extend-devtest-labs-azure-functions/publish-dialog.png":::
83+
:::image type="content" source="./media/extend-devtest-labs-azure-functions/publish-dialog.png" border="false" alt-text="Screenshot that shows the Publish dialog for an Azure Function app in Visual Studio." lightbox="./media/extend-devtest-labs-azure-functions/publish-dialog-large.png":::
8784

8885
For detailed information on developing and deploying Azure Functions applications in Visual Studio, see [Develop Azure Functions by using Visual Studio](../azure-functions/functions-develop-vs.md).
8986

@@ -95,13 +92,13 @@ After you publish the Function app, you need to get URLs for the functions from
9592

9693
1. On the **Overview** page for the Function app, locate the **Functions** section and select one of the functions: **UpdateInternalSupportPage** or **ApplyWindowsUpdateArtifact**:
9794

98-
:::image type="content" source="./media/extend-devtest-labs-azure-functions/select-function.png" border="false" alt-text="Screenshot that shows how to access the Azure functions for the Function app in the Azure portal." lightbox="./media/extend-devtest-labs-azure-functions/select-function.png":::
95+
:::image type="content" source="./media/extend-devtest-labs-azure-functions/select-function.png" alt-text="Screenshot that shows how to access the Azure functions for the Function app in the Azure portal." lightbox="./media/extend-devtest-labs-azure-functions/select-function.png":::
9996

10097
1. On the **Code + Test** page for the Azure function, select **Get function URL**.
10198

10299
1. On the **Get Function URL** pane, use the **Copy** action to copy the desired URL to your clipboard:
103100

104-
:::image type="content" source="./media/extend-devtest-labs-azure-functions/function-url.png" border="false" alt-text="Screenshot that shows how to copy the URL for the function in the Azure portal." lightbox="./media/extend-devtest-labs-azure-functions/function-url.png":::
101+
:::image type="content" source="./media/extend-devtest-labs-azure-functions/function-url.png" alt-text="Screenshot that shows how to copy the URL for the function in the Azure portal." lightbox="./media/extend-devtest-labs-azure-functions/function-url.png":::
105102

106103
1. Save the copied URL for later use.
107104

@@ -124,7 +121,7 @@ In addition to the URL for each function, you also need information about the se
124121
- ServicePrincipal_Key
125122
- ServicePrincipal_Tenant
126123

127-
:::image type="content" source="./media/extend-devtest-labs-azure-functions/application-settings.png" alt-text="Screenshot that shows how to update the application settings in Visual Studio." lightbox="./media/extend-devtest-labs-azure-functions/application-settings.png" border="false":::
124+
:::image type="content" source="./media/extend-devtest-labs-azure-functions/application-settings.png" alt-text="Screenshot that shows how to update the application settings in Visual Studio." lightbox="./media/extend-devtest-labs-azure-functions/application-settings.png":::
128125

129126
## Test Azure function
130127

@@ -138,14 +135,12 @@ The last step is to test the Azure function:
138135

139136
1. On the **Test / Run** pane, enter values for the route properties: `LABNAME`, `RESOURCEGROUPNAME`, and `SUBSCRIPTIONID`:
140137

141-
:::image type="content" source="./media/extend-devtest-labs-azure-functions/test-function.png" alt-text="Screenshot that shows how to enter the property values for the function test." lightbox="./media/extend-devtest-labs-azure-functions/test-function.png" border="false":::
142-
143-
1. Select **Run** to execute the function.
138+
:::image type="content" source="./media/extend-devtest-labs-azure-functions/test-function.png" alt-text="Screenshot that shows how to enter the property values for the function test." lightbox="./media/extend-devtest-labs-azure-functions/test-function.png":::
144139

145-
The **Test** function updates the internal support page of the specified lab. It also includes an option for users to directly call the function next time:
140+
1. Select **Run** to execute the function. The function test updates the internal support page of the specified lab. It also includes an option for users to directly call the function next time.
146141

147142
## Related content
148143

149-
- Review the [DevTest Labs Enterprise Reference Architecture](devtest-lab-reference-architecture.md)
150-
- [Scale up DevTest Labs](devtest-lab-guidance-scale.md)
144+
- Explore [DevTest Labs enterprise reference architecture](devtest-lab-reference-architecture.md)
145+
- [Scale up your DevTest Labs infrastructure](devtest-lab-guidance-scale.md)
151146
- [Automate DevTest Labs with PowerShell](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/Modules/Library/Tests)
2.31 KB
Loading
43.2 KB
Loading
251 Bytes
Loading

0 commit comments

Comments
 (0)