» azurerm_powerbi_embedded

Manages a PowerBI Embedded.

» Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_powerbi_embedded" "example" {
  name                = "example-powerbi"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  sku_name            = "A1"
  administrators      = ["azsdktest@microsoft.com"]
}

» Argument Reference

The following arguments are supported:

  • name - (Required) The name of the PowerBI Embedded. Changing this forces a new resource to be created.

  • resource_group_name - (Required) The name of the Resource Group where the PowerBI Embedded should be created. Changing this forces a new resource to be created.

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

  • sku_name - (Required) Sets the PowerBI Embedded's pricing level's SKU. Possible values include: A1, A2, A3, A4, A5, A6.

  • administrators - (Required) A set of administrator user identities, which manages the Power BI Embedded and must be a member user or a service principal in your AAD tenant.

  • tags - (Optional) A mapping of tags to assign to the resource.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the PowerBI Embedded.

» Timeouts

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

  • create - (Defaults to 30 minutes) Used when creating the PowerBI Embedded instance.
  • update - (Defaults to 30 minutes) Used when updating the PowerBI Embedded instance.
  • read - (Defaults to 5 minutes) Used when retrieving the PowerBI Embedded instance.
  • delete - (Defaults to 30 minutes) Used when deleting the PowerBI Embedded instance.

» Import

PowerBI Embedded can be imported using the resource id, e.g.

$ terraform import azurerm_powerbi_embedded.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.PowerBIDedicated/capacities/capacity1