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

cloudflare.getZeroTrustDeviceCustomProfileLocalDomainFallback

Explore with Pulumi AI

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDeviceCustomProfileLocalDomainFallback = cloudflare.getZeroTrustDeviceCustomProfileLocalDomainFallback({
        accountId: "699d98642c564d2e855e9661899b7252",
        policyId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_device_custom_profile_local_domain_fallback = cloudflare.get_zero_trust_device_custom_profile_local_domain_fallback(account_id="699d98642c564d2e855e9661899b7252",
        policy_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
    
    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.LookupZeroTrustDeviceCustomProfileLocalDomainFallback(ctx, &cloudflare.LookupZeroTrustDeviceCustomProfileLocalDomainFallbackArgs{
    			AccountId: "699d98642c564d2e855e9661899b7252",
    			PolicyId:  "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
    		}, nil)
    		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 exampleZeroTrustDeviceCustomProfileLocalDomainFallback = Cloudflare.GetZeroTrustDeviceCustomProfileLocalDomainFallback.Invoke(new()
        {
            AccountId = "699d98642c564d2e855e9661899b7252",
            PolicyId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetZeroTrustDeviceCustomProfileLocalDomainFallbackArgs;
    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) {
            final var exampleZeroTrustDeviceCustomProfileLocalDomainFallback = CloudflareFunctions.getZeroTrustDeviceCustomProfileLocalDomainFallback(GetZeroTrustDeviceCustomProfileLocalDomainFallbackArgs.builder()
                .accountId("699d98642c564d2e855e9661899b7252")
                .policyId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDeviceCustomProfileLocalDomainFallback:
        fn::invoke:
          function: cloudflare:getZeroTrustDeviceCustomProfileLocalDomainFallback
          arguments:
            accountId: 699d98642c564d2e855e9661899b7252
            policyId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
    

    Using getZeroTrustDeviceCustomProfileLocalDomainFallback

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getZeroTrustDeviceCustomProfileLocalDomainFallback(args: GetZeroTrustDeviceCustomProfileLocalDomainFallbackArgs, opts?: InvokeOptions): Promise<GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult>
    function getZeroTrustDeviceCustomProfileLocalDomainFallbackOutput(args: GetZeroTrustDeviceCustomProfileLocalDomainFallbackOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult>
    def get_zero_trust_device_custom_profile_local_domain_fallback(account_id: Optional[str] = None,
                                                                   policy_id: Optional[str] = None,
                                                                   opts: Optional[InvokeOptions] = None) -> GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult
    def get_zero_trust_device_custom_profile_local_domain_fallback_output(account_id: Optional[pulumi.Input[str]] = None,
                                                                   policy_id: Optional[pulumi.Input[str]] = None,
                                                                   opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult]
    func LookupZeroTrustDeviceCustomProfileLocalDomainFallback(ctx *Context, args *LookupZeroTrustDeviceCustomProfileLocalDomainFallbackArgs, opts ...InvokeOption) (*LookupZeroTrustDeviceCustomProfileLocalDomainFallbackResult, error)
    func LookupZeroTrustDeviceCustomProfileLocalDomainFallbackOutput(ctx *Context, args *LookupZeroTrustDeviceCustomProfileLocalDomainFallbackOutputArgs, opts ...InvokeOption) LookupZeroTrustDeviceCustomProfileLocalDomainFallbackResultOutput

    > Note: This function is named LookupZeroTrustDeviceCustomProfileLocalDomainFallback in the Go SDK.

    public static class GetZeroTrustDeviceCustomProfileLocalDomainFallback 
    {
        public static Task<GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult> InvokeAsync(GetZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult> Invoke(GetZeroTrustDeviceCustomProfileLocalDomainFallbackInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult> getZeroTrustDeviceCustomProfileLocalDomainFallback(GetZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDeviceCustomProfileLocalDomainFallbackResult> getZeroTrustDeviceCustomProfileLocalDomainFallback(GetZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDeviceCustomProfileLocalDomainFallback:getZeroTrustDeviceCustomProfileLocalDomainFallback
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    PolicyId string
    AccountId string
    PolicyId string
    accountId String
    policyId String
    accountId string
    policyId string
    accountId String
    policyId String

    getZeroTrustDeviceCustomProfileLocalDomainFallback Result

    The following output properties are available:

    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    policyId String
    suffix String
    The domain suffix to match when resolving locally.

    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