Get information about an Application Security Group.
Note: Application Security Groups are currently in Public Preview on an opt-in basis. More information, including how you can register for the Preview, and which regions Application Security Groups are available in are available here
data "azurerm_application_security_group" "test" {
name = "tf-appsecuritygroup"
resource_group_name = "my-resource-group"
}
output "application_security_group_id" {
value = "${data.azurerm_application_security_group.test.id}"
}
The following arguments are supported:
name - The name of the Application Security Group.
resource_group_name - The name of the resource group in which the Application Security Group exists.
The following attributes are exported:
id - The ID of the Application Security Group.
location - The supported Azure location where the Application Security Group exists.
tags - A mapping of tags assigned to the resource.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azurerm/d/application_security_group.html