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

cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback

Explore with Pulumi AI

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  exampleZeroTrustDeviceCustomProfileLocalDomainFallback:
    type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback
    name: example_zero_trust_device_custom_profile_local_domain_fallback
    properties:
      accountId: 699d98642c564d2e855e9661899b7252
      policyId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
      domains:
        - suffix: example.com
          description: Domain bypass for local development
          dns_server:
            - 1.1.1.1
Copy

Create ZeroTrustDeviceCustomProfileLocalDomainFallback Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ZeroTrustDeviceCustomProfileLocalDomainFallback(name: string, args: ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustDeviceCustomProfileLocalDomainFallback(resource_name: str,
                                                    args: ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs,
                                                    opts: Optional[ResourceOptions] = None)

@overload
def ZeroTrustDeviceCustomProfileLocalDomainFallback(resource_name: str,
                                                    opts: Optional[ResourceOptions] = None,
                                                    account_id: Optional[str] = None,
                                                    domains: Optional[Sequence[ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs]] = None,
                                                    policy_id: Optional[str] = None)
func NewZeroTrustDeviceCustomProfileLocalDomainFallback(ctx *Context, name string, args ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs, opts ...ResourceOption) (*ZeroTrustDeviceCustomProfileLocalDomainFallback, error)
public ZeroTrustDeviceCustomProfileLocalDomainFallback(string name, ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDeviceCustomProfileLocalDomainFallback(String name, ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args)
public ZeroTrustDeviceCustomProfileLocalDomainFallback(String name, ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback
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. ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
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. ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
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. ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
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. ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
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. ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var zeroTrustDeviceCustomProfileLocalDomainFallbackResource = new Cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource", new()
{
    AccountId = "string",
    Domains = new[]
    {
        new Cloudflare.Inputs.ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs
        {
            Suffix = "string",
            Description = "string",
            DnsServers = new[]
            {
                "string",
            },
        },
    },
    PolicyId = "string",
});
Copy
example, err := cloudflare.NewZeroTrustDeviceCustomProfileLocalDomainFallback(ctx, "zeroTrustDeviceCustomProfileLocalDomainFallbackResource", &cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs{
	AccountId: pulumi.String("string"),
	Domains: cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArray{
		&cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs{
			Suffix:      pulumi.String("string"),
			Description: pulumi.String("string"),
			DnsServers: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	PolicyId: pulumi.String("string"),
})
Copy
var zeroTrustDeviceCustomProfileLocalDomainFallbackResource = new ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource", ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs.builder()
    .accountId("string")
    .domains(ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs.builder()
        .suffix("string")
        .description("string")
        .dnsServers("string")
        .build())
    .policyId("string")
    .build());
Copy
zero_trust_device_custom_profile_local_domain_fallback_resource = cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource",
    account_id="string",
    domains=[{
        "suffix": "string",
        "description": "string",
        "dns_servers": ["string"],
    }],
    policy_id="string")
Copy
const zeroTrustDeviceCustomProfileLocalDomainFallbackResource = new cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource", {
    accountId: "string",
    domains: [{
        suffix: "string",
        description: "string",
        dnsServers: ["string"],
    }],
    policyId: "string",
});
Copy
type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback
properties:
    accountId: string
    domains:
        - description: string
          dnsServers:
            - string
          suffix: string
    policyId: string
Copy

ZeroTrustDeviceCustomProfileLocalDomainFallback 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 ZeroTrustDeviceCustomProfileLocalDomainFallback resource accepts the following input properties:

AccountId This property is required. string
Domains This property is required. List<ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain>
PolicyId This property is required. string
Device ID.
AccountId This property is required. string
Domains This property is required. []ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs
PolicyId This property is required. string
Device ID.
accountId This property is required. String
domains This property is required. List<ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain>
policyId This property is required. String
Device ID.
accountId This property is required. string
domains This property is required. ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain[]
policyId This property is required. string
Device ID.
account_id This property is required. str
domains This property is required. Sequence[ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs]
policy_id This property is required. str
Device ID.
accountId This property is required. String
domains This property is required. List<Property Map>
policyId This property is required. String
Device ID.

Outputs

All input properties are implicitly available as output properties. Additionally, the ZeroTrustDeviceCustomProfileLocalDomainFallback resource produces the following output properties:

Description string
A description of the fallback domain, displayed in the client UI.
DnsServers List<string>
A list of IP addresses to handle domain resolution.
Id string
The provider-assigned unique ID for this managed resource.
Suffix string
The domain suffix to match when resolving locally.
Description string
A description of the fallback domain, displayed in the client UI.
DnsServers []string
A list of IP addresses to handle domain resolution.
Id string
The provider-assigned unique ID for this managed resource.
Suffix string
The domain suffix to match when resolving locally.
description String
A description of the fallback domain, displayed in the client UI.
dnsServers List<String>
A list of IP addresses to handle domain resolution.
id String
The provider-assigned unique ID for this managed resource.
suffix String
The domain suffix to match when resolving locally.
description string
A description of the fallback domain, displayed in the client UI.
dnsServers string[]
A list of IP addresses to handle domain resolution.
id string
The provider-assigned unique ID for this managed resource.
suffix string
The domain suffix to match when resolving locally.
description str
A description of the fallback domain, displayed in the client UI.
dns_servers Sequence[str]
A list of IP addresses to handle domain resolution.
id str
The provider-assigned unique ID for this managed resource.
suffix str
The domain suffix to match when resolving locally.
description String
A description of the fallback domain, displayed in the client UI.
dnsServers List<String>
A list of IP addresses to handle domain resolution.
id String
The provider-assigned unique ID for this managed resource.
suffix String
The domain suffix to match when resolving locally.

Look up Existing ZeroTrustDeviceCustomProfileLocalDomainFallback Resource

Get an existing ZeroTrustDeviceCustomProfileLocalDomainFallback 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?: ZeroTrustDeviceCustomProfileLocalDomainFallbackState, opts?: CustomResourceOptions): ZeroTrustDeviceCustomProfileLocalDomainFallback
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        description: Optional[str] = None,
        dns_servers: Optional[Sequence[str]] = None,
        domains: Optional[Sequence[ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs]] = None,
        policy_id: Optional[str] = None,
        suffix: Optional[str] = None) -> ZeroTrustDeviceCustomProfileLocalDomainFallback
func GetZeroTrustDeviceCustomProfileLocalDomainFallback(ctx *Context, name string, id IDInput, state *ZeroTrustDeviceCustomProfileLocalDomainFallbackState, opts ...ResourceOption) (*ZeroTrustDeviceCustomProfileLocalDomainFallback, error)
public static ZeroTrustDeviceCustomProfileLocalDomainFallback Get(string name, Input<string> id, ZeroTrustDeviceCustomProfileLocalDomainFallbackState? state, CustomResourceOptions? opts = null)
public static ZeroTrustDeviceCustomProfileLocalDomainFallback get(String name, Output<String> id, ZeroTrustDeviceCustomProfileLocalDomainFallbackState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback    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
Description string
A description of the fallback domain, displayed in the client UI.
DnsServers List<string>
A list of IP addresses to handle domain resolution.
Domains List<ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain>
PolicyId string
Device ID.
Suffix string
The domain suffix to match when resolving locally.
AccountId string
Description string
A description of the fallback domain, displayed in the client UI.
DnsServers []string
A list of IP addresses to handle domain resolution.
Domains []ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs
PolicyId string
Device ID.
Suffix string
The domain suffix to match when resolving locally.
accountId String
description String
A description of the fallback domain, displayed in the client UI.
dnsServers List<String>
A list of IP addresses to handle domain resolution.
domains List<ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain>
policyId String
Device ID.
suffix String
The domain suffix to match when resolving locally.
accountId string
description string
A description of the fallback domain, displayed in the client UI.
dnsServers string[]
A list of IP addresses to handle domain resolution.
domains ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain[]
policyId string
Device ID.
suffix string
The domain suffix to match when resolving locally.
account_id str
description str
A description of the fallback domain, displayed in the client UI.
dns_servers Sequence[str]
A list of IP addresses to handle domain resolution.
domains Sequence[ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs]
policy_id str
Device ID.
suffix str
The domain suffix to match when resolving locally.
accountId String
description String
A description of the fallback domain, displayed in the client UI.
dnsServers List<String>
A list of IP addresses to handle domain resolution.
domains List<Property Map>
policyId String
Device ID.
suffix String
The domain suffix to match when resolving locally.

Supporting Types

ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain
, ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs

Suffix This property is required. string
The domain suffix to match when resolving locally.
Description string
A description of the fallback domain, displayed in the client UI.
DnsServers List<string>
A list of IP addresses to handle domain resolution.
Suffix This property is required. string
The domain suffix to match when resolving locally.
Description string
A description of the fallback domain, displayed in the client UI.
DnsServers []string
A list of IP addresses to handle domain resolution.
suffix This property is required. String
The domain suffix to match when resolving locally.
description String
A description of the fallback domain, displayed in the client UI.
dnsServers List<String>
A list of IP addresses to handle domain resolution.
suffix This property is required. string
The domain suffix to match when resolving locally.
description string
A description of the fallback domain, displayed in the client UI.
dnsServers string[]
A list of IP addresses to handle domain resolution.
suffix This property is required. str
The domain suffix to match when resolving locally.
description str
A description of the fallback domain, displayed in the client UI.
dns_servers Sequence[str]
A list of IP addresses to handle domain resolution.
suffix This property is required. String
The domain suffix to match when resolving locally.
description String
A description of the fallback domain, displayed in the client UI.
dnsServers List<String>
A list of IP addresses to handle domain resolution.

Import

$ pulumi import cloudflare:index/zeroTrustDeviceCustomProfileLocalDomainFallback:ZeroTrustDeviceCustomProfileLocalDomainFallback example '<account_id>/<policy_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.