|
| 1 | +--- |
| 2 | +title: Create an Azure Health Data Services de-identification service by using Azure Resource Manager template (ARM template) |
| 3 | +description: Learn how to create an Azure Health Data Services de-identification service by using Azure Resource Manager template (ARM template). |
| 4 | +services: azure-resource-manager |
| 5 | +ms.service: azure-health-data-services |
| 6 | +ms.subservice: deidentification-service |
| 7 | +author: jovinson-ms |
| 8 | +ms.author: jovinson |
| 9 | +ms.topic: quickstart-arm |
| 10 | +ms.custom: subject-armqs |
| 11 | +ms.date: 11/11/2024 |
| 12 | + |
| 13 | +# Customer intent: As a cloud administrator, I want a quick method to deploy an Azure resource for production environments or to evaluate the service's functionality. |
| 14 | +--- |
| 15 | + |
| 16 | +# Quickstart: Deploy the de-identification service (preview) using an ARM template |
| 17 | + |
| 18 | +This quickstart describes how to use an Azure Resource Manager template (ARM template) to create |
| 19 | +an Azure Health Data Services de-identification service (preview). |
| 20 | + |
| 21 | +[!INCLUDE [About Azure Resource Manager](~/reusable-content/ce-skilling/azure/includes/resource-manager-quickstart-introduction.md)] |
| 22 | + |
| 23 | +If your environment meets the prerequisites and you're familiar with using ARM templates, select the |
| 24 | +**Deploy to Azure** button. The template opens in the Azure portal. |
| 25 | + |
| 26 | +:::image type="content" source="~/reusable-content/ce-skilling/azure/media/template-deployments/deploy-to-azure-button.svg" alt-text="Button to deploy the Resource Manager template to Azure." border="false" link="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.healthdataaiservices%2Fdeidentification-service-create%2Fazuredeploy.json"::: |
| 27 | + |
| 28 | +## Prerequisites |
| 29 | + |
| 30 | +If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin. |
| 31 | + |
| 32 | +[!INCLUDE [include](~/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)] |
| 33 | + |
| 34 | +## Review the template |
| 35 | + |
| 36 | +The template used in this quickstart is from [Azure Quickstart Templates](/samples/azure/azure-quickstart-templates/deidentification-service-create/). |
| 37 | + |
| 38 | +:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.healthdataaiservices/deidentification-service-create/azuredeploy.json"::: |
| 39 | + |
| 40 | +One Azure resource is defined in the template: |
| 41 | + |
| 42 | +- [Microsoft.HealthDataAIServices/deidServices](/azure/templates): Create a de-identification service. |
| 43 | + |
| 44 | +## Deploy the template |
| 45 | + |
| 46 | +Deploy the template using any standard method to [Deploy a local ARM template](/azure/azure-resource-manager/templates/deployment-tutorial-local-template) such as the following example using Azure CLI. |
| 47 | +1. Save the template file as **azuredeploy.json** to your local computer. |
| 48 | +1. Create a resource group in one of the supported regions for the de-identification service, replacing **\<deid-service-name\>** with the name you choose for your de-identification service: |
| 49 | + ```azurecli |
| 50 | + az group create --name exampleRG --location eastus |
| 51 | +
|
| 52 | + az deployment group create --resource-group exampleRG --template-file azuredeploy.json --parameters deidServiceName="<deid-service-name>" |
| 53 | + ``` |
| 54 | +
|
| 55 | +When the deployment finishes, you should see a message indicating the deployment succeeded. |
| 56 | +
|
| 57 | +## Review deployed resources |
| 58 | +
|
| 59 | +Review your resource with Azure CLI, replacing **\<deid-service-name\>** with the name you choose for your de-identification service: |
| 60 | +```azurecli |
| 61 | +az resource show -g exampleRG -n <deid-service-name> --resource-type "Microsoft.HealthDataAIServices/deidServices" |
| 62 | +``` |
| 63 | + |
| 64 | +## Clean up resources |
| 65 | + |
| 66 | +When no longer needed, delete the resource group. The resource group and all the resources in the |
| 67 | +resource group are deleted. |
| 68 | +```azurecli |
| 69 | +az group delete --name exampleRG |
| 70 | +``` |
| 71 | + |
| 72 | +## Next steps |
| 73 | + |
| 74 | +For a step-by-step tutorial that guides you through the process of creating a template, see: |
| 75 | + |
| 76 | +> [!div class="nextstepaction"] |
| 77 | +> [Tutorial: Create and deploy your first ARM template](/azure/azure-resource-manager/templates/template-tutorial-create-first-template) |
| 78 | +
|
| 79 | +- [Quickstart: Azure Health De-identification client library for .NET](quickstart-sdk-net.md) |
0 commit comments