tencentcloud.ClbReplaceCertForLbs
Explore with Pulumi AI
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
Clb
Replace Cert For Lbs Certificate - Information such as the content of the new certificate.
- Old
Certificate stringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- Clb
Replace stringCert For Lbs Id - ID of the resource.
- Certificate
Clb
Replace Cert For Lbs Certificate Args - Information such as the content of the new certificate.
- Old
Certificate stringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- Clb
Replace stringCert For Lbs Id - ID of the resource.
- certificate
Clb
Replace Cert For Lbs Certificate - Information such as the content of the new certificate.
- old
Certificate StringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- clb
Replace StringCert For Lbs Id - ID of the resource.
- certificate
Clb
Replace Cert For Lbs Certificate - Information such as the content of the new certificate.
- old
Certificate stringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- clb
Replace stringCert For Lbs Id - ID of the resource.
- certificate
Clb
Replace Cert For Lbs Certificate Args - Information such as the content of the new certificate.
- old_
certificate_ strid - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- clb_
replace_ strcert_ for_ lbs_ id - ID of the resource.
- certificate Property Map
- Information such as the content of the new certificate.
- old
Certificate StringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- clb
Replace StringCert For Lbs Id - 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.
- Certificate
Clb
Replace Cert For Lbs Certificate - Information such as the content of the new certificate.
- Clb
Replace stringCert For Lbs Id - ID of the resource.
- Old
Certificate stringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- Certificate
Clb
Replace Cert For Lbs Certificate Args - Information such as the content of the new certificate.
- Clb
Replace stringCert For Lbs Id - ID of the resource.
- Old
Certificate stringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- certificate
Clb
Replace Cert For Lbs Certificate - Information such as the content of the new certificate.
- clb
Replace StringCert For Lbs Id - ID of the resource.
- old
Certificate StringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- certificate
Clb
Replace Cert For Lbs Certificate - Information such as the content of the new certificate.
- clb
Replace stringCert For Lbs Id - ID of the resource.
- old
Certificate stringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
- certificate
Clb
Replace Cert For Lbs Certificate Args - Information such as the content of the new certificate.
- clb_
replace_ strcert_ for_ lbs_ id - ID of the resource.
- old_
certificate_ strid - 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.
- clb
Replace StringCert For Lbs Id - ID of the resource.
- old
Certificate StringId - ID of the certificate to be replaced, which can be a server certificate or a client certificate.
Supporting Types
ClbReplaceCertForLbsCertificate, ClbReplaceCertForLbsCertificateArgs
- Cert
Ca stringContent - Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- Cert
Ca stringId - 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 stringName - Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- Cert
Content string - Content of the uploaded server certificate. If there is no CertId, this parameter is required.
- Cert
Id string - ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
- Cert
Key string - Key of the uploaded server certificate. If there is no CertId, this parameter is required.
- Cert
Name string - Name of the uploaded server certificate. If there is no CertId, this parameter is required.
- Ssl
Mode string - Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
- Cert
Ca stringContent - Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- Cert
Ca stringId - 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 stringName - Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- Cert
Content string - Content of the uploaded server certificate. If there is no CertId, this parameter is required.
- Cert
Id string - ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
- Cert
Key string - Key of the uploaded server certificate. If there is no CertId, this parameter is required.
- Cert
Name string - Name of the uploaded server certificate. If there is no CertId, this parameter is required.
- Ssl
Mode string - Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
- cert
Ca StringContent - Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- cert
Ca StringId - 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 StringName - Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- cert
Content String - Content of the uploaded server certificate. If there is no CertId, this parameter is required.
- cert
Id String - ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
- cert
Key String - Key of the uploaded server certificate. If there is no CertId, this parameter is required.
- cert
Name String - Name of the uploaded server certificate. If there is no CertId, this parameter is required.
- ssl
Mode String - Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
- cert
Ca stringContent - Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- cert
Ca stringId - 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 stringName - Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- cert
Content string - Content of the uploaded server certificate. If there is no CertId, this parameter is required.
- cert
Id string - ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
- cert
Key string - Key of the uploaded server certificate. If there is no CertId, this parameter is required.
- cert
Name string - Name of the uploaded server certificate. If there is no CertId, this parameter is required.
- ssl
Mode string - Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication).
- cert_
ca_ strcontent - Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- cert_
ca_ strid - 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_ strname - 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).
- cert
Ca StringContent - Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- cert
Ca StringId - 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 StringName - Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
- cert
Content String - Content of the uploaded server certificate. If there is no CertId, this parameter is required.
- cert
Id String - ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
- cert
Key String - Key of the uploaded server certificate. If there is no CertId, this parameter is required.
- cert
Name String - Name of the uploaded server certificate. If there is no CertId, this parameter is required.
- ssl
Mode 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.