Use this data source to access information about an existing Azure Network DDoS Protection Plan.
data "azurerm_network_ddos_protection_plan" "example" {
name = azurerm_network_ddos_protection_plan.example.name
resource_group_name = azurerm_network_ddos_protection_plan.example.resource_group_name
}
output "ddos_protection_plan_id" {
value = data.azurerm_network_ddos_protection_plan.example.id
}
The following arguments are supported:
name
- The name of the Network DDoS Protection Plan.
resource_group_name
- The name of the resource group where the Network DDoS Protection Plan exists.
The following attributes are exported:
id
- The ID of the DDoS Protection Plan
location
- Specifies the supported Azure location where the resource exists.
tags
- A mapping of tags assigned to the resource.
virtual_network_ids
- A list of IDs of the Virtual Networks associated with this DDoS Protection Plan.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Protection Plan.