Skip to content

Data Source: azurermHealthcareWorkspace

Use this data source to access information about an existing Healthcare Workspace

Example Usage

import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const dataAzurermHealthcareWorkspaceExample =
  new azurerm.dataAzurermHealthcareWorkspace.DataAzurermHealthcareWorkspace(
    this,
    "example",
    {
      name: "example-healthcare_service",
      resource_group_name: "example-resources",
    }
  );
new cdktf.TerraformOutput(this, "healthcare_workspace_id", {
  value: dataAzurermHealthcareWorkspaceExample.id,
});

Argument Reference

  • name - The name of the Healthcare Workspace.

  • resourceGroupName - The name of the Resource Group in which the Healthcare Workspace exists.

Attributes Reference

The following attributes are exported:

  • id - The ID of the Healthcare Workspace.

  • location - The Azure Region where the Healthcare Workspace is located.

  • tags - A map of tags assigned to the Healthcare Workspace.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Healthcare Workspace.