1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDeviceDefaultProfileCertificates
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi
cloudflare logo
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDeviceDefaultProfileCertificates = cloudflare.getZeroTrustDeviceDefaultProfileCertificates({
        zoneId: "699d98642c564d2e855e9661899b7252",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_device_default_profile_certificates = cloudflare.get_zero_trust_device_default_profile_certificates(zone_id="699d98642c564d2e855e9661899b7252")
    
    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.LookupZeroTrustDeviceDefaultProfileCertificates(ctx, &cloudflare.LookupZeroTrustDeviceDefaultProfileCertificatesArgs{
    			ZoneId: "699d98642c564d2e855e9661899b7252",
    		}, 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 exampleZeroTrustDeviceDefaultProfileCertificates = Cloudflare.GetZeroTrustDeviceDefaultProfileCertificates.Invoke(new()
        {
            ZoneId = "699d98642c564d2e855e9661899b7252",
        });
    
    });
    
    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.GetZeroTrustDeviceDefaultProfileCertificatesArgs;
    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 exampleZeroTrustDeviceDefaultProfileCertificates = CloudflareFunctions.getZeroTrustDeviceDefaultProfileCertificates(GetZeroTrustDeviceDefaultProfileCertificatesArgs.builder()
                .zoneId("699d98642c564d2e855e9661899b7252")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDeviceDefaultProfileCertificates:
        fn::invoke:
          function: cloudflare:getZeroTrustDeviceDefaultProfileCertificates
          arguments:
            zoneId: 699d98642c564d2e855e9661899b7252
    

    Using getZeroTrustDeviceDefaultProfileCertificates

    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 getZeroTrustDeviceDefaultProfileCertificates(args: GetZeroTrustDeviceDefaultProfileCertificatesArgs, opts?: InvokeOptions): Promise<GetZeroTrustDeviceDefaultProfileCertificatesResult>
    function getZeroTrustDeviceDefaultProfileCertificatesOutput(args: GetZeroTrustDeviceDefaultProfileCertificatesOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDeviceDefaultProfileCertificatesResult>
    def get_zero_trust_device_default_profile_certificates(zone_id: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetZeroTrustDeviceDefaultProfileCertificatesResult
    def get_zero_trust_device_default_profile_certificates_output(zone_id: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDeviceDefaultProfileCertificatesResult]
    func LookupZeroTrustDeviceDefaultProfileCertificates(ctx *Context, args *LookupZeroTrustDeviceDefaultProfileCertificatesArgs, opts ...InvokeOption) (*LookupZeroTrustDeviceDefaultProfileCertificatesResult, error)
    func LookupZeroTrustDeviceDefaultProfileCertificatesOutput(ctx *Context, args *LookupZeroTrustDeviceDefaultProfileCertificatesOutputArgs, opts ...InvokeOption) LookupZeroTrustDeviceDefaultProfileCertificatesResultOutput

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

    public static class GetZeroTrustDeviceDefaultProfileCertificates 
    {
        public static Task<GetZeroTrustDeviceDefaultProfileCertificatesResult> InvokeAsync(GetZeroTrustDeviceDefaultProfileCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDeviceDefaultProfileCertificatesResult> Invoke(GetZeroTrustDeviceDefaultProfileCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustDeviceDefaultProfileCertificatesResult> getZeroTrustDeviceDefaultProfileCertificates(GetZeroTrustDeviceDefaultProfileCertificatesArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDeviceDefaultProfileCertificatesResult> getZeroTrustDeviceDefaultProfileCertificates(GetZeroTrustDeviceDefaultProfileCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDeviceDefaultProfileCertificates:getZeroTrustDeviceDefaultProfileCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    ZoneId string
    zoneId String
    zoneId string
    zoneId String

    getZeroTrustDeviceDefaultProfileCertificates Result

    The following output properties are available:

    Enabled bool
    The current status of the device policy certificate provisioning feature for WARP clients.
    Id string
    The provider-assigned unique ID for this managed resource.
    ZoneId string
    Enabled bool
    The current status of the device policy certificate provisioning feature for WARP clients.
    Id string
    The provider-assigned unique ID for this managed resource.
    ZoneId string
    enabled Boolean
    The current status of the device policy certificate provisioning feature for WARP clients.
    id String
    The provider-assigned unique ID for this managed resource.
    zoneId String
    enabled boolean
    The current status of the device policy certificate provisioning feature for WARP clients.
    id string
    The provider-assigned unique ID for this managed resource.
    zoneId string
    enabled bool
    The current status of the device policy certificate provisioning feature for WARP clients.
    id str
    The provider-assigned unique ID for this managed resource.
    zone_id str
    enabled Boolean
    The current status of the device policy certificate provisioning feature for WARP clients.
    id String
    The provider-assigned unique ID for this managed resource.
    zoneId String

    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.11.0 published on Friday, Oct 31, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate