cloudflare.TeamsLocation
Explore with Pulumi AI
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
- The name of the location.
- ClientDefault bool
- True if the location is the default location.
- DnsDestination stringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- EcsSupport bool
- True if the location needs to resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- Networks
List<TeamsLocation Network> 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- AccountId string
- Name string
- The name of the location.
- ClientDefault bool
- True if the location is the default location.
- DnsDestination stringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- EcsSupport bool
- True if the location needs to resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints Args 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- Networks
[]TeamsLocation Network Args 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- accountId String
- name String
- The name of the location.
- clientDefault Boolean
- True if the location is the default location.
- dnsDestination StringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- ecsSupport Boolean
- True if the location needs to resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- networks
List<TeamsLocation Network> 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- accountId string
- name string
- The name of the location.
- clientDefault boolean
- True if the location is the default location.
- dnsDestination stringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- ecsSupport boolean
- True if the location needs to resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- networks
TeamsLocation Network[] 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- account_id str
- name str
- The name of the location.
- client_default bool
- True if the location is the default location.
- dns_destination_ strips_ id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- ecs_support bool
- True if the location needs to resolve EDNS queries.
- endpoints
TeamsLocation Endpoints Args 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- networks
Sequence[TeamsLocation Network Args] 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- accountId String
- name String
- The name of the location.
- clientDefault Boolean
- True if the location is the default location.
- dnsDestination StringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- ecsSupport Boolean
- True if the location needs to resolve EDNS queries.
- endpoints Property Map
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- networks List<Property Map>
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if 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 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- DohSubdomain string
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- Ipv4Destination string
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Ipv4DestinationBackup string
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- UpdatedAt string
- CreatedAt string
- DnsDestination stringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- DohSubdomain string
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- Ipv4Destination string
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Ipv4DestinationBackup string
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- UpdatedAt string
- createdAt String
- dnsDestination StringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- dohSubdomain String
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4Destination String
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4DestinationBackup String
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- updatedAt String
- createdAt string
- dnsDestination stringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- dohSubdomain string
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- ip string
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4Destination string
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4DestinationBackup string
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- updatedAt string
- created_at str
- dns_destination_ stripv6_ block_ id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- doh_subdomain str
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- ip str
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4_destination str
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4_destination_ strbackup 
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- updated_at str
- createdAt String
- dnsDestination StringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- dohSubdomain String
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4Destination String
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4DestinationBackup String
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is 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
- True if the location is the default location.
- CreatedAt string
- DnsDestination stringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- DnsDestination stringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- DohSubdomain string
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- EcsSupport bool
- True if the location needs to resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- Ip string
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- Ipv4Destination string
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Ipv4DestinationBackup string
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Name string
- The name of the location.
- Networks
List<TeamsLocation Network> 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- UpdatedAt string
- AccountId string
- ClientDefault bool
- True if the location is the default location.
- CreatedAt string
- DnsDestination stringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- DnsDestination stringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- DohSubdomain string
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- EcsSupport bool
- True if the location needs to resolve EDNS queries.
- Endpoints
TeamsLocation Endpoints Args 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- Ip string
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- Ipv4Destination string
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Ipv4DestinationBackup string
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Name string
- The name of the location.
- Networks
[]TeamsLocation Network Args 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- UpdatedAt string
- accountId String
- clientDefault Boolean
- True if the location is the default location.
- createdAt String
- dnsDestination StringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- dnsDestination StringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- dohSubdomain String
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- ecsSupport Boolean
- True if the location needs to resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- ip String
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4Destination String
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4DestinationBackup String
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- name String
- The name of the location.
- networks
List<TeamsLocation Network> 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- updatedAt String
- accountId string
- clientDefault boolean
- True if the location is the default location.
- createdAt string
- dnsDestination stringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- dnsDestination stringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- dohSubdomain string
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- ecsSupport boolean
- True if the location needs to resolve EDNS queries.
- endpoints
TeamsLocation Endpoints 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- ip string
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4Destination string
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4DestinationBackup string
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- name string
- The name of the location.
- networks
TeamsLocation Network[] 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- updatedAt string
- account_id str
- client_default bool
- True if the location is the default location.
- created_at str
- dns_destination_ strips_ id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- dns_destination_ stripv6_ block_ id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- doh_subdomain str
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- ecs_support bool
- True if the location needs to resolve EDNS queries.
- endpoints
TeamsLocation Endpoints Args 
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- ip str
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4_destination str
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4_destination_ strbackup 
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- name str
- The name of the location.
- networks
Sequence[TeamsLocation Network Args] 
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- updated_at str
- accountId String
- clientDefault Boolean
- True if the location is the default location.
- createdAt String
- dnsDestination StringIps Id 
- The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged.
- dnsDestination StringIpv6Block Id 
- The uuid identifier 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 and not from the standard CloudFlare IPv6 block.
- dohSubdomain String
- The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- ecsSupport Boolean
- True if the location needs to resolve EDNS queries.
- endpoints Property Map
- The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged.
- ip String
- IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway.
- ipv4Destination String
- The primary destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- ipv4DestinationBackup String
- The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- name String
- The name of the location.
- networks List<Property Map>
- A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location.
- updatedAt String
Supporting Types
TeamsLocationEndpoints, TeamsLocationEndpointsArgs      
TeamsLocationEndpointsDoh, TeamsLocationEndpointsDohArgs        
- Enabled bool
- True if the endpoint is enabled for this location.
- Networks
List<TeamsLocation Endpoints Doh Network> 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- RequireToken bool
- True if the endpoint requires user identity authentication.
- Enabled bool
- True if the endpoint is enabled for this location.
- Networks
[]TeamsLocation Endpoints Doh Network 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- RequireToken bool
- True if the endpoint requires user identity authentication.
- enabled Boolean
- True if the endpoint is enabled for this location.
- networks
List<TeamsLocation Endpoints Doh Network> 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- requireToken Boolean
- True if the endpoint requires user identity authentication.
- enabled boolean
- True if the endpoint is enabled for this location.
- networks
TeamsLocation Endpoints Doh Network[] 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- requireToken boolean
- True if the endpoint requires user identity authentication.
- enabled bool
- True if the endpoint is enabled for this location.
- networks
Sequence[TeamsLocation Endpoints Doh Network] 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- require_token bool
- True if the endpoint requires user identity authentication.
- enabled Boolean
- True if the endpoint is enabled for this location.
- networks List<Property Map>
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- requireToken Boolean
- True if the endpoint requires user identity authentication.
TeamsLocationEndpointsDohNetwork, TeamsLocationEndpointsDohNetworkArgs          
- Network string
- The IP address or IP CIDR.
- Network string
- The IP address or IP CIDR.
- network String
- The IP address or IP CIDR.
- network string
- The IP address or IP CIDR.
- network str
- The IP address or IP CIDR.
- network String
- The IP address or IP CIDR.
TeamsLocationEndpointsDot, TeamsLocationEndpointsDotArgs        
- Enabled bool
- True if the endpoint is enabled for this location.
- Networks
List<TeamsLocation Endpoints Dot Network> 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- Enabled bool
- True if the endpoint is enabled for this location.
- Networks
[]TeamsLocation Endpoints Dot Network 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled Boolean
- True if the endpoint is enabled for this location.
- networks
List<TeamsLocation Endpoints Dot Network> 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled boolean
- True if the endpoint is enabled for this location.
- networks
TeamsLocation Endpoints Dot Network[] 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled bool
- True if the endpoint is enabled for this location.
- networks
Sequence[TeamsLocation Endpoints Dot Network] 
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled Boolean
- True if the endpoint is enabled for this location.
- networks List<Property Map>
- A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
TeamsLocationEndpointsDotNetwork, TeamsLocationEndpointsDotNetworkArgs          
- Network string
- The IP address or IP CIDR.
- Network string
- The IP address or IP CIDR.
- network String
- The IP address or IP CIDR.
- network string
- The IP address or IP CIDR.
- network str
- The IP address or IP CIDR.
- network String
- The IP address or IP CIDR.
TeamsLocationEndpointsIpv4, TeamsLocationEndpointsIpv4Args        
- Enabled bool
- True if the endpoint is enabled for this location.
- Enabled bool
- True if the endpoint is enabled for this location.
- enabled Boolean
- True if the endpoint is enabled for this location.
- enabled boolean
- True if the endpoint is enabled for this location.
- enabled bool
- True if the endpoint is enabled for this location.
- enabled Boolean
- True if the endpoint is enabled for this location.
TeamsLocationEndpointsIpv6, TeamsLocationEndpointsIpv6Args        
- Enabled bool
- True if the endpoint is enabled for this location.
- Networks
List<TeamsLocation Endpoints Ipv6Network> 
- A list of allowed source IPv6 network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- Enabled bool
- True if the endpoint is enabled for this location.
- Networks
[]TeamsLocation Endpoints Ipv6Network 
- A list of allowed source IPv6 network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled Boolean
- True if the endpoint is enabled for this location.
- networks
List<TeamsLocation Endpoints Ipv6Network> 
- A list of allowed source IPv6 network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled boolean
- True if the endpoint is enabled for this location.
- networks
TeamsLocation Endpoints Ipv6Network[] 
- A list of allowed source IPv6 network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled bool
- True if the endpoint is enabled for this location.
- networks
Sequence[TeamsLocation Endpoints Ipv6Network] 
- A list of allowed source IPv6 network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
- enabled Boolean
- True if the endpoint is enabled for this location.
- networks List<Property Map>
- A list of allowed source IPv6 network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if the endpoint is enabled for this location.
TeamsLocationEndpointsIpv6Network, TeamsLocationEndpointsIpv6NetworkArgs        
- Network string
- The IPv6 address or IPv6 CIDR.
- Network string
- The IPv6 address or IPv6 CIDR.
- network String
- The IPv6 address or IPv6 CIDR.
- network string
- The IPv6 address or IPv6 CIDR.
- network str
- The IPv6 address or IPv6 CIDR.
- network String
- The IPv6 address or IPv6 CIDR.
TeamsLocationNetwork, TeamsLocationNetworkArgs      
- Network string
- The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
- Network string
- The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
- network String
- The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
- network string
- The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
- network str
- The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
- network String
- The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited 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.