1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZeroTrustLocalFallbackDomain
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.ZeroTrustLocalFallbackDomain

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
    Deprecated: cloudflare.index/zerotrustlocalfallbackdomain.ZeroTrustLocalFallbackDomain has been deprecated in favor of cloudflare.index/zerotrustdevicecustomprofilelocaldomainfallback.ZeroTrustDeviceCustomProfileLocalDomainFallback

    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
    

    Create ZeroTrustLocalFallbackDomain Resource

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

    Constructor syntax

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

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZeroTrustLocalFallbackDomain 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 ZeroTrustLocalFallbackDomain Resource

    Get an existing ZeroTrustLocalFallbackDomain 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?: ZeroTrustLocalFallbackDomainState, opts?: CustomResourceOptions): ZeroTrustLocalFallbackDomain
    @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[ZeroTrustLocalFallbackDomainDomainArgs]] = None,
            policy_id: Optional[str] = None,
            suffix: Optional[str] = None) -> ZeroTrustLocalFallbackDomain
    func GetZeroTrustLocalFallbackDomain(ctx *Context, name string, id IDInput, state *ZeroTrustLocalFallbackDomainState, opts ...ResourceOption) (*ZeroTrustLocalFallbackDomain, error)
    public static ZeroTrustLocalFallbackDomain Get(string name, Input<string> id, ZeroTrustLocalFallbackDomainState? state, CustomResourceOptions? opts = null)
    public static ZeroTrustLocalFallbackDomain get(String name, Output<String> id, ZeroTrustLocalFallbackDomainState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:ZeroTrustLocalFallbackDomain    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.
    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<ZeroTrustLocalFallbackDomainDomain>
    PolicyId string
    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 []ZeroTrustLocalFallbackDomainDomainArgs
    PolicyId string
    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<ZeroTrustLocalFallbackDomainDomain>
    policyId String
    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 ZeroTrustLocalFallbackDomainDomain[]
    policyId string
    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[ZeroTrustLocalFallbackDomainDomainArgs]
    policy_id str
    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
    suffix String
    The domain suffix to match when resolving locally.

    Supporting Types

    ZeroTrustLocalFallbackDomainDomain, ZeroTrustLocalFallbackDomainDomainArgs

    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.
    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.
    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.
    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.
    suffix 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 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/zeroTrustLocalFallbackDomain:ZeroTrustLocalFallbackDomain example '<account_id>/<policy_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.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi