TotalTls

class TotalTls : KotlinCustomResource

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>'

Properties

Link copied to clipboard

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

Link copied to clipboard
val enabled: Output<Boolean>

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 id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val validityPeriod: Output<Int>

The validity period in days for the certificates ordered via Total TLS. Available values: 90.

Link copied to clipboard
val zoneId: Output<String>

Identifier