Skip to content

Commit

Permalink
docs: remove example with context
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gillson <[email protected]>
  • Loading branch information
TylerGillson committed Sep 13, 2024
1 parent df99b5e commit 2156c6c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
22 changes: 0 additions & 22 deletions docs/resources/privatecloudgateway_ippool.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,6 @@ An example of creating an IP Pool for a Private Cloud Gateway using a subnet of
}
```

The following example is for creating an IP pool that belongs to a Private Cloud Gateway created at the tenant scope.

```hcl
data "spectrocloud_private_cloud_gateway" "pcg" {
name = "tenant-pcg"
}
resource "spectrocloud_privatecloudgateway_ippool" "ippool" {
gateway = "192.168.1.1"
name = "tenant-compute-pool-1"
network_type = "range"
prefix = "24"
private_cloud_gateway_id = data.spectrocloud_private_cloud_gateway.pcg.id
ip_start_range = "192.168.1.10"
ip_end_range = "192.168.1.100"
nameserver_addresses = ["192.168.1.8"]
restrict_to_single_cluster = true
context = "tenant"
}
```



<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
22 changes: 0 additions & 22 deletions templates/resources/privatecloudgateway_ippool.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,5 @@ An example of creating an IP Pool for a Private Cloud Gateway using a subnet of
}
```

The following example is for creating an IP pool that belongs to a Private Cloud Gateway created at the tenant scope.

```hcl
data "spectrocloud_private_cloud_gateway" "pcg" {
name = "tenant-pcg"
}

resource "spectrocloud_privatecloudgateway_ippool" "ippool" {
gateway = "192.168.1.1"
name = "tenant-compute-pool-1"
network_type = "range"
prefix = "24"
private_cloud_gateway_id = data.spectrocloud_private_cloud_gateway.pcg.id
ip_start_range = "192.168.1.10"
ip_end_range = "192.168.1.100"
nameserver_addresses = ["192.168.1.8"]
restrict_to_single_cluster = true
context = "tenant"
}
```



{{ .SchemaMarkdown | trimspace }}

0 comments on commit 2156c6c

Please sign in to comment.