Cloudflare v6.10.1 published on Wednesday, Oct 22, 2025 by Pulumi
cloudflare.getTotalTls
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleTotalTls = cloudflare.getTotalTls({
    zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_total_tls = cloudflare.get_total_tls(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.LookupTotalTls(ctx, &cloudflare.LookupTotalTlsArgs{
			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 exampleTotalTls = Cloudflare.GetTotalTls.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.GetTotalTlsArgs;
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 exampleTotalTls = CloudflareFunctions.getTotalTls(GetTotalTlsArgs.builder()
            .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
            .build());
    }
}
variables:
  exampleTotalTls:
    fn::invoke:
      function: cloudflare:getTotalTls
      arguments:
        zoneId: 023e105f4ecef8ad9ca31a8372d0c353
Using getTotalTls
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 getTotalTls(args: GetTotalTlsArgs, opts?: InvokeOptions): Promise<GetTotalTlsResult>
function getTotalTlsOutput(args: GetTotalTlsOutputArgs, opts?: InvokeOptions): Output<GetTotalTlsResult>def get_total_tls(zone_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetTotalTlsResult
def get_total_tls_output(zone_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetTotalTlsResult]func LookupTotalTls(ctx *Context, args *LookupTotalTlsArgs, opts ...InvokeOption) (*LookupTotalTlsResult, error)
func LookupTotalTlsOutput(ctx *Context, args *LookupTotalTlsOutputArgs, opts ...InvokeOption) LookupTotalTlsResultOutput> Note: This function is named LookupTotalTls in the Go SDK.
public static class GetTotalTls 
{
    public static Task<GetTotalTlsResult> InvokeAsync(GetTotalTlsArgs args, InvokeOptions? opts = null)
    public static Output<GetTotalTlsResult> Invoke(GetTotalTlsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTotalTlsResult> getTotalTls(GetTotalTlsArgs args, InvokeOptions options)
public static Output<GetTotalTlsResult> getTotalTls(GetTotalTlsArgs args, InvokeOptions options)
fn::invoke:
  function: cloudflare:index/getTotalTls:getTotalTls
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ZoneId string
- Identifier.
- ZoneId string
- Identifier.
- zoneId String
- Identifier.
- zoneId string
- Identifier.
- zone_id str
- Identifier.
- zoneId String
- Identifier.
getTotalTls Result
The following output properties are available:
- string
- The Certificate Authority that Total TLS certificates will be issued through. Available values: "google", "letsencrypt", "sslcom".
- Enabled bool
- If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.
- Id string
- The provider-assigned unique ID for this managed resource.
- ValidityPeriod int
- The validity period in days for the certificates ordered via Total TLS. Available values: 90.
- ZoneId string
- Identifier.
- string
- The Certificate Authority that Total TLS certificates will be issued through. Available values: "google", "letsencrypt", "sslcom".
- Enabled bool
- If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.
- Id string
- The provider-assigned unique ID for this managed resource.
- ValidityPeriod int
- The validity period in days for the certificates ordered via Total TLS. Available values: 90.
- ZoneId string
- Identifier.
- String
- The Certificate Authority that Total TLS certificates will be issued through. Available values: "google", "letsencrypt", "sslcom".
- enabled Boolean
- If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.
- id String
- The provider-assigned unique ID for this managed resource.
- validityPeriod Integer
- The validity period in days for the certificates ordered via Total TLS. Available values: 90.
- zoneId String
- Identifier.
- string
- The Certificate Authority that Total TLS certificates will be issued through. Available values: "google", "letsencrypt", "sslcom".
- enabled boolean
- If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.
- id string
- The provider-assigned unique ID for this managed resource.
- validityPeriod number
- The validity period in days for the certificates ordered via Total TLS. Available values: 90.
- zoneId string
- Identifier.
- str
- The Certificate Authority that Total TLS certificates will be issued through. Available values: "google", "letsencrypt", "sslcom".
- enabled bool
- If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.
- id str
- The provider-assigned unique ID for this managed resource.
- validity_period int
- The validity period in days for the certificates ordered via Total TLS. Available values: 90.
- zone_id str
- Identifier.
- String
- The Certificate Authority that Total TLS certificates will be issued through. Available values: "google", "letsencrypt", "sslcom".
- enabled Boolean
- If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.
- id String
- The provider-assigned unique ID for this managed resource.
- validityPeriod Number
- The validity period in days for the certificates ordered via Total TLS. Available values: 90.
- zoneId String
- Identifier.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudflareTerraform Provider.
