Skip to content

Commit

Permalink
make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Jan 6, 2025
1 parent 132d89b commit 417d7d4
Show file tree
Hide file tree
Showing 2 changed files with 206 additions and 32 deletions.
129 changes: 103 additions & 26 deletions docs/resources/teams_location.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,6 @@ resource "cloudflare_teams_location" "example" {
networks {
network = "203.0.113.2/32"
}
dns_destination_ips_id = "0e4a32c6-6fb8-4858-9296-98f51631e8e6"
endpoints {
ipv4 {
enabled = true
}
ipv6 {
enabled = true
networks = [ { network = "2a09:bac5:50c3:400::6b:57/128" } ]
}
dot {
enabled = true
networks = [ { network = "2.5.6.201/32" } ]
}
doh {
enabled = true
networks = [ { network = "2.5.6.202/32" }, { network = "3.5.6.203/32" } ]
}
}
}
```
<!-- schema generated by tfplugindocs -->
Expand All @@ -60,27 +40,124 @@ resource "cloudflare_teams_location" "example" {
### Optional

- `client_default` (Boolean) Indicator that this is the default location.
- `dns_destination_ips_id` (String) IPv4 binding assigned to this location.
- `dns_destination_ipv6_block_id` (String) IPv6 block binding assigned to this location.
- `ecs_support` (Boolean) Indicator that this location needs to resolve EDNS queries.
- `networks` (Block Set) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedblock--networks))
- `endpoints` (Block List, Max: 1) Endpoints assigned to this location. (see [below for nested schema](#nestedblock--endpoints))
- `networks` (Set of Object) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedatt--networks))

### Read-Only

- `anonymized_logs_enabled` (Boolean) Indicator that anonymized logs are enabled.
- `doh_subdomain` (String) The FQDN that DoH clients should be pointed at.
- `id` (String) The ID of this resource.
- `ip` (String) Client IP address.
- `ipv4_destination` (String) IP to direct all IPv4 DNS queries to.
- `ipv4_destination` (String) IPv4 to direct all IPv4 DNS queries to.
- `ipv4_destination_backup` (String) Backup IPv4 to direct all IPv4 DNS queries to.

<a id="nestedblock--networks"></a>
### Nested Schema for `networks`
<a id="nestedblock--endpoints"></a>
### Nested Schema for `endpoints`

Optional:

- `doh` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--doh))
- `dot` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--dot))
- `ipv4` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv4))
- `ipv6` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv6))

<a id="nestedblock--endpoints--doh"></a>
### Nested Schema for `endpoints.doh`

Required:

- `network` (String) CIDR notation representation of the network IP.
- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--doh--networks))

Read-Only:

- `id` (String) The ID of this resource.
- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--doh--networks"></a>
### Nested Schema for `endpoints.doh.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--dot"></a>
### Nested Schema for `endpoints.dot`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--dot--networks))

Read-Only:

- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--dot--networks"></a>
### Nested Schema for `endpoints.dot.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--ipv4"></a>
### Nested Schema for `endpoints.ipv4`

Required:

- `enabled` (Boolean)

Read-Only:

- `authentication_enabled` (Boolean)


<a id="nestedblock--endpoints--ipv6"></a>
### Nested Schema for `endpoints.ipv6`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--ipv6--networks))

Read-Only:

- `authentication_enabled` (Boolean)

<a id="nestedatt--endpoints--ipv6--networks"></a>
### Nested Schema for `endpoints.ipv6.networks`

Optional:

- `network` (String)




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

Optional:

- `network` (String)

## Import

Expand Down
109 changes: 103 additions & 6 deletions docs/resources/zero_trust_dns_location.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,124 @@ resource "cloudflare_zero_trust_dns_location" "example" {
### Optional

- `client_default` (Boolean) Indicator that this is the default location.
- `dns_destination_ips_id` (String) IPv4 binding assigned to this location.
- `dns_destination_ipv6_block_id` (String) IPv6 block binding assigned to this location.
- `ecs_support` (Boolean) Indicator that this location needs to resolve EDNS queries.
- `networks` (Block Set) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedblock--networks))
- `endpoints` (Block List, Max: 1) Endpoints assigned to this location. (see [below for nested schema](#nestedblock--endpoints))
- `networks` (Set of Object) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedatt--networks))

### Read-Only

- `anonymized_logs_enabled` (Boolean) Indicator that anonymized logs are enabled.
- `doh_subdomain` (String) The FQDN that DoH clients should be pointed at.
- `id` (String) The ID of this resource.
- `ip` (String) Client IP address.
- `ipv4_destination` (String) IP to direct all IPv4 DNS queries to.
- `ipv4_destination` (String) IPv4 to direct all IPv4 DNS queries to.
- `ipv4_destination_backup` (String) Backup IPv4 to direct all IPv4 DNS queries to.

<a id="nestedblock--networks"></a>
### Nested Schema for `networks`
<a id="nestedblock--endpoints"></a>
### Nested Schema for `endpoints`

Optional:

- `doh` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--doh))
- `dot` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--dot))
- `ipv4` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv4))
- `ipv6` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv6))

<a id="nestedblock--endpoints--doh"></a>
### Nested Schema for `endpoints.doh`

Required:

- `network` (String) CIDR notation representation of the network IP.
- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--doh--networks))

Read-Only:

- `id` (String) The ID of this resource.
- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--doh--networks"></a>
### Nested Schema for `endpoints.doh.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--dot"></a>
### Nested Schema for `endpoints.dot`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--dot--networks))

Read-Only:

- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--dot--networks"></a>
### Nested Schema for `endpoints.dot.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--ipv4"></a>
### Nested Schema for `endpoints.ipv4`

Required:

- `enabled` (Boolean)

Read-Only:

- `authentication_enabled` (Boolean)


<a id="nestedblock--endpoints--ipv6"></a>
### Nested Schema for `endpoints.ipv6`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--ipv6--networks))

Read-Only:

- `authentication_enabled` (Boolean)

<a id="nestedatt--endpoints--ipv6--networks"></a>
### Nested Schema for `endpoints.ipv6.networks`

Optional:

- `network` (String)




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

Optional:

- `network` (String)

## Import

Expand Down

0 comments on commit 417d7d4

Please sign in to comment.