Data Source: azurerm_cognitive_account

Use this data source to access information about an existing Cognitive Services Account.

Example Usage

data "azurerm_cognitive_account" "test" {
  name                = "example-account"
  resource_group_name = "cognitive_account_rg"
}

output "primary_access_key" {
  value = data.azurerm_cognitive_account.test.primary_access_key
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


An identity block exports the following:

Timeouts

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