1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getUniversalSslSetting
Cloudflare v6.12.0 published on Wednesday, Dec 24, 2025 by Pulumi
cloudflare logo
Cloudflare v6.12.0 published on Wednesday, Dec 24, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleUniversalSslSetting = cloudflare.getUniversalSslSetting({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_universal_ssl_setting = cloudflare.get_universal_ssl_setting(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
    
    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.LookupUniversalSslSetting(ctx, &cloudflare.LookupUniversalSslSettingArgs{
    			ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    		}, 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 exampleUniversalSslSetting = Cloudflare.GetUniversalSslSetting.Invoke(new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
        });
    
    });
    
    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.GetUniversalSslSettingArgs;
    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 exampleUniversalSslSetting = CloudflareFunctions.getUniversalSslSetting(GetUniversalSslSettingArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleUniversalSslSetting:
        fn::invoke:
          function: cloudflare:getUniversalSslSetting
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getUniversalSslSetting

    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 getUniversalSslSetting(args: GetUniversalSslSettingArgs, opts?: InvokeOptions): Promise<GetUniversalSslSettingResult>
    function getUniversalSslSettingOutput(args: GetUniversalSslSettingOutputArgs, opts?: InvokeOptions): Output<GetUniversalSslSettingResult>
    def get_universal_ssl_setting(zone_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetUniversalSslSettingResult
    def get_universal_ssl_setting_output(zone_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetUniversalSslSettingResult]
    func LookupUniversalSslSetting(ctx *Context, args *LookupUniversalSslSettingArgs, opts ...InvokeOption) (*LookupUniversalSslSettingResult, error)
    func LookupUniversalSslSettingOutput(ctx *Context, args *LookupUniversalSslSettingOutputArgs, opts ...InvokeOption) LookupUniversalSslSettingResultOutput

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

    public static class GetUniversalSslSetting 
    {
        public static Task<GetUniversalSslSettingResult> InvokeAsync(GetUniversalSslSettingArgs args, InvokeOptions? opts = null)
        public static Output<GetUniversalSslSettingResult> Invoke(GetUniversalSslSettingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUniversalSslSettingResult> getUniversalSslSetting(GetUniversalSslSettingArgs args, InvokeOptions options)
    public static Output<GetUniversalSslSettingResult> getUniversalSslSetting(GetUniversalSslSettingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getUniversalSslSetting:getUniversalSslSetting
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Identifier.
    ZoneId string
    Identifier.
    zoneId String
    Identifier.
    zoneId string
    Identifier.
    zone_id str
    Identifier.
    zoneId String
    Identifier.

    getUniversalSslSetting Result

    The following output properties are available:

    Enabled bool
    Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.
    Id string
    ZoneId string
    Identifier.
    Enabled bool
    Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.
    Id string
    ZoneId string
    Identifier.
    enabled Boolean
    Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.
    id String
    zoneId String
    Identifier.
    enabled boolean
    Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.
    id string
    zoneId string
    Identifier.
    enabled bool
    Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.
    id str
    zone_id str
    Identifier.
    enabled Boolean
    Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.
    id String
    zoneId String
    Identifier.

    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.12.0 published on Wednesday, Dec 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate