1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. TeamsLocation
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.TeamsLocation

Explore with Pulumi AI

Deprecated: cloudflare.index/teamslocation.TeamsLocation has been deprecated in favor of cloudflare.index/zerotrustdnslocation.ZeroTrustDnsLocation

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",
    }],
});
Copy
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",
    }])
Copy
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
	})
}
Copy
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",
            },
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. TeamsLocationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. TeamsLocationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TeamsLocationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. string
Name This property is required. string
The name of the location.
ClientDefault bool
True if the location is the default location.
DnsDestinationIpsId string
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 TeamsLocationEndpoints
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<TeamsLocationNetwork>
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 This property is required. string
Name This property is required. string
The name of the location.
ClientDefault bool
True if the location is the default location.
DnsDestinationIpsId string
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 TeamsLocationEndpointsArgs
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 []TeamsLocationNetworkArgs
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 This property is required. String
name This property is required. String
The name of the location.
clientDefault Boolean
True if the location is the default location.
dnsDestinationIpsId String
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 TeamsLocationEndpoints
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<TeamsLocationNetwork>
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 This property is required. string
name This property is required. string
The name of the location.
clientDefault boolean
True if the location is the default location.
dnsDestinationIpsId string
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 TeamsLocationEndpoints
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 TeamsLocationNetwork[]
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 This property is required. str
name This property is required. str
The name of the location.
client_default bool
True if the location is the default location.
dns_destination_ips_id str
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 TeamsLocationEndpointsArgs
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[TeamsLocationNetworkArgs]
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 This property is required. String
name This property is required. String
The name of the location.
clientDefault Boolean
True if the location is the default location.
dnsDestinationIpsId String
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
DnsDestinationIpv6BlockId string
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
DnsDestinationIpv6BlockId string
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
dnsDestinationIpv6BlockId String
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
dnsDestinationIpv6BlockId string
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_ipv6_block_id str
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_backup str
The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
updated_at str
createdAt String
dnsDestinationIpv6BlockId String
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) -> TeamsLocation
func 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AccountId string
ClientDefault bool
True if the location is the default location.
CreatedAt string
DnsDestinationIpsId string
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.
DnsDestinationIpv6BlockId string
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 TeamsLocationEndpoints
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<TeamsLocationNetwork>
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
DnsDestinationIpsId string
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.
DnsDestinationIpv6BlockId string
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 TeamsLocationEndpointsArgs
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 []TeamsLocationNetworkArgs
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
dnsDestinationIpsId String
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.
dnsDestinationIpv6BlockId String
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 TeamsLocationEndpoints
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<TeamsLocationNetwork>
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
dnsDestinationIpsId string
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.
dnsDestinationIpv6BlockId string
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 TeamsLocationEndpoints
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 TeamsLocationNetwork[]
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_ips_id str
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_ipv6_block_id str
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 TeamsLocationEndpointsArgs
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_backup str
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[TeamsLocationNetworkArgs]
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
dnsDestinationIpsId String
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.
dnsDestinationIpv6BlockId String
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<TeamsLocationEndpointsDohNetwork>
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 []TeamsLocationEndpointsDohNetwork
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<TeamsLocationEndpointsDohNetwork>
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 TeamsLocationEndpointsDohNetwork[]
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[TeamsLocationEndpointsDohNetwork]
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 This property is required. string
The IP address or IP CIDR.
Network This property is required. string
The IP address or IP CIDR.
network This property is required. String
The IP address or IP CIDR.
network This property is required. string
The IP address or IP CIDR.
network This property is required. str
The IP address or IP CIDR.
network This property is required. String
The IP address or IP CIDR.

TeamsLocationEndpointsDot
, TeamsLocationEndpointsDotArgs

Enabled bool
True if the endpoint is enabled for this location.
Networks List<TeamsLocationEndpointsDotNetwork>
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 []TeamsLocationEndpointsDotNetwork
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<TeamsLocationEndpointsDotNetwork>
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 TeamsLocationEndpointsDotNetwork[]
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[TeamsLocationEndpointsDotNetwork]
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 This property is required. string
The IP address or IP CIDR.
Network This property is required. string
The IP address or IP CIDR.
network This property is required. String
The IP address or IP CIDR.
network This property is required. string
The IP address or IP CIDR.
network This property is required. str
The IP address or IP CIDR.
network This property is required. 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<TeamsLocationEndpointsIpv6Network>
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 []TeamsLocationEndpointsIpv6Network
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<TeamsLocationEndpointsIpv6Network>
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 TeamsLocationEndpointsIpv6Network[]
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[TeamsLocationEndpointsIpv6Network]
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 This property is required. string
The IPv6 address or IPv6 CIDR.
Network This property is required. string
The IPv6 address or IPv6 CIDR.
network This property is required. String
The IPv6 address or IPv6 CIDR.
network This property is required. string
The IPv6 address or IPv6 CIDR.
network This property is required. str
The IPv6 address or IPv6 CIDR.
network This property is required. String
The IPv6 address or IPv6 CIDR.

TeamsLocationNetwork
, TeamsLocationNetworkArgs

Network This property is required. string
The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
Network This property is required. string
The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
network This property is required. String
The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
network This property is required. string
The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
network This property is required. str
The IPv4 address or IPv4 CIDR. IPv4 CIDRs are limited to a maximum of /24.
network This property is required. 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>'
Copy

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 cloudflare Terraform Provider.