Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.65 KB

communication_service.html.markdown

File metadata and controls

56 lines (37 loc) · 1.65 KB
subcategory layout page_title description
Communication
azurerm
Azure Resource Manager: Data Source: azurerm_communication_service
Gets information about an existing Communication Service.

Data Source: azurerm_communication_service

Use this data source to access information about an existing Communication Service.

Example Usage

data "azurerm_communication_service" "example" {
  name                = "existing"
  resource_group_name = "existing"
}

output "id" {
  value = data.azurerm_communication_service.example.id
}

Arguments Reference

The following arguments are supported:

  • name - (Required) The name of this Communication Service.
  • resource_group_name - (Required) The name of the Resource Group where the Communication Service exists.

Attributes Reference

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

  • id - The ID of the Communication Service.

  • data_location - The location where the Communication service stores its data at rest.

  • primary_connection_string - The primary connection string of the Communication Service.

  • primary_key - The primary key of the Communication Service.

  • secondary_connection_string - The secondary connection string of the Communication Service.

  • secondary_key - The secondary key of the Communication Service.

  • tags - A mapping of tags assigned to the Communication Service.

Timeouts

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

  • read - (Defaults to 5 minutes) Used when retrieving the Communication Service.