Skip to content

Commit

Permalink
fix: remove data-source, resource, and provider templates since they …
Browse files Browse the repository at this point in the history
…are hard-coded
  • Loading branch information
ctreatma committed Apr 12, 2024
1 parent 6c59fd9 commit ff1efbb
Show file tree
Hide file tree
Showing 148 changed files with 2,647 additions and 11,288 deletions.
89 changes: 43 additions & 46 deletions docs/data-sources/ecx_l2_sellerprofile.md
Original file line number Diff line number Diff line change
@@ -1,69 +1,66 @@
---
subcategory: "Fabric"
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "equinix_ecx_l2_sellerprofile Data Source - terraform-provider-equinix"
subcategory: ""
description: |-
Use this data source to get details of Equinix Fabric layer 2 seller profile with a given name and / or organization
---

# equinix_ecx_l2_sellerprofile (Data Source)

!> **DEPRECATED** End of Life will be June 30th, 2024. Use `equinix_fabric_service_profile` instead.
Use this data source to get details of Equinix Fabric layer 2 seller profile with a given name and / or organization

Use this data source to get details of Equinix Fabric layer 2 seller profile with a given name and / or organization.

## Example usage

```terraform
data "equinix_ecx_l2_sellerprofile" "aws" {
name = "AWS Direct Connect"
}
<!-- schema generated by tfplugindocs -->
## Schema

output "id" {
value = data.equinix_ecx_l2_sellerprofile.aws.id
}
```
### Optional

## Argument Reference
- `name` (String) Name of the seller profile
- `organization_global_name` (String) Name of seller's global organization
- `organization_name` (String) Name of seller's organization

The following arguments are supported:
### Read-Only

* `name` - (Optional) Name of the seller profile.
* `organization_name` - (Optional) Name of seller's organization.
* `organization_global_name` - (Optional) Name of seller's global organization.
- `additional_info` (Set of Object) One or more specifications of additional buyer information attributes that can be provided in connection definition that uses given seller profile (see [below for nested schema](#nestedatt--additional_info))
- `description` (String) Seller Profile text description
- `encapsulation` (String) Seller profile's encapsulation (either Dot1q or QinQ)
- `id` (String) The ID of this resource.
- `metro` (Set of Object) One or more specifications of metro locations supported by seller profile (see [below for nested schema](#nestedatt--metro))
- `redundancy_required` (Boolean) Boolean that indicate if seller requires connections to be redundant
- `speed_band` (Set of Object) One or more specifications of speed/bandwidth supported by given seller profile (see [below for nested schema](#nestedatt--speed_band))
- `speed_customization_allowed` (Boolean) Boolean that indicates if seller allows customer to enter a custom connection speed
- `speed_from_api` (Boolean) Boolean that indicates if seller is deriving connection speed from an API call
- `uuid` (String) Unique identifier of the seller profile

## Attributes Reference
<a id="nestedatt--additional_info"></a>
### Nested Schema for `additional_info`

In addition to all arguments above, the following attributes are exported:
Read-Only:

* `uuid` - Unique identifier of the seller profile.
* `description` - Seller Profile text description.
* `speed_from_api` - Boolean that indicates if seller is deriving connection speed from an API call.
* `speed_customization_allowed` - Boolean that indicates if seller allows customer to enter a custom connection speed.
* `redundancy_required` - Boolean that indicate if seller requires connections to be redundant
* `encapsulation` - Seller profile's encapsulation (either Dot1q or QinQ).
* `speed_band` - One or more specifications of speed/bandwidth supported by given seller profile. See [Speed Band Attribute](#speed-band-attribute) below for more details.
* `metro` - One or more specifications of metro locations supported by seller profile. See [Metro Attribute](#metro-attribute) below for more details.
- `captured_in_email` (Boolean)
- `data_type` (String)
- `description` (String)
- `mandatory` (Boolean)
- `name` (String)

* `additional_info` - One or more specifications of additional buyer information attributes that can be provided in connection definition that uses given seller profile. See [Additional Info Attribute](#additional-info-attribute) below for more details.

### Speed Band Attribute
<a id="nestedatt--metro"></a>
### Nested Schema for `metro`

Each element in the `speed_band` set exports:
Read-Only:

* `speed` - Speed/bandwidth supported by given service profile.
* `speed_unit` - Unit of the speed/bandwidth supported by given service profile.
- `code` (String)
- `ibxes` (Set of String)
- `name` (String)
- `regions` (Map of String)

### Metro Attribute

Each element in the `metro` set exports:
<a id="nestedatt--speed_band"></a>
### Nested Schema for `speed_band`

* `code` - Location metro code.
* `name` - Location metro name.
* `ibxes` - List of IBXes supported within given metro.
* `regions` - List of regions supported within given.
Read-Only:

### Additional Info Attribute

Each element in the `additional_info` set exports:

* `name` - Name of additional information attribute.
* `description` - Textual description of additional information attribute.
* `data_type` - Data type of additional information attribute. One of `BOOLEAN`, `INTEGER` or `STRING`.
* `mandatory` - Specifies if additional information is mandatory to create connection.
- `speed` (Number)
- `speed_unit` (String)
85 changes: 63 additions & 22 deletions docs/data-sources/ecx_l2_sellerprofiles.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,78 @@
---
subcategory: "Fabric"
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "equinix_ecx_l2_sellerprofiles Data Source - terraform-provider-equinix"
subcategory: ""
description: |-
Use this data source to get list of Equinix Fabric layer 2 seller profiles
---

# equinix_ecx_l2_sellerprofiles (Data Source)

!> **DEPRECATED** End of Life will be June 30th, 2024. Use `equinix_fabric_service_profiles` instead.
Use this data source to get list of Equinix Fabric layer 2 seller profiles

Use this data source to get details of available Equinix Fabric layer 2 seller profiles. It is possible to apply filtering criteria for returned list of profiles.

## Example usage

```terraform
data "equinix_ecx_l2_sellerprofiles" "aws" {
organization_global_name = "AWS"
metro_codes = ["SV", "DC"]
speed_bands = ["1GB", "500MB"]
}
```
<!-- schema generated by tfplugindocs -->
## Schema

## Argument Reference
### Optional

The following arguments are supported:
- `metro_codes` (Set of String) List of metro codes of locations that should be served by resulting profiles
- `name_regex` (String) A regex string to apply on returned seller profile names and filter search results
- `organization_global_name` (String) Name of seller's global organization
- `organization_name` (String) Name of seller's organization
- `speed_bands` (Set of String) List of speed bands that should be supported by resulting profiles

* `name_regex` - (Optional) A regex string to apply on returned seller profile names and filter search results.
* `metro_codes` - (Optional) List of metro codes of locations that should be served by resulting profiles.
* `speed_bands` - (Optional) List of speed bands that should be supported by resulting profiles. (** Please see the note below for important information regarding the use of this argument**)
* `organization_name` - (Optional) Name of seller's organization.
* `organization_global_name` - (Optional) Name of seller's global organization.
### Read-Only

-> **NOTE:** Some seller profiles (such as OCI) do not show the available `speed_bands` until the connection is validated. Therefore, using the `speed_bands` argument as a filter can cause false empty results. You can use the [equinix_ecx_l2_sellerprofile](./equinix_ecx_l2_sellerprofile.md) data source to ensure that the seller profile you need returns its `speed_bands` information.
- `id` (String) The ID of this resource.
- `profiles` (List of Object) Resulting list of profiles that match filtering criteria (see [below for nested schema](#nestedatt--profiles))

## Attributes Reference
<a id="nestedatt--profiles"></a>
### Nested Schema for `profiles`

In addition to all arguments above, the following attributes are exported:
Read-Only:

* `profiles` - List of resulting profiles. Each element in the `profiles` list exports all [Service Profile Attributes](./equinix_ecx_l2_sellerprofile.md#attributes-reference).
- `additional_info` (Set of Object) (see [below for nested schema](#nestedobjatt--profiles--additional_info))
- `description` (String)
- `encapsulation` (String)
- `metro` (Set of Object) (see [below for nested schema](#nestedobjatt--profiles--metro))
- `name` (String)
- `organization_global_name` (String)
- `organization_name` (String)
- `redundancy_required` (Boolean)
- `speed_band` (Set of Object) (see [below for nested schema](#nestedobjatt--profiles--speed_band))
- `speed_customization_allowed` (Boolean)
- `speed_from_api` (Boolean)
- `uuid` (String)

<a id="nestedobjatt--profiles--additional_info"></a>
### Nested Schema for ``

Read-Only:

- `captured_in_email` (Boolean)
- `data_type` (String)
- `description` (String)
- `mandatory` (Boolean)
- `name` (String)


<a id="nestedobjatt--profiles--metro"></a>
### Nested Schema for ``

Read-Only:

- `code` (String)
- `ibxes` (Set of String)
- `name` (String)
- `regions` (Map of String)


<a id="nestedobjatt--profiles--speed_band"></a>
### Nested Schema for ``

Read-Only:

- `speed` (Number)
- `speed_unit` (String)
51 changes: 21 additions & 30 deletions docs/data-sources/ecx_port.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,33 @@
---
subcategory: "Fabric"
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "equinix_ecx_port Data Source - terraform-provider-equinix"
subcategory: ""
description: |-
Use this data source to get details of Equinix Fabric port with a given name
---

# equinix_ecx_port (Data Source)

!> **DEPRECATED** End of Life will be June 30th, 2024. Use `equinix_fabric_port` and `equinix_fabric_ports` instead.
Use this data source to get details of Equinix Fabric port with a given name

Use this data source to get details of Equinix Fabric port with a given name.

## Example Usage

```terraform
data "equinix_ecx_port" "tf-pri-dot1q" {
name = "sit-001-CX-NY5-NL-Dot1q-BO-10G-PRI-JP-157"
}
<!-- schema generated by tfplugindocs -->
## Schema

output "id" {
value = data.equinix_ecx_port.tf-pri-dot1q.id
}
```
### Required

## Argument Reference
- `name` (String) Name of the port

The following arguments are supported:
### Read-Only

* `name` - (Required) Name of the port.

## Attributes Reference

In addition to all arguments above, the following attributes are exported:

* `uuid` - Unique identifier of the port.
* `status` - Status of the port.
* `region` - Port location region.
* `ibx` - Port location Equinix Business Exchange (IBX).
* `metro_code` - Port location metro code.
* `priority` - The priority of the device (primary / secondary) where the port resides.
* `encapsulation` - The VLAN encapsulation of the port (Dot1q or QinQ).
* `buyout` - Boolean value that indicates whether the port supports unlimited connections. If `false`, the port is a standard port with limited connections. If `true`, the port is an `unlimited connections` port that allows multiple connections at no additional charge.
* `bandwidth` - Port Bandwidth in bytes.
* `status` - Port status that indicates whether a port has been assigned or is ready for connection.
- `bandwidth` (String) Port Bandwidth in bytes
- `buyout` (Boolean) Boolean value that indicates whether the port supports unlimited connections.
- `encapsulation` (String) The VLAN encapsulation of the port (Dot1q or QinQ)
- `ibx` (String) Port location Equinix Business Exchange (IBX)
- `id` (String) The ID of this resource.
- `metro_code` (String) Port location metro code
- `priority` (String) The priority of the device (primary / secondary) where the port resides
- `region` (String) Port location region
- `status` (String) Port status that indicates whether a port has been assigned or is ready for connection
- `uuid` (String) Unique identifier of the por
28 changes: 9 additions & 19 deletions docs/data-sources/fabric_cloud_router.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "equinix_fabric_cloud_router Data Source - terraform-provider-equinix"
subcategory: "Fabric"
subcategory: ""
description: |-
Fabric V4 API compatible data resource that allow user to fetch Fabric Cloud Router for a given UUID
---

# equinix_fabric_clouder_router (Data Source)
# equinix_fabric_cloud_router (Data Source)

Fabric V4 API compatible data resource that allow user to fetch Fabric Cloud Router for a given UUID

API documentation can be found here - https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers

## Example Usage

```terraform
data "equinix_fabric_cloud_router" "cloud_router_data_name" {
uuid = "<uuid_of_cloud_router>"
}
```

<!-- schema generated by tfplugindocs -->

## Schema

### Required
Expand All @@ -46,20 +37,19 @@ data "equinix_fabric_cloud_router" "cloud_router_data_name" {
- `notifications` (List of Object) Preferences for notifications on Fabric Cloud Router configuration or status changes (see [below for nested schema](#nestedatt--notifications))
- `order` (Set of Object) Order information related to this Fabric Cloud Router (see [below for nested schema](#nestedatt--order))
- `package` (Set of Object) Fabric Cloud Router Package Type (see [below for nested schema](#nestedatt--package))
- `project` (Set of Object) Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects (see [below for nested schema](#nestedatt--project))
- `project` (Set of Object) Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects (see [below for nested schema](#nestedatt--project))
- `state` (String) Fabric Cloud Router overall state
- `type` (String) Defines the FCR type like; XF_ROUTER

<a id="nestedatt--account"></a>

### Nested Schema for `account`

Read-Only:

- `account_number` (Number)

<a id="nestedatt--change_log"></a>

<a id="nestedatt--change_log"></a>
### Nested Schema for `change_log`

Read-Only:
Expand All @@ -77,8 +67,8 @@ Read-Only:
- `updated_by_full_name` (String)
- `updated_date_time` (String)

<a id="nestedatt--location"></a>

<a id="nestedatt--location"></a>
### Nested Schema for `location`

Read-Only:
Expand All @@ -88,8 +78,8 @@ Read-Only:
- `metro_name` (String)
- `region` (String)

<a id="nestedatt--notifications"></a>

<a id="nestedatt--notifications"></a>
### Nested Schema for `notifications`

Read-Only:
Expand All @@ -98,8 +88,8 @@ Read-Only:
- `send_interval` (String)
- `type` (String)

<a id="nestedatt--order"></a>

<a id="nestedatt--order"></a>
### Nested Schema for `order`

Read-Only:
Expand All @@ -109,16 +99,16 @@ Read-Only:
- `order_number` (String)
- `purchase_order_number` (String)

<a id="nestedatt--package"></a>

<a id="nestedatt--package"></a>
### Nested Schema for `package`

Read-Only:

- `code` (String)

<a id="nestedatt--project"></a>

<a id="nestedatt--project"></a>
### Nested Schema for `project`

Read-Only:
Expand Down
Loading

0 comments on commit ff1efbb

Please sign in to comment.