Skip to content

Data Source: azurermIpGroup

Use this data source to access information about an existing IP Group.

Example Usage

import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const dataAzurermIpGroupExample =
  new azurerm.dataAzurermIpGroup.DataAzurermIpGroup(this, "example", {
    name: "example1-ipgroup",
    resource_group_name: "example-rg",
  });
new cdktf.TerraformOutput(this, "cidrs", {
  value: dataAzurermIpGroupExample.cidrs,
});

Argument Reference

  • name - Specifies the Name of the IP Group.

  • resourceGroupName - Specifies the Name of the Resource Group within which the IP Group exists

Attributes Reference

  • id - The ID of the IP Group.

  • location - The supported Azure location where the resource exists.

  • cidrs - A list of CIDRs or IP addresses.

  • tags - A mapping of tags assigned to the resource.

Timeouts

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

  • read - (Defaults to 5 minutes) Used when retrieving the IP Group.