TotalTlsArgs

data class TotalTlsArgs(val certificateAuthority: Output<String>? = null, val enabled: Output<Boolean>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<TotalTlsArgs>

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleTotalTls = new cloudflare.TotalTls("example_total_tls", {
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
enabled: true,
certificateAuthority: "google",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_total_tls = cloudflare.TotalTls("example_total_tls",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
enabled=True,
certificate_authority="google")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleTotalTls = new Cloudflare.TotalTls("example_total_tls", new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
Enabled = true,
CertificateAuthority = "google",
});
});
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.NewTotalTls(ctx, "example_total_tls", &cloudflare.TotalTlsArgs{
ZoneId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
Enabled: pulumi.Bool(true),
CertificateAuthority: pulumi.String("google"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.TotalTls;
import com.pulumi.cloudflare.TotalTlsArgs;
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) {
var exampleTotalTls = new TotalTls("exampleTotalTls", TotalTlsArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.enabled(true)
.certificateAuthority("google")
.build());
}
}
resources:
exampleTotalTls:
type: cloudflare:TotalTls
name: example_total_tls
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
enabled: true
certificateAuthority: google

Import

$ pulumi import cloudflare:index/totalTls:TotalTls example '<zone_id>'

Constructors

Link copied to clipboard
constructor(certificateAuthority: Output<String>? = null, enabled: Output<Boolean>? = null, zoneId: Output<String>? = null)

Properties

Link copied to clipboard
val certificateAuthority: Output<String>? = null

The Certificate Authority that Total TLS certificates will be issued through. Available values: "google", "letsencrypt", "sslcom".

Link copied to clipboard
val enabled: Output<Boolean>? = null

If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.

Link copied to clipboard
val zoneId: Output<String>? = null

Identifier.

Functions

Link copied to clipboard
open override fun toJava(): TotalTlsArgs