1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. ClbReplaceCertForLbs
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.ClbReplaceCertForLbs

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

    Provides a resource to create a clb replace_cert_for_lbs

    Example Usage

    Replace Server Cert By Cert ID

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const replaceCertForLbs = new tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs", {
        certificate: {
            certId: "6vcK02GC",
        },
        oldCertificateId: "zjUMifFK",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    replace_cert_for_lbs = tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs",
        certificate={
            "cert_id": "6vcK02GC",
        },
        old_certificate_id="zjUMifFK")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewClbReplaceCertForLbs(ctx, "replaceCertForLbs", &tencentcloud.ClbReplaceCertForLbsArgs{
    			Certificate: &tencentcloud.ClbReplaceCertForLbsCertificateArgs{
    				CertId: pulumi.String("6vcK02GC"),
    			},
    			OldCertificateId: pulumi.String("zjUMifFK"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var replaceCertForLbs = new Tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs", new()
        {
            Certificate = new Tencentcloud.Inputs.ClbReplaceCertForLbsCertificateArgs
            {
                CertId = "6vcK02GC",
            },
            OldCertificateId = "zjUMifFK",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClbReplaceCertForLbs;
    import com.pulumi.tencentcloud.ClbReplaceCertForLbsArgs;
    import com.pulumi.tencentcloud.inputs.ClbReplaceCertForLbsCertificateArgs;
    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 replaceCertForLbs = new ClbReplaceCertForLbs("replaceCertForLbs", ClbReplaceCertForLbsArgs.builder()
                .certificate(ClbReplaceCertForLbsCertificateArgs.builder()
                    .certId("6vcK02GC")
                    .build())
                .oldCertificateId("zjUMifFK")
                .build());
    
        }
    }
    
    resources:
      replaceCertForLbs:
        type: tencentcloud:ClbReplaceCertForLbs
        properties:
          certificate:
            certId: 6vcK02GC
          oldCertificateId: zjUMifFK
    

    Replace Server Cert By Cert Content

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = tencentcloud.getSslCertificates({
        name: "keep-ssl-ca",
    });
    const replaceCertForLbs = new tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs", {
        oldCertificateId: foo.then(foo => foo.certificates?.[0]?.id),
        certificate: {
            certName: "tf-test-cert",
            certContent: `-----BEGIN CERTIFICATE-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    EOT,
        certKey     = <<-EOT
    -----BEGIN RSA PRIVATE KEY-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END RSA PRIVATE KEY-----
    `,
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.get_ssl_certificates(name="keep-ssl-ca")
    replace_cert_for_lbs = tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs",
        old_certificate_id=foo.certificates[0].id,
        certificate={
            "cert_name": "tf-test-cert",
            "cert_content": """-----BEGIN CERTIFICATE-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    EOT,
        certKey     = <<-EOT
    -----BEGIN RSA PRIVATE KEY-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END RSA PRIVATE KEY-----
    """,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		foo, err := tencentcloud.GetSslCertificates(ctx, &tencentcloud.GetSslCertificatesArgs{
    			Name: pulumi.StringRef("keep-ssl-ca"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewClbReplaceCertForLbs(ctx, "replaceCertForLbs", &tencentcloud.ClbReplaceCertForLbsArgs{
    			OldCertificateId: pulumi.String(foo.Certificates[0].Id),
    			Certificate: &tencentcloud.ClbReplaceCertForLbsCertificateArgs{
    				CertName: pulumi.String("tf-test-cert"),
    				CertContent: pulumi.String(`-----BEGIN CERTIFICATE-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    EOT,
        certKey     = <<-EOT
    -----BEGIN RSA PRIVATE KEY-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END RSA PRIVATE KEY-----
    `),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Tencentcloud.GetSslCertificates.Invoke(new()
        {
            Name = "keep-ssl-ca",
        });
    
        var replaceCertForLbs = new Tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs", new()
        {
            OldCertificateId = foo.Apply(getSslCertificatesResult => getSslCertificatesResult.Certificates[0]?.Id),
            Certificate = new Tencentcloud.Inputs.ClbReplaceCertForLbsCertificateArgs
            {
                CertName = "tf-test-cert",
                CertContent = @"-----BEGIN CERTIFICATE-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    EOT,
        certKey     = <<-EOT
    -----BEGIN RSA PRIVATE KEY-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END RSA PRIVATE KEY-----
    ",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetSslCertificatesArgs;
    import com.pulumi.tencentcloud.ClbReplaceCertForLbs;
    import com.pulumi.tencentcloud.ClbReplaceCertForLbsArgs;
    import com.pulumi.tencentcloud.inputs.ClbReplaceCertForLbsCertificateArgs;
    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 foo = TencentcloudFunctions.getSslCertificates(GetSslCertificatesArgs.builder()
                .name("keep-ssl-ca")
                .build());
    
            var replaceCertForLbs = new ClbReplaceCertForLbs("replaceCertForLbs", ClbReplaceCertForLbsArgs.builder()
                .oldCertificateId(foo.applyValue(getSslCertificatesResult -> getSslCertificatesResult.certificates()[0].id()))
                .certificate(ClbReplaceCertForLbsCertificateArgs.builder()
                    .certName("tf-test-cert")
                    .certContent("""
    -----BEGIN CERTIFICATE-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    EOT,
        certKey     = <<-EOT
    -----BEGIN RSA PRIVATE KEY-----
    xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    -----END RSA PRIVATE KEY-----
                    """)
                    .build())
                .build());
    
        }
    }
    
    resources:
      replaceCertForLbs:
        type: tencentcloud:ClbReplaceCertForLbs
        properties:
          oldCertificateId: ${foo.certificates[0].id}
          certificate:
            certName: tf-test-cert
            certContent: |
              -----BEGIN CERTIFICATE-----
              xxxxxxxxxxxxxxxxxxxxxxxxxxx
              -----END CERTIFICATE-----
              EOT,
                  certKey     = <<-EOT
              -----BEGIN RSA PRIVATE KEY-----
              xxxxxxxxxxxxxxxxxxxxxxxxxxxx
              -----END RSA PRIVATE KEY-----          
    variables:
      foo:
        fn::invoke:
          function: tencentcloud:getSslCertificates
          arguments:
            name: keep-ssl-ca
    

    Replace Client Cert By Cert Content

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const replaceCertForLbs = new tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs", {
        oldCertificateId: "zjUMifFK",
        certificate: {
            certCaName: "tf-test-cert",
            certCaContent: `-----BEGIN CERTIFICATE-----
    xxxxxxxxContentxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    `,
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    replace_cert_for_lbs = tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs",
        old_certificate_id="zjUMifFK",
        certificate={
            "cert_ca_name": "tf-test-cert",
            "cert_ca_content": """-----BEGIN CERTIFICATE-----
    xxxxxxxxContentxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    """,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewClbReplaceCertForLbs(ctx, "replaceCertForLbs", &tencentcloud.ClbReplaceCertForLbsArgs{
    			OldCertificateId: pulumi.String("zjUMifFK"),
    			Certificate: &tencentcloud.ClbReplaceCertForLbsCertificateArgs{
    				CertCaName:    pulumi.String("tf-test-cert"),
    				CertCaContent: pulumi.String("-----BEGIN CERTIFICATE-----\nxxxxxxxxContentxxxxxxxxxxxxxx\n-----END CERTIFICATE-----\n"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var replaceCertForLbs = new Tencentcloud.ClbReplaceCertForLbs("replaceCertForLbs", new()
        {
            OldCertificateId = "zjUMifFK",
            Certificate = new Tencentcloud.Inputs.ClbReplaceCertForLbsCertificateArgs
            {
                CertCaName = "tf-test-cert",
                CertCaContent = @"-----BEGIN CERTIFICATE-----
    xxxxxxxxContentxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
    ",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClbReplaceCertForLbs;
    import com.pulumi.tencentcloud.ClbReplaceCertForLbsArgs;
    import com.pulumi.tencentcloud.inputs.ClbReplaceCertForLbsCertificateArgs;
    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 replaceCertForLbs = new ClbReplaceCertForLbs("replaceCertForLbs", ClbReplaceCertForLbsArgs.builder()
                .oldCertificateId("zjUMifFK")
                .certificate(ClbReplaceCertForLbsCertificateArgs.builder()
                    .certCaName("tf-test-cert")
                    .certCaContent("""
    -----BEGIN CERTIFICATE-----
    xxxxxxxxContentxxxxxxxxxxxxxx
    -----END CERTIFICATE-----
                    """)
                    .build())
                .build());
    
        }
    }
    
    resources:
      replaceCertForLbs:
        type: tencentcloud:ClbReplaceCertForLbs
        properties:
          oldCertificateId: zjUMifFK
          certificate:
            certCaName: tf-test-cert
            certCaContent: |
              -----BEGIN CERTIFICATE-----
              xxxxxxxxContentxxxxxxxxxxxxxx
              -----END CERTIFICATE-----          
    
    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Create ClbReplaceCertForLbs Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ClbReplaceCertForLbs(name: string, args: ClbReplaceCertForLbsArgs, opts?: CustomResourceOptions);
    @overload
    def ClbReplaceCertForLbs(resource_name: str,
                             args: ClbReplaceCertForLbsArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClbReplaceCertForLbs(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             certificate: Optional[ClbReplaceCertForLbsCertificateArgs] = None,
                             old_certificate_id: Optional[str] = None,
                             clb_replace_cert_for_lbs_id: Optional[str] = None)
    func NewClbReplaceCertForLbs(ctx *Context, name string, args ClbReplaceCertForLbsArgs, opts ...ResourceOption) (*ClbReplaceCertForLbs, error)
    public ClbReplaceCertForLbs(string name, ClbReplaceCertForLbsArgs args, CustomResourceOptions? opts = null)
    public ClbReplaceCertForLbs(String name, ClbReplaceCertForLbsArgs args)
    public ClbReplaceCertForLbs(String name, ClbReplaceCertForLbsArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ClbReplaceCertForLbs
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ClbReplaceCertForLbsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ClbReplaceCertForLbsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ClbReplaceCertForLbsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClbReplaceCertForLbsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClbReplaceCertForLbsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ClbReplaceCertForLbs Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ClbReplaceCertForLbs resource accepts the following input properties:

    Certificate ClbReplaceCertForLbsCertificate
    Information such as the content of the new certificate.
    OldCertificateId string
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    ClbReplaceCertForLbsId string
    ID of the resource.
    Certificate ClbReplaceCertForLbsCertificateArgs
    Information such as the content of the new certificate.
    OldCertificateId string
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    ClbReplaceCertForLbsId string
    ID of the resource.
    certificate ClbReplaceCertForLbsCertificate
    Information such as the content of the new certificate.
    oldCertificateId String
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    clbReplaceCertForLbsId String
    ID of the resource.
    certificate ClbReplaceCertForLbsCertificate
    Information such as the content of the new certificate.
    oldCertificateId string
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    clbReplaceCertForLbsId string
    ID of the resource.
    certificate ClbReplaceCertForLbsCertificateArgs
    Information such as the content of the new certificate.
    old_certificate_id str
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    clb_replace_cert_for_lbs_id str
    ID of the resource.
    certificate Property Map
    Information such as the content of the new certificate.
    oldCertificateId String
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    clbReplaceCertForLbsId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ClbReplaceCertForLbs resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ClbReplaceCertForLbs Resource

    Get an existing ClbReplaceCertForLbs resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClbReplaceCertForLbsState, opts?: CustomResourceOptions): ClbReplaceCertForLbs
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate: Optional[ClbReplaceCertForLbsCertificateArgs] = None,
            clb_replace_cert_for_lbs_id: Optional[str] = None,
            old_certificate_id: Optional[str] = None) -> ClbReplaceCertForLbs
    func GetClbReplaceCertForLbs(ctx *Context, name string, id IDInput, state *ClbReplaceCertForLbsState, opts ...ResourceOption) (*ClbReplaceCertForLbs, error)
    public static ClbReplaceCertForLbs Get(string name, Input<string> id, ClbReplaceCertForLbsState? state, CustomResourceOptions? opts = null)
    public static ClbReplaceCertForLbs get(String name, Output<String> id, ClbReplaceCertForLbsState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ClbReplaceCertForLbs    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Certificate ClbReplaceCertForLbsCertificate
    Information such as the content of the new certificate.
    ClbReplaceCertForLbsId string
    ID of the resource.
    OldCertificateId string
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    Certificate ClbReplaceCertForLbsCertificateArgs
    Information such as the content of the new certificate.
    ClbReplaceCertForLbsId string
    ID of the resource.
    OldCertificateId string
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    certificate ClbReplaceCertForLbsCertificate
    Information such as the content of the new certificate.
    clbReplaceCertForLbsId String
    ID of the resource.
    oldCertificateId String
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    certificate ClbReplaceCertForLbsCertificate
    Information such as the content of the new certificate.
    clbReplaceCertForLbsId string
    ID of the resource.
    oldCertificateId string
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    certificate ClbReplaceCertForLbsCertificateArgs
    Information such as the content of the new certificate.
    clb_replace_cert_for_lbs_id str
    ID of the resource.
    old_certificate_id str
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.
    certificate Property Map
    Information such as the content of the new certificate.
    clbReplaceCertForLbsId String
    ID of the resource.
    oldCertificateId String
    ID of the certificate to be replaced, which can be a server certificate or a client certificate.

    Supporting Types

    ClbReplaceCertForLbsCertificate, ClbReplaceCertForLbsCertificateArgs

    CertCaContent string
    Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    CertCaId string
    ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.
    CertCaName string
    Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    CertContent string
    Content of the uploaded server certificate. If there is no CertId, this parameter is required.
    CertId string
    ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
    CertKey string
    Key of the uploaded server certificate. If there is no CertId, this parameter is required.
    CertName string
    Name of the uploaded server certificate. If there is no CertId, this parameter is required.
    SslMode string
    Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
    CertCaContent string
    Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    CertCaId string
    ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.
    CertCaName string
    Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    CertContent string
    Content of the uploaded server certificate. If there is no CertId, this parameter is required.
    CertId string
    ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
    CertKey string
    Key of the uploaded server certificate. If there is no CertId, this parameter is required.
    CertName string
    Name of the uploaded server certificate. If there is no CertId, this parameter is required.
    SslMode string
    Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
    certCaContent String
    Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    certCaId String
    ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.
    certCaName String
    Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    certContent String
    Content of the uploaded server certificate. If there is no CertId, this parameter is required.
    certId String
    ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
    certKey String
    Key of the uploaded server certificate. If there is no CertId, this parameter is required.
    certName String
    Name of the uploaded server certificate. If there is no CertId, this parameter is required.
    sslMode String
    Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
    certCaContent string
    Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    certCaId string
    ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.
    certCaName string
    Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    certContent string
    Content of the uploaded server certificate. If there is no CertId, this parameter is required.
    certId string
    ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
    certKey string
    Key of the uploaded server certificate. If there is no CertId, this parameter is required.
    certName string
    Name of the uploaded server certificate. If there is no CertId, this parameter is required.
    sslMode string
    Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
    cert_ca_content str
    Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    cert_ca_id str
    ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.
    cert_ca_name str
    Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    cert_content str
    Content of the uploaded server certificate. If there is no CertId, this parameter is required.
    cert_id str
    ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
    cert_key str
    Key of the uploaded server certificate. If there is no CertId, this parameter is required.
    cert_name str
    Name of the uploaded server certificate. If there is no CertId, this parameter is required.
    ssl_mode str
    Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
    certCaContent String
    Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    certCaId String
    ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.
    certCaName String
    Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
    certContent String
    Content of the uploaded server certificate. If there is no CertId, this parameter is required.
    certId String
    ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
    certKey String
    Key of the uploaded server certificate. If there is no CertId, this parameter is required.
    certName String
    Name of the uploaded server certificate. If there is no CertId, this parameter is required.
    sslMode String
    Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack