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:
- Account
Id string - Name string
- The name of the location.
- Client
Default bool - True if the location is the default location.
- Dns
Destination 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.
- Ecs
Support bool - True if the location needs to resolve EDNS queries.
- Endpoints
Teams
Location 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<Teams
Location 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 string - Name string
- The name of the location.
- Client
Default bool - True if the location is the default location.
- Dns
Destination 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.
- Ecs
Support bool - True if the location needs to resolve EDNS queries.
- Endpoints
Teams
Location 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
[]Teams
Location 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.
- account
Id String - name String
- The name of the location.
- client
Default Boolean - True if the location is the default location.
- dns
Destination 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.
- ecs
Support Boolean - True if the location needs to resolve EDNS queries.
- endpoints
Teams
Location 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<Teams
Location 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 string - name string
- The name of the location.
- client
Default boolean - True if the location is the default location.
- dns
Destination 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.
- ecs
Support boolean - True if the location needs to resolve EDNS queries.
- endpoints
Teams
Location 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
Teams
Location 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
Teams
Location 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[Teams
Location 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.
- account
Id String - name String
- The name of the location.
- client
Default Boolean - True if the location is the default location.
- dns
Destination 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.
- ecs
Support 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:
- Created
At string - Dns
Destination 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.
- Doh
Subdomain 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.
- Ipv4Destination
Backup string - The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Updated
At string
- Created
At string - Dns
Destination 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.
- Doh
Subdomain 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.
- Ipv4Destination
Backup string - The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- Updated
At string
- created
At String - dns
Destination 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.
- doh
Subdomain 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.
- ipv4Destination
Backup String - The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- updated
At String
- created
At string - dns
Destination 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.
- doh
Subdomain 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.
- ipv4Destination
Backup string - The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- updated
At 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
- created
At String - dns
Destination 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.
- doh
Subdomain 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.
- ipv4Destination
Backup String - The backup destination IPv4 address from the pair identified by the dnsdestinationips_id. This field is read-only.
- updated
At 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
- 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.
- Account
Id string - Client
Default bool - True if the location is the default location.
- Created
At string - Dns
Destination 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.
- Dns
Destination 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.
- Doh
Subdomain string - 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
Teams
Location 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.
- Ipv4Destination
Backup 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<Teams
Location 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.
- Updated
At string
- Account
Id string - Client
Default bool - True if the location is the default location.
- Created
At string - Dns
Destination 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.
- Dns
Destination 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.
- Doh
Subdomain string - 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
Teams
Location 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.
- Ipv4Destination
Backup 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
[]Teams
Location 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 string
- account
Id String - client
Default Boolean - True if the location is the default location.
- created
At String - dns
Destination 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.
- dns
Destination 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.
- doh
Subdomain String - The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- ecs
Support Boolean - True if the location needs to resolve EDNS queries.
- endpoints
Teams
Location 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.
- ipv4Destination
Backup 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<Teams
Location 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.
- updated
At String
- account
Id string - client
Default boolean - True if the location is the default location.
- created
At string - dns
Destination 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.
- dns
Destination 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.
- doh
Subdomain string - The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- ecs
Support boolean - True if the location needs to resolve EDNS queries.
- endpoints
Teams
Location 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.
- ipv4Destination
Backup 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
Teams
Location 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.
- updated
At 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
Teams
Location 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[Teams
Location 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
- account
Id String - client
Default Boolean - True if the location is the default location.
- created
At String - dns
Destination 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.
- dns
Destination 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.
- doh
Subdomain String - The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway.
- ecs
Support 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.
- ipv4Destination
Backup 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.
- updated
At String
Supporting Types
TeamsLocationEndpoints, TeamsLocationEndpointsArgs
TeamsLocationEndpointsDoh, TeamsLocationEndpointsDohArgs
- Enabled bool
- True if the endpoint is enabled for this location.
- Networks
List<Teams
Location 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 bool
- True if the endpoint is enabled for this location.
- Networks
[]Teams
Location 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<Teams
Location 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 Boolean - True if the endpoint requires user identity authentication.
- enabled boolean
- True if the endpoint is enabled for this location.
- networks
Teams
Location 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 boolean - True if the endpoint requires user identity authentication.
- enabled bool
- True if the endpoint is enabled for this location.
- networks
Sequence[Teams
Location 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.
- require
Token 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<Teams
Location 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
[]Teams
Location 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<Teams
Location 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
Teams
Location 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[Teams
Location 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<Teams
Location 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
[]Teams
Location 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<Teams
Location 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
Teams
Location 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[Teams
Location 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
cloudflare
Terraform Provider.