» Data Source: pureport_networks

» Example Usage

data "pureport_accounts" "main" {
  filter {
    name = "Name"
    values = ["My Account.*"]
  }
}

data "pureport_networks" "empty" {
  account_href = data.pureport_accounts.main.accounts.0.href
}

» Argument Reference

The following arguments are supported:

  • account_href - (Required) The HREF for the Pureport account associated with this network.

  • filter - (Optional) A filter used to scope the list e.g. by tags.
    • name - (Required) The name of the filter. The valid values are defined in the Pureport SDK Model.
    • values - (Required) The value of the filter. Currently only regex strings are supported.

» Attributes

  • networks - A list of Pureport networks.

    • id - The unique identifier for the Pureport network.
    • href - The unique path reference for the Pureport network. This will be used by other resources to identify the locations in most cases.
    • name - The name of the network.
    • description - The description for the network.
    • account_href - The HREF for the Pureport account associated with this network.
    • tags - A dictionary of user defined key/value pairs associated with this resource.

The Pureport Guide,