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

cloudflare.ZeroTrustDeviceDefaultProfileLocalDomainFallback

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      exampleZeroTrustDeviceDefaultProfileLocalDomainFallback:
        type: cloudflare:ZeroTrustDeviceDefaultProfileLocalDomainFallback
        name: example_zero_trust_device_default_profile_local_domain_fallback
        properties:
          accountId: 699d98642c564d2e855e9661899b7252
          domains:
            - suffix: example.com
              description: Domain bypass for local development
              dns_server:
                - 1.1.1.1
    

    Create ZeroTrustDeviceDefaultProfileLocalDomainFallback Resource

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

    Constructor syntax

    new ZeroTrustDeviceDefaultProfileLocalDomainFallback(name: string, args: ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs, opts?: CustomResourceOptions);
    @overload
    def ZeroTrustDeviceDefaultProfileLocalDomainFallback(resource_name: str,
                                                         args: ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs,
                                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZeroTrustDeviceDefaultProfileLocalDomainFallback(resource_name: str,
                                                         opts: Optional[ResourceOptions] = None,
                                                         account_id: Optional[str] = None,
                                                         domains: Optional[Sequence[ZeroTrustDeviceDefaultProfileLocalDomainFallbackDomainArgs]] = None)
    func NewZeroTrustDeviceDefaultProfileLocalDomainFallback(ctx *Context, name string, args ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs, opts ...ResourceOption) (*ZeroTrustDeviceDefaultProfileLocalDomainFallback, error)
    public ZeroTrustDeviceDefaultProfileLocalDomainFallback(string name, ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs args, CustomResourceOptions? opts = null)
    public ZeroTrustDeviceDefaultProfileLocalDomainFallback(String name, ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs args)
    public ZeroTrustDeviceDefaultProfileLocalDomainFallback(String name, ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs args, CustomResourceOptions options)
    
    type: cloudflare:ZeroTrustDeviceDefaultProfileLocalDomainFallback
    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 ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs
    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 ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs
    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 ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs
    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 zeroTrustDeviceDefaultProfileLocalDomainFallbackResource = new Cloudflare.ZeroTrustDeviceDefaultProfileLocalDomainFallback("zeroTrustDeviceDefaultProfileLocalDomainFallbackResource", new()
    {
        AccountId = "string",
        Domains = new[]
        {
            new Cloudflare.Inputs.ZeroTrustDeviceDefaultProfileLocalDomainFallbackDomainArgs
            {
                Suffix = "string",
                Description = "string",
                DnsServers = new[]
                {
                    "string",
                },
            },
        },
    });
    
    example, err := cloudflare.NewZeroTrustDeviceDefaultProfileLocalDomainFallback(ctx, "zeroTrustDeviceDefaultProfileLocalDomainFallbackResource", &cloudflare.ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs{
    	AccountId: pulumi.String("string"),
    	Domains: cloudflare.ZeroTrustDeviceDefaultProfileLocalDomainFallbackDomainArray{
    		&cloudflare.ZeroTrustDeviceDefaultProfileLocalDomainFallbackDomainArgs{
    			Suffix:      pulumi.String("string"),
    			Description: pulumi.String("string"),
    			DnsServers: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var zeroTrustDeviceDefaultProfileLocalDomainFallbackResource = new ZeroTrustDeviceDefaultProfileLocalDomainFallback("zeroTrustDeviceDefaultProfileLocalDomainFallbackResource", ZeroTrustDeviceDefaultProfileLocalDomainFallbackArgs.builder()
        .accountId("string")
        .domains(ZeroTrustDeviceDefaultProfileLocalDomainFallbackDomainArgs.builder()
            .suffix("string")
            .description("string")
            .dnsServers("string")
            .build())
        .build());
    
    zero_trust_device_default_profile_local_domain_fallback_resource = cloudflare.ZeroTrustDeviceDefaultProfileLocalDomainFallback("zeroTrustDeviceDefaultProfileLocalDomainFallbackResource",
        account_id="string",
        domains=[{
            "suffix": "string",
            "description": "string",
            "dns_servers": ["string"],
        }])
    
    const zeroTrustDeviceDefaultProfileLocalDomainFallbackResource = new cloudflare.ZeroTrustDeviceDefaultProfileLocalDomainFallback("zeroTrustDeviceDefaultProfileLocalDomainFallbackResource", {
        accountId: "string",
        domains: [{
            suffix: "string",
            description: "string",
            dnsServers: ["string"],
        }],
    });
    
    type: cloudflare:ZeroTrustDeviceDefaultProfileLocalDomainFallback
    properties:
        accountId: string
        domains:
            - description: string
              dnsServers:
                - string
              suffix: string
    

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

    Outputs

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

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

    Supporting Types

    ZeroTrustDeviceDefaultProfileLocalDomainFallbackDomain, ZeroTrustDeviceDefaultProfileLocalDomainFallbackDomainArgs

    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.

    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