equinix_network_account (Data Source)
Use this data source to get number and identifier of Equinix Network Edge billing account in a given metro location.
Billing account reference is required to create Network Edge virtual device in corresponding metro location.
Example Usage
# Retrieve details of an account in Active status in DC metro
data "equinix_network_account" "dc" {
metro_code = "DC"
status = "Active"
project_id = "a86d7112-d740-4758-9c9c-31e66373746b"
}
output "number" {
value = data.equinix_network_account.dc.number
}
Argument Reference
The following arguments are supported:
metro_code- (Required) Account location metro code.name- (Optional) Account name for filtering.status- (Optional) Account status for filtering. Possible values are:Active,Processing,Submitted,Staged.project_id- (Optional) Unique Identifier for the project resource where the account is scoped to.If you leave it out, all the billing accounts under all projects in your organization will be returned and it may return more than one account.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
number- Account unique number.ucm_id- Account unique identifier.