Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 2.2 KB

quickstart-azure-cli.md

File metadata and controls

69 lines (52 loc) · 2.2 KB
title description author ms.author ms.service ms.subservice ms.topic ms.custom ms.date
Quickstart: Deploy the Azure Health Data Services de-identification service with Azure CLI
Quickstart: Deploy the Azure Health Data Services de-identification service with Azure CLI.
jovinson-ms
jovinson
azure-health-data-services
deidentification-service
quickstart
devx-track-azurecli
11/11/2024

Quickstart: Deploy the Azure Health Data Services de-identification service with Azure CLI

In this quickstart, you use the Azure CLI to deploy a de-identification service.

If you don't have an Azure subscription, create a free account before you begin.

[!INCLUDE include]

Install the deidservice extension

Install the deidservice extension:

az extension add --name deidservice

Deploy a de-identification service

Note

This command requires Azure CLI version 2.6 or later. You can check the currently installed version by running az --version.

Replace <deid-service-name> with a name for your de-identification service.

az group create --name exampleRG --location eastus
az deidservice create --resource-group exampleRG --name=<deid-service-name>

The command returns the following output, with some fields omitted for brevity.

{
    "id": "/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/exampleRG/providers/Microsoft.HealthDataAIServices/DeidServices/<deid-service-name>",
    "location": "eastus",
    "name": "<deid-service-name>",
    "properties": {
        "provisioningState": "Succeeded",
        "publicNetworkAccess": "Enabled",
        "serviceUrl": "https://example.api.eus001.deid.azure.com"
    },
    "resourceGroup": "exampleRG",
    "tags": {},
    "type": "microsoft.healthdataaiservices/deidservices"
}

Clean up resources

When you no longer need the resources, use the Azure CLI to delete the resource group.

az group delete --name exampleRG

Next steps

[!div class="nextstepaction"] Quickstart: Azure Health De-identification client library for .NET