cloudflare.TeamsLocation
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDnsLocation = new cloudflare.ZeroTrustDnsLocation("example_zero_trust_dns_location", {
    accountId: "699d98642c564d2e855e9661899b7252",
    name: "Austin Office Location",
    clientDefault: false,
    dnsDestinationIpsId: "0e4a32c6-6fb8-4858-9296-98f51631e8e6",
    ecsSupport: false,
    endpoints: {
        doh: {
            enabled: true,
            networks: [{
                network: "2001:85a3::/64",
            }],
            requireToken: true,
        },
        dot: {
            enabled: true,
            networks: [{
                network: "2001:85a3::/64",
            }],
        },
        ipv4: {
            enabled: true,
        },
        ipv6: {
            enabled: true,
            networks: [{
                network: "2001:85a3::/64",
            }],
        },
    },
    networks: [{
        network: "192.0.2.1/32",
    }],
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dns_location = cloudflare.ZeroTrustDnsLocation("example_zero_trust_dns_location",
    account_id="699d98642c564d2e855e9661899b7252",
    name="Austin Office Location",
    client_default=False,
    dns_destination_ips_id="0e4a32c6-6fb8-4858-9296-98f51631e8e6",
    ecs_support=False,
    endpoints={
        "doh": {
            "enabled": True,
            "networks": [{
                "network": "2001:85a3::/64",
            }],
            "require_token": True,
        },
        "dot": {
            "enabled": True,
            "networks": [{
                "network": "2001:85a3::/64",
            }],
        },
        "ipv4": {
            "enabled": True,
        },
        "ipv6": {
            "enabled": True,
            "networks": [{
                "network": "2001:85a3::/64",
            }],
        },
    },
    networks=[{
        "network": "192.0.2.1/32",
    }])
package main
import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.NewZeroTrustDnsLocation(ctx, "example_zero_trust_dns_location", &cloudflare.ZeroTrustDnsLocationArgs{
			AccountId:           pulumi.String("699d98642c564d2e855e9661899b7252"),
			Name:                pulumi.String("Austin Office Location"),
			ClientDefault:       pulumi.Bool(false),
			DnsDestinationIpsId: pulumi.String("0e4a32c6-6fb8-4858-9296-98f51631e8e6"),
			EcsSupport:          pulumi.Bool(false),
			Endpoints: &cloudflare.ZeroTrustDnsLocationEndpointsArgs{
				Doh: &cloudflare.ZeroTrustDnsLocationEndpointsDohArgs{
					Enabled: pulumi.Bool(true),
					Networks: cloudflare.ZeroTrustDnsLocationEndpointsDohNetworkArray{
						&cloudflare.ZeroTrustDnsLocationEndpointsDohNetworkArgs{
							Network: pulumi.String("2001:85a3::/64"),
						},
					},
					RequireToken: pulumi.Bool(true),
				},
				Dot: &cloudflare.ZeroTrustDnsLocationEndpointsDotArgs{
					Enabled: pulumi.Bool(true),
					Networks: cloudflare.ZeroTrustDnsLocationEndpointsDotNetworkArray{
						&cloudflare.ZeroTrustDnsLocationEndpointsDotNetworkArgs{
							Network: pulumi.String("2001:85a3::/64"),
						},
					},
				},
				Ipv4: &cloudflare.ZeroTrustDnsLocationEndpointsIpv4Args{
					Enabled: pulumi.Bool(true),
				},
				Ipv6: &cloudflare.ZeroTrustDnsLocationEndpointsIpv6Args{
					Enabled: pulumi.Bool(true),
					Networks: cloudflare.ZeroTrustDnsLocationEndpointsIpv6NetworkArray{
						&cloudflare.ZeroTrustDnsLocationEndpointsIpv6NetworkArgs{
							Network: pulumi.String("2001:85a3::/64"),
						},
					},
				},
			},
			Networks: cloudflare.ZeroTrustDnsLocationNetworkArray{
				&cloudflare.ZeroTrustDnsLocationNetworkArgs{
					Network: pulumi.String("192.0.2.1/32"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() => 
{
    var exampleZeroTrustDnsLocation = new Cloudflare.ZeroTrustDnsLocation("example_zero_trust_dns_location", new()
    {
        AccountId = "699d98642c564d2e855e9661899b7252",
        Name = "Austin Office Location",
        ClientDefault = false,
        DnsDestinationIpsId = "0e4a32c6-6fb8-4858-9296-98f51631e8e6",
        EcsSupport = false,
        Endpoints = new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsArgs
        {
            Doh = new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsDohArgs
            {
                Enabled = true,
                Networks = new[]
                {
                    new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsDohNetworkArgs
                    {
                        Network = "2001:85a3::/64",
                    },
                },
                RequireToken = true,
            },
            Dot = new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsDotArgs
            {
                Enabled = true,
                Networks = new[]
                {
                    new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsDotNetworkArgs
                    {
                        Network = "2001:85a3::/64",
                    },
                },
            },
            Ipv4 = new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsIpv4Args
            {
                Enabled = true,
            },
            Ipv6 = new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsIpv6Args
            {
                Enabled = true,
                Networks = new[]
                {
                    new Cloudflare.Inputs.ZeroTrustDnsLocationEndpointsIpv6NetworkArgs
                    {
                        Network = "2001:85a3::/64",
                    },
                },
            },
        },
        Networks = new[]
        {
            new Cloudflare.Inputs.ZeroTrustDnsLocationNetworkArgs
            {
                Network = "192.0.2.1/32",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustDnsLocation;
import com.pulumi.cloudflare.ZeroTrustDnsLocationArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDnsLocationEndpointsArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDnsLocationEndpointsDohArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDnsLocationEndpointsDotArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDnsLocationEndpointsIpv4Args;
import com.pulumi.cloudflare.inputs.ZeroTrustDnsLocationEndpointsIpv6Args;
import com.pulumi.cloudflare.inputs.ZeroTrustDnsLocationNetworkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var exampleZeroTrustDnsLocation = new ZeroTrustDnsLocation("exampleZeroTrustDnsLocation", ZeroTrustDnsLocationArgs.builder()
            .accountId("699d98642c564d2e855e9661899b7252")
            .name("Austin Office Location")
            .clientDefault(false)
            .dnsDestinationIpsId("0e4a32c6-6fb8-4858-9296-98f51631e8e6")
            .ecsSupport(false)
            .endpoints(ZeroTrustDnsLocationEndpointsArgs.builder()
                .doh(ZeroTrustDnsLocationEndpointsDohArgs.builder()
                    .enabled(true)
                    .networks(ZeroTrustDnsLocationEndpointsDohNetworkArgs.builder()
                        .network("2001:85a3::/64")
                        .build())
                    .requireToken(true)
                    .build())
                .dot(ZeroTrustDnsLocationEndpointsDotArgs.builder()
                    .enabled(true)
                    .networks(ZeroTrustDnsLocationEndpointsDotNetworkArgs.builder()
                        .network("2001:85a3::/64")
                        .build())
                    .build())
                .ipv4(ZeroTrustDnsLocationEndpointsIpv4Args.builder()
                    .enabled(true)
                    .build())
                .ipv6(ZeroTrustDnsLocationEndpointsIpv6Args.builder()
                    .enabled(true)
                    .networks(ZeroTrustDnsLocationEndpointsIpv6NetworkArgs.builder()
                        .network("2001:85a3::/64")
                        .build())
                    .build())
                .build())
            .networks(ZeroTrustDnsLocationNetworkArgs.builder()
                .network("192.0.2.1/32")
                .build())
            .build());
    }
}
resources:
  exampleZeroTrustDnsLocation:
    type: cloudflare:ZeroTrustDnsLocation
    name: example_zero_trust_dns_location
    properties:
      accountId: 699d98642c564d2e855e9661899b7252
      name: Austin Office Location
      clientDefault: false
      dnsDestinationIpsId: 0e4a32c6-6fb8-4858-9296-98f51631e8e6
      ecsSupport: false
      endpoints:
        doh:
          enabled: true
          networks:
            - network: 2001:85a3::/64
          requireToken: true
        dot:
          enabled: true
          networks:
            - network: 2001:85a3::/64
        ipv4:
          enabled: true
        ipv6:
          enabled: true
          networks:
            - network: 2001:85a3::/64
      networks:
        - network: 192.0.2.1/32
Create TeamsLocation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeamsLocation(name: string, args: TeamsLocationArgs, opts?: CustomResourceOptions);@overload
def TeamsLocation(resource_name: str,
                  args: TeamsLocationArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def TeamsLocation(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  account_id: Optional[str] = None,
                  client_default: Optional[bool] = None,
                  dns_destination_ips_id: Optional[str] = None,
                  ecs_support: Optional[bool] = None,
                  endpoints: Optional[TeamsLocationEndpointsArgs] = None,
                  name: Optional[str] = None,
                  networks: Optional[Sequence[TeamsLocationNetworkArgs]] = None)func NewTeamsLocation(ctx *Context, name string, args TeamsLocationArgs, opts ...ResourceOption) (*TeamsLocation, error)public TeamsLocation(string name, TeamsLocationArgs args, CustomResourceOptions? opts = null)
public TeamsLocation(String name, TeamsLocationArgs args)
public TeamsLocation(String name, TeamsLocationArgs args, CustomResourceOptions options)
type: cloudflare:TeamsLocation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TeamsLocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TeamsLocationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TeamsLocationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamsLocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamsLocationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TeamsLocation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeamsLocation resource accepts the following input properties:
- AccountId string
- Name string
- Specify the location name.
- ClientDefault bool
- Indicate whether this location is the default location.
- DnsDestination stringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- EcsSupport bool
- Indicate whether the location must resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints 
- Configure the destination endpoints for this location.
- Networks
List<TeamsLocation Network> 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- AccountId string
- Name string
- Specify the location name.
- ClientDefault bool
- Indicate whether this location is the default location.
- DnsDestination stringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- EcsSupport bool
- Indicate whether the location must resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints Args 
- Configure the destination endpoints for this location.
- Networks
[]TeamsLocation Network Args 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- accountId String
- name String
- Specify the location name.
- clientDefault Boolean
- Indicate whether this location is the default location.
- dnsDestination StringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- ecsSupport Boolean
- Indicate whether the location must resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- Configure the destination endpoints for this location.
- networks
List<TeamsLocation Network> 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- accountId string
- name string
- Specify the location name.
- clientDefault boolean
- Indicate whether this location is the default location.
- dnsDestination stringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- ecsSupport boolean
- Indicate whether the location must resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- Configure the destination endpoints for this location.
- networks
TeamsLocation Network[] 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- account_id str
- name str
- Specify the location name.
- client_default bool
- Indicate whether this location is the default location.
- dns_destination_ strips_ id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- ecs_support bool
- Indicate whether the location must resolve EDNS queries.
- endpoints
TeamsLocation Endpoints Args 
- Configure the destination endpoints for this location.
- networks
Sequence[TeamsLocation Network Args] 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- accountId String
- name String
- Specify the location name.
- clientDefault Boolean
- Indicate whether this location is the default location.
- dnsDestination StringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- ecsSupport Boolean
- Indicate whether the location must resolve EDNS queries.
- endpoints Property Map
- Configure the destination endpoints for this location.
- networks List<Property Map>
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeamsLocation resource produces the following output properties:
- CreatedAt string
- DnsDestination stringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- DohSubdomain string
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- Ipv4Destination string
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- Ipv4DestinationBackup string
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- UpdatedAt string
- CreatedAt string
- DnsDestination stringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- DohSubdomain string
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- Ipv4Destination string
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- Ipv4DestinationBackup string
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- UpdatedAt string
- createdAt String
- dnsDestination StringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- dohSubdomain String
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4Destination String
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4DestinationBackup String
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- updatedAt String
- createdAt string
- dnsDestination stringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- dohSubdomain string
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- id string
- The provider-assigned unique ID for this managed resource.
- ip string
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4Destination string
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4DestinationBackup string
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- updatedAt string
- created_at str
- dns_destination_ stripv6_ block_ id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- doh_subdomain str
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- id str
- The provider-assigned unique ID for this managed resource.
- ip str
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4_destination str
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4_destination_ strbackup 
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- updated_at str
- createdAt String
- dnsDestination StringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- dohSubdomain String
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4Destination String
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4DestinationBackup String
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- updatedAt String
Look up Existing TeamsLocation Resource
Get an existing TeamsLocation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TeamsLocationState, opts?: CustomResourceOptions): TeamsLocation@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        client_default: Optional[bool] = None,
        created_at: Optional[str] = None,
        dns_destination_ips_id: Optional[str] = None,
        dns_destination_ipv6_block_id: Optional[str] = None,
        doh_subdomain: Optional[str] = None,
        ecs_support: Optional[bool] = None,
        endpoints: Optional[TeamsLocationEndpointsArgs] = None,
        ip: Optional[str] = None,
        ipv4_destination: Optional[str] = None,
        ipv4_destination_backup: Optional[str] = None,
        name: Optional[str] = None,
        networks: Optional[Sequence[TeamsLocationNetworkArgs]] = None,
        updated_at: Optional[str] = None) -> TeamsLocationfunc GetTeamsLocation(ctx *Context, name string, id IDInput, state *TeamsLocationState, opts ...ResourceOption) (*TeamsLocation, error)public static TeamsLocation Get(string name, Input<string> id, TeamsLocationState? state, CustomResourceOptions? opts = null)public static TeamsLocation get(String name, Output<String> id, TeamsLocationState state, CustomResourceOptions options)resources:  _:    type: cloudflare:TeamsLocation    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AccountId string
- ClientDefault bool
- Indicate whether this location is the default location.
- CreatedAt string
- DnsDestination stringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- DnsDestination stringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- DohSubdomain string
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- EcsSupport bool
- Indicate whether the location must resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints 
- Configure the destination endpoints for this location.
- Ip string
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- Ipv4Destination string
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- Ipv4DestinationBackup string
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- Name string
- Specify the location name.
- Networks
List<TeamsLocation Network> 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- UpdatedAt string
- AccountId string
- ClientDefault bool
- Indicate whether this location is the default location.
- CreatedAt string
- DnsDestination stringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- DnsDestination stringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- DohSubdomain string
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- EcsSupport bool
- Indicate whether the location must resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints Args 
- Configure the destination endpoints for this location.
- Ip string
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- Ipv4Destination string
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- Ipv4DestinationBackup string
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- Name string
- Specify the location name.
- Networks
[]TeamsLocation Network Args 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- UpdatedAt string
- accountId String
- clientDefault Boolean
- Indicate whether this location is the default location.
- createdAt String
- dnsDestination StringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- dnsDestination StringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- dohSubdomain String
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- ecsSupport Boolean
- Indicate whether the location must resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- Configure the destination endpoints for this location.
- ip String
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4Destination String
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4DestinationBackup String
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- name String
- Specify the location name.
- networks
List<TeamsLocation Network> 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- updatedAt String
- accountId string
- clientDefault boolean
- Indicate whether this location is the default location.
- createdAt string
- dnsDestination stringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- dnsDestination stringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- dohSubdomain string
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- ecsSupport boolean
- Indicate whether the location must resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- Configure the destination endpoints for this location.
- ip string
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4Destination string
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4DestinationBackup string
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- name string
- Specify the location name.
- networks
TeamsLocation Network[] 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- updatedAt string
- account_id str
- client_default bool
- Indicate whether this location is the default location.
- created_at str
- dns_destination_ strips_ id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- dns_destination_ stripv6_ block_ id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- doh_subdomain str
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- ecs_support bool
- Indicate whether the location must resolve EDNS queries.
- endpoints
TeamsLocation Endpoints Args 
- Configure the destination endpoints for this location.
- ip str
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4_destination str
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4_destination_ strbackup 
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- name str
- Specify the location name.
- networks
Sequence[TeamsLocation Network Args] 
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- updated_at str
- accountId String
- clientDefault Boolean
- Indicate whether this location is the default location.
- createdAt String
- dnsDestination StringIps Id 
- Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.
- dnsDestination StringIpv6Block Id 
- Specify the UUID of the IPv6 block brought to the gateway so that this location's IPv6 address is allocated from the Bring Your Own IPv6 (BYOIPv6) block rather than the standard Cloudflare IPv6 block.
- dohSubdomain String
- Specify the DNS over HTTPS domain that receives DNS requests. Gateway automatically generates this value.
- ecsSupport Boolean
- Indicate whether the location must resolve EDNS queries.
- endpoints Property Map
- Configure the destination endpoints for this location.
- ip String
- Defines the automatically generated IPv6 destination IP assigned to this location. Gateway counts all DNS requests sent to this IP as requests under this location.
- ipv4Destination String
- Show the primary destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- ipv4DestinationBackup String
- Show the backup destination IPv4 address from the pair identified dnsdestinationips_id. This field read-only.
- name String
- Specify the location name.
- networks List<Property Map>
- Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.
- updatedAt String
Supporting Types
TeamsLocationEndpoints, TeamsLocationEndpointsArgs      
TeamsLocationEndpointsDoh, TeamsLocationEndpointsDohArgs        
- Enabled bool
- Indicate whether the DOH endpoint is enabled for this location.
- Networks
List<TeamsLocation Endpoints Doh Network> 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- RequireToken bool
- Specify whether the DOH endpoint requires user identity authentication.
- Enabled bool
- Indicate whether the DOH endpoint is enabled for this location.
- Networks
[]TeamsLocation Endpoints Doh Network 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- RequireToken bool
- Specify whether the DOH endpoint requires user identity authentication.
- enabled Boolean
- Indicate whether the DOH endpoint is enabled for this location.
- networks
List<TeamsLocation Endpoints Doh Network> 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- requireToken Boolean
- Specify whether the DOH endpoint requires user identity authentication.
- enabled boolean
- Indicate whether the DOH endpoint is enabled for this location.
- networks
TeamsLocation Endpoints Doh Network[] 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- requireToken boolean
- Specify whether the DOH endpoint requires user identity authentication.
- enabled bool
- Indicate whether the DOH endpoint is enabled for this location.
- networks
Sequence[TeamsLocation Endpoints Doh Network] 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- require_token bool
- Specify whether the DOH endpoint requires user identity authentication.
- enabled Boolean
- Indicate whether the DOH endpoint is enabled for this location.
- networks List<Property Map>
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- requireToken Boolean
- Specify whether the DOH endpoint requires user identity authentication.
TeamsLocationEndpointsDohNetwork, TeamsLocationEndpointsDohNetworkArgs          
- Network string
- Specify the IP address or IP CIDR.
- Network string
- Specify the IP address or IP CIDR.
- network String
- Specify the IP address or IP CIDR.
- network string
- Specify the IP address or IP CIDR.
- network str
- Specify the IP address or IP CIDR.
- network String
- Specify the IP address or IP CIDR.
TeamsLocationEndpointsDot, TeamsLocationEndpointsDotArgs        
- Enabled bool
- Indicate whether the DOT endpoint is enabled for this location.
- Networks
List<TeamsLocation Endpoints Dot Network> 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- Enabled bool
- Indicate whether the DOT endpoint is enabled for this location.
- Networks
[]TeamsLocation Endpoints Dot Network 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled Boolean
- Indicate whether the DOT endpoint is enabled for this location.
- networks
List<TeamsLocation Endpoints Dot Network> 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled boolean
- Indicate whether the DOT endpoint is enabled for this location.
- networks
TeamsLocation Endpoints Dot Network[] 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled bool
- Indicate whether the DOT endpoint is enabled for this location.
- networks
Sequence[TeamsLocation Endpoints Dot Network] 
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled Boolean
- Indicate whether the DOT endpoint is enabled for this location.
- networks List<Property Map>
- Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
TeamsLocationEndpointsDotNetwork, TeamsLocationEndpointsDotNetworkArgs          
- Network string
- Specify the IP address or IP CIDR.
- Network string
- Specify the IP address or IP CIDR.
- network String
- Specify the IP address or IP CIDR.
- network string
- Specify the IP address or IP CIDR.
- network str
- Specify the IP address or IP CIDR.
- network String
- Specify the IP address or IP CIDR.
TeamsLocationEndpointsIpv4, TeamsLocationEndpointsIpv4Args        
- Enabled bool
- Indicate whether the IPv4 endpoint is enabled for this location.
- Enabled bool
- Indicate whether the IPv4 endpoint is enabled for this location.
- enabled Boolean
- Indicate whether the IPv4 endpoint is enabled for this location.
- enabled boolean
- Indicate whether the IPv4 endpoint is enabled for this location.
- enabled bool
- Indicate whether the IPv4 endpoint is enabled for this location.
- enabled Boolean
- Indicate whether the IPv4 endpoint is enabled for this location.
TeamsLocationEndpointsIpv6, TeamsLocationEndpointsIpv6Args        
- Enabled bool
- Indicate whether the IPV6 endpoint is enabled for this location.
- Networks
List<TeamsLocation Endpoints Ipv6Network> 
- Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- Enabled bool
- Indicate whether the IPV6 endpoint is enabled for this location.
- Networks
[]TeamsLocation Endpoints Ipv6Network 
- Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled Boolean
- Indicate whether the IPV6 endpoint is enabled for this location.
- networks
List<TeamsLocation Endpoints Ipv6Network> 
- Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled boolean
- Indicate whether the IPV6 endpoint is enabled for this location.
- networks
TeamsLocation Endpoints Ipv6Network[] 
- Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled bool
- Indicate whether the IPV6 endpoint is enabled for this location.
- networks
Sequence[TeamsLocation Endpoints Ipv6Network] 
- Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
- enabled Boolean
- Indicate whether the IPV6 endpoint is enabled for this location.
- networks List<Property Map>
- Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
TeamsLocationEndpointsIpv6Network, TeamsLocationEndpointsIpv6NetworkArgs        
- Network string
- Specify the IPv6 address or IPv6 CIDR.
- Network string
- Specify the IPv6 address or IPv6 CIDR.
- network String
- Specify the IPv6 address or IPv6 CIDR.
- network string
- Specify the IPv6 address or IPv6 CIDR.
- network str
- Specify the IPv6 address or IPv6 CIDR.
- network String
- Specify the IPv6 address or IPv6 CIDR.
TeamsLocationNetwork, TeamsLocationNetworkArgs      
- Network string
- Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
- Network string
- Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
- network String
- Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
- network string
- Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
- network str
- Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
- network String
- Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
Import
$ pulumi import cloudflare:index/teamsLocation:TeamsLocation example '<account_id>/<location_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudflareTerraform Provider.
