Skip to content

azurermHealthbot

Manages a Healthbot Service.

Example Usage

/*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 azurermResourceGroupExample = new azurerm.resourceGroup.ResourceGroup(
  this,
  "example",
  {
    location: "West Europe",
    name: "example-healthbot",
  }
);
const azurermHealthbotExample = new azurerm.healthbot.Healthbot(
  this,
  "example_1",
  {
    location: azurermResourceGroupExample.location,
    name: "example-bot",
    resource_group_name: azurermResourceGroupExample.name,
    sku_name: "F0",
  }
);
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
azurermHealthbotExample.overrideLogicalId("example");

Arguments Reference

The following arguments are supported:

  • name - (Required) Specifies The name of the Healthbot Service resource. Changing this forces a new resource to be created.

  • resourceGroupName - (Required) Specifies The name of the Resource Group in which to create the Healthbot Service. changing this forces a new resource to be created.

  • location - (Required) Specifies The Azure Region where the resource exists. Changing this force a new resource to be created.

  • skuName - (Required) The name which should be used for the SKU of the service. Possible values are c0, f0 and s1.


  • tags - (Optional) A mapping of tags which should be assigned to the service.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the resource.

  • botManagementPortalUrl - The management portal url.

Timeouts

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

  • create - (Defaults to 30 minutes) Used when creating a Healthbot Service.
  • read - (Defaults to 5 minutes) Used when retrieving a Healthbot Service.
  • update - (Defaults to 30 minutes) Used when updating a Healthbot Service.
  • delete - (Defaults to 30 minutes) Used when deleting a Healthbot Service.

Import

Healthbot Service can be imported using the resourceId, e.g.

terraform import azurerm_healthbot.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.HealthBot/healthBots/bot1