azurerm_voice_services_communications_gateway_test_line

Manages a Voice Services Communications Gateway Test Line.

Example Usage

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

resource "azurerm_voice_services_communications_gateway" "example" {
  name                = "example-vcg"
  resource_group_name = azurerm_resource_group.example.name
}

resource "azurerm_voice_services_communications_gateway_test_line" "example" {
  name                                     = "example-vtl"
  location                                 = "West Central US"
  voice_services_communications_gateway_id = azurerm_voice_services_communications_gateway.example.id
  phone_number                             = "123456789"
  purpose                                  = "Automated"
  tags = {
    key = "value"
  }
}

Arguments Reference

The following arguments are supported:

Attributes Reference

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

Timeouts

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

Import

Voice Services Communications Gateway Test Line can be imported using the resource id, e.g.

terraform import azurerm_voice_services_communications_gateway_test_line.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.VoiceServices/communicationsGateways/communicationsGateway1/testLines/testLine1