1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LbCertificateV3
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.LbCertificateV3

Explore with Pulumi AI

Up-to-date reference of API arguments for DLB certificate you can get at documentation portal

Manages a V3 certificate resource within OpenTelekomCloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const certificate1 = new opentelekomcloud.LbCertificateV3("certificate1", {
    certificate: `-----BEGIN CERTIFICATE-----
MIIB4TCCAYugAwIBAgIUPXCpWJCiy5mI79NIfenl5KNWPzkwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMTExMDIxMDM3MjBaFw0yMTEy
MDIxMDM3MjBaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwXDANBgkqhkiG9w0BAQEF
AANLADBIAkEAu+qgVpV6mqbaGW1Qn6eDPzhwentQPPiXwG1665M9+gjW4pUQ0Rud
Bc0fkUU/O+Q0UMT8ZV/I2hSenCVyJoyPEwIDAQABo1MwUTAdBgNVHQ4EFgQUtItI
IAXZDIEfuvCX7AY3s//wlI8wHwYDVR0jBBgwFoAUtItIIAXZDIEfuvCX7AY3s//w
lI8wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAANBAEkgP/JlpVKc4j+Z
KRcMa7RAXYJqCbRxtpqRU7OOAhDmBnldtS5CTMoh1r7TOGMfM1Npa+kGV5QnjRzI
FzFSymo=
-----END CERTIFICATE-----

`,
    description: "terraform test certificate",
    domain: "www.elb.com",
    privateKey: `-----BEGIN RSA PRIVATE KEY-----
MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAu+qgVpV6mqbaGW1Q
n6eDPzhwentQPPiXwG1665M9+gjW4pUQ0RudBc0fkUU/O+Q0UMT8ZV/I2hSenCVy
JoyPEwIDAQABAkAbyksEAv8qt9oxQHVX5xIF23bm5i2rlqf6kTZIeHIF89/NNJ2E
sejiqFIWqPc5a00Scn+ymdCvjC25JVyup9cBAiEA4a+7WhPmgS54yNHjwkG2pflz
cfH1V7qPqlBKIGLwZbMCIQDVKCsZ6eoNdQoLVmK0zii8XDCgL8HWMrm/bytbYM9B
IQIgVdcAXKebEeF6IW/rwDQ8Y2644UsVdTPJdw8o0p6vLw8CIDqm191EiPt09fOS
rIxVoc3ajCK3oV2ADa5IN6ToKX8hAiBPuNCCIYcZz0tAzWX7I1OYMI3UhJjtrESg
mYFrsJ4gHw==
-----END RSA PRIVATE KEY-----

`,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

certificate1 = opentelekomcloud.LbCertificateV3("certificate1",
    certificate="""-----BEGIN CERTIFICATE-----
MIIB4TCCAYugAwIBAgIUPXCpWJCiy5mI79NIfenl5KNWPzkwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMTExMDIxMDM3MjBaFw0yMTEy
MDIxMDM3MjBaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwXDANBgkqhkiG9w0BAQEF
AANLADBIAkEAu+qgVpV6mqbaGW1Qn6eDPzhwentQPPiXwG1665M9+gjW4pUQ0Rud
Bc0fkUU/O+Q0UMT8ZV/I2hSenCVyJoyPEwIDAQABo1MwUTAdBgNVHQ4EFgQUtItI
IAXZDIEfuvCX7AY3s//wlI8wHwYDVR0jBBgwFoAUtItIIAXZDIEfuvCX7AY3s//w
lI8wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAANBAEkgP/JlpVKc4j+Z
KRcMa7RAXYJqCbRxtpqRU7OOAhDmBnldtS5CTMoh1r7TOGMfM1Npa+kGV5QnjRzI
FzFSymo=
-----END CERTIFICATE-----

""",
    description="terraform test certificate",
    domain="www.elb.com",
    private_key="""-----BEGIN RSA PRIVATE KEY-----
MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAu+qgVpV6mqbaGW1Q
n6eDPzhwentQPPiXwG1665M9+gjW4pUQ0RudBc0fkUU/O+Q0UMT8ZV/I2hSenCVy
JoyPEwIDAQABAkAbyksEAv8qt9oxQHVX5xIF23bm5i2rlqf6kTZIeHIF89/NNJ2E
sejiqFIWqPc5a00Scn+ymdCvjC25JVyup9cBAiEA4a+7WhPmgS54yNHjwkG2pflz
cfH1V7qPqlBKIGLwZbMCIQDVKCsZ6eoNdQoLVmK0zii8XDCgL8HWMrm/bytbYM9B
IQIgVdcAXKebEeF6IW/rwDQ8Y2644UsVdTPJdw8o0p6vLw8CIDqm191EiPt09fOS
rIxVoc3ajCK3oV2ADa5IN6ToKX8hAiBPuNCCIYcZz0tAzWX7I1OYMI3UhJjtrESg
mYFrsJ4gHw==
-----END RSA PRIVATE KEY-----

""")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opentelekomcloud.NewLbCertificateV3(ctx, "certificate1", &opentelekomcloud.LbCertificateV3Args{
			Certificate: pulumi.String(`-----BEGIN CERTIFICATE-----
MIIB4TCCAYugAwIBAgIUPXCpWJCiy5mI79NIfenl5KNWPzkwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMTExMDIxMDM3MjBaFw0yMTEy
MDIxMDM3MjBaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwXDANBgkqhkiG9w0BAQEF
AANLADBIAkEAu+qgVpV6mqbaGW1Qn6eDPzhwentQPPiXwG1665M9+gjW4pUQ0Rud
Bc0fkUU/O+Q0UMT8ZV/I2hSenCVyJoyPEwIDAQABo1MwUTAdBgNVHQ4EFgQUtItI
IAXZDIEfuvCX7AY3s//wlI8wHwYDVR0jBBgwFoAUtItIIAXZDIEfuvCX7AY3s//w
lI8wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAANBAEkgP/JlpVKc4j+Z
KRcMa7RAXYJqCbRxtpqRU7OOAhDmBnldtS5CTMoh1r7TOGMfM1Npa+kGV5QnjRzI
FzFSymo=
-----END CERTIFICATE-----

`),
			Description: pulumi.String("terraform test certificate"),
			Domain:      pulumi.String("www.elb.com"),
			PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----
MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAu+qgVpV6mqbaGW1Q
n6eDPzhwentQPPiXwG1665M9+gjW4pUQ0RudBc0fkUU/O+Q0UMT8ZV/I2hSenCVy
JoyPEwIDAQABAkAbyksEAv8qt9oxQHVX5xIF23bm5i2rlqf6kTZIeHIF89/NNJ2E
sejiqFIWqPc5a00Scn+ymdCvjC25JVyup9cBAiEA4a+7WhPmgS54yNHjwkG2pflz
cfH1V7qPqlBKIGLwZbMCIQDVKCsZ6eoNdQoLVmK0zii8XDCgL8HWMrm/bytbYM9B
IQIgVdcAXKebEeF6IW/rwDQ8Y2644UsVdTPJdw8o0p6vLw8CIDqm191EiPt09fOS
rIxVoc3ajCK3oV2ADa5IN6ToKX8hAiBPuNCCIYcZz0tAzWX7I1OYMI3UhJjtrESg
mYFrsJ4gHw==
-----END RSA PRIVATE KEY-----

`),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var certificate1 = new Opentelekomcloud.LbCertificateV3("certificate1", new()
    {
        Certificate = @"-----BEGIN CERTIFICATE-----
MIIB4TCCAYugAwIBAgIUPXCpWJCiy5mI79NIfenl5KNWPzkwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMTExMDIxMDM3MjBaFw0yMTEy
MDIxMDM3MjBaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwXDANBgkqhkiG9w0BAQEF
AANLADBIAkEAu+qgVpV6mqbaGW1Qn6eDPzhwentQPPiXwG1665M9+gjW4pUQ0Rud
Bc0fkUU/O+Q0UMT8ZV/I2hSenCVyJoyPEwIDAQABo1MwUTAdBgNVHQ4EFgQUtItI
IAXZDIEfuvCX7AY3s//wlI8wHwYDVR0jBBgwFoAUtItIIAXZDIEfuvCX7AY3s//w
lI8wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAANBAEkgP/JlpVKc4j+Z
KRcMa7RAXYJqCbRxtpqRU7OOAhDmBnldtS5CTMoh1r7TOGMfM1Npa+kGV5QnjRzI
FzFSymo=
-----END CERTIFICATE-----

",
        Description = "terraform test certificate",
        Domain = "www.elb.com",
        PrivateKey = @"-----BEGIN RSA PRIVATE KEY-----
MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAu+qgVpV6mqbaGW1Q
n6eDPzhwentQPPiXwG1665M9+gjW4pUQ0RudBc0fkUU/O+Q0UMT8ZV/I2hSenCVy
JoyPEwIDAQABAkAbyksEAv8qt9oxQHVX5xIF23bm5i2rlqf6kTZIeHIF89/NNJ2E
sejiqFIWqPc5a00Scn+ymdCvjC25JVyup9cBAiEA4a+7WhPmgS54yNHjwkG2pflz
cfH1V7qPqlBKIGLwZbMCIQDVKCsZ6eoNdQoLVmK0zii8XDCgL8HWMrm/bytbYM9B
IQIgVdcAXKebEeF6IW/rwDQ8Y2644UsVdTPJdw8o0p6vLw8CIDqm191EiPt09fOS
rIxVoc3ajCK3oV2ADa5IN6ToKX8hAiBPuNCCIYcZz0tAzWX7I1OYMI3UhJjtrESg
mYFrsJ4gHw==
-----END RSA PRIVATE KEY-----

",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.LbCertificateV3;
import com.pulumi.opentelekomcloud.LbCertificateV3Args;
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 certificate1 = new LbCertificateV3("certificate1", LbCertificateV3Args.builder()
            .certificate("""
-----BEGIN CERTIFICATE-----
MIIB4TCCAYugAwIBAgIUPXCpWJCiy5mI79NIfenl5KNWPzkwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMTExMDIxMDM3MjBaFw0yMTEy
MDIxMDM3MjBaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwXDANBgkqhkiG9w0BAQEF
AANLADBIAkEAu+qgVpV6mqbaGW1Qn6eDPzhwentQPPiXwG1665M9+gjW4pUQ0Rud
Bc0fkUU/O+Q0UMT8ZV/I2hSenCVyJoyPEwIDAQABo1MwUTAdBgNVHQ4EFgQUtItI
IAXZDIEfuvCX7AY3s//wlI8wHwYDVR0jBBgwFoAUtItIIAXZDIEfuvCX7AY3s//w
lI8wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAANBAEkgP/JlpVKc4j+Z
KRcMa7RAXYJqCbRxtpqRU7OOAhDmBnldtS5CTMoh1r7TOGMfM1Npa+kGV5QnjRzI
FzFSymo=
-----END CERTIFICATE-----

            """)
            .description("terraform test certificate")
            .domain("www.elb.com")
            .privateKey("""
-----BEGIN RSA PRIVATE KEY-----
MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAu+qgVpV6mqbaGW1Q
n6eDPzhwentQPPiXwG1665M9+gjW4pUQ0RudBc0fkUU/O+Q0UMT8ZV/I2hSenCVy
JoyPEwIDAQABAkAbyksEAv8qt9oxQHVX5xIF23bm5i2rlqf6kTZIeHIF89/NNJ2E
sejiqFIWqPc5a00Scn+ymdCvjC25JVyup9cBAiEA4a+7WhPmgS54yNHjwkG2pflz
cfH1V7qPqlBKIGLwZbMCIQDVKCsZ6eoNdQoLVmK0zii8XDCgL8HWMrm/bytbYM9B
IQIgVdcAXKebEeF6IW/rwDQ8Y2644UsVdTPJdw8o0p6vLw8CIDqm191EiPt09fOS
rIxVoc3ajCK3oV2ADa5IN6ToKX8hAiBPuNCCIYcZz0tAzWX7I1OYMI3UhJjtrESg
mYFrsJ4gHw==
-----END RSA PRIVATE KEY-----

            """)
            .build());

    }
}
Copy
resources:
  certificate1:
    type: opentelekomcloud:LbCertificateV3
    properties:
      certificate: |+
        -----BEGIN CERTIFICATE-----
        MIIB4TCCAYugAwIBAgIUPXCpWJCiy5mI79NIfenl5KNWPzkwDQYJKoZIhvcNAQEL
        BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
        GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMTExMDIxMDM3MjBaFw0yMTEy
        MDIxMDM3MjBaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
        HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwXDANBgkqhkiG9w0BAQEF
        AANLADBIAkEAu+qgVpV6mqbaGW1Qn6eDPzhwentQPPiXwG1665M9+gjW4pUQ0Rud
        Bc0fkUU/O+Q0UMT8ZV/I2hSenCVyJoyPEwIDAQABo1MwUTAdBgNVHQ4EFgQUtItI
        IAXZDIEfuvCX7AY3s//wlI8wHwYDVR0jBBgwFoAUtItIIAXZDIEfuvCX7AY3s//w
        lI8wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAANBAEkgP/JlpVKc4j+Z
        KRcMa7RAXYJqCbRxtpqRU7OOAhDmBnldtS5CTMoh1r7TOGMfM1Npa+kGV5QnjRzI
        FzFSymo=
        -----END CERTIFICATE-----        

      description: terraform test certificate
      domain: www.elb.com
      privateKey: |+
        -----BEGIN RSA PRIVATE KEY-----
        MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAu+qgVpV6mqbaGW1Q
        n6eDPzhwentQPPiXwG1665M9+gjW4pUQ0RudBc0fkUU/O+Q0UMT8ZV/I2hSenCVy
        JoyPEwIDAQABAkAbyksEAv8qt9oxQHVX5xIF23bm5i2rlqf6kTZIeHIF89/NNJ2E
        sejiqFIWqPc5a00Scn+ymdCvjC25JVyup9cBAiEA4a+7WhPmgS54yNHjwkG2pflz
        cfH1V7qPqlBKIGLwZbMCIQDVKCsZ6eoNdQoLVmK0zii8XDCgL8HWMrm/bytbYM9B
        IQIgVdcAXKebEeF6IW/rwDQ8Y2644UsVdTPJdw8o0p6vLw8CIDqm191EiPt09fOS
        rIxVoc3ajCK3oV2ADa5IN6ToKX8hAiBPuNCCIYcZz0tAzWX7I1OYMI3UhJjtrESg
        mYFrsJ4gHw==
        -----END RSA PRIVATE KEY-----        
Copy

Create LbCertificateV3 Resource

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

Constructor syntax

new LbCertificateV3(name: string, args: LbCertificateV3Args, opts?: CustomResourceOptions);
@overload
def LbCertificateV3(resource_name: str,
                    args: LbCertificateV3Args,
                    opts: Optional[ResourceOptions] = None)

@overload
def LbCertificateV3(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    certificate: Optional[str] = None,
                    description: Optional[str] = None,
                    domain: Optional[str] = None,
                    lb_certificate_v3_id: Optional[str] = None,
                    name: Optional[str] = None,
                    private_key: Optional[str] = None,
                    region: Optional[str] = None,
                    type: Optional[str] = None)
func NewLbCertificateV3(ctx *Context, name string, args LbCertificateV3Args, opts ...ResourceOption) (*LbCertificateV3, error)
public LbCertificateV3(string name, LbCertificateV3Args args, CustomResourceOptions? opts = null)
public LbCertificateV3(String name, LbCertificateV3Args args)
public LbCertificateV3(String name, LbCertificateV3Args args, CustomResourceOptions options)
type: opentelekomcloud:LbCertificateV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var lbCertificateV3Resource = new Opentelekomcloud.LbCertificateV3("lbCertificateV3Resource", new()
{
    Certificate = "string",
    Description = "string",
    Domain = "string",
    LbCertificateV3Id = "string",
    Name = "string",
    PrivateKey = "string",
    Region = "string",
    Type = "string",
});
Copy
example, err := opentelekomcloud.NewLbCertificateV3(ctx, "lbCertificateV3Resource", &opentelekomcloud.LbCertificateV3Args{
Certificate: pulumi.String("string"),
Description: pulumi.String("string"),
Domain: pulumi.String("string"),
LbCertificateV3Id: pulumi.String("string"),
Name: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
Region: pulumi.String("string"),
Type: pulumi.String("string"),
})
Copy
var lbCertificateV3Resource = new LbCertificateV3("lbCertificateV3Resource", LbCertificateV3Args.builder()
    .certificate("string")
    .description("string")
    .domain("string")
    .lbCertificateV3Id("string")
    .name("string")
    .privateKey("string")
    .region("string")
    .type("string")
    .build());
Copy
lb_certificate_v3_resource = opentelekomcloud.LbCertificateV3("lbCertificateV3Resource",
    certificate="string",
    description="string",
    domain="string",
    lb_certificate_v3_id="string",
    name="string",
    private_key="string",
    region="string",
    type="string")
Copy
const lbCertificateV3Resource = new opentelekomcloud.LbCertificateV3("lbCertificateV3Resource", {
    certificate: "string",
    description: "string",
    domain: "string",
    lbCertificateV3Id: "string",
    name: "string",
    privateKey: "string",
    region: "string",
    type: "string",
});
Copy
type: opentelekomcloud:LbCertificateV3
properties:
    certificate: string
    description: string
    domain: string
    lbCertificateV3Id: string
    name: string
    privateKey: string
    region: string
    type: string
Copy

LbCertificateV3 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 LbCertificateV3 resource accepts the following input properties:

Certificate This property is required. string
The public encrypted key of the Certificate, PEM format.
Description string
Provides supplementary information about the certificate.
Domain string
The domain of the Certificate.
LbCertificateV3Id string
Name string
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
PrivateKey string
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
Region string
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
Type string
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
Certificate This property is required. string
The public encrypted key of the Certificate, PEM format.
Description string
Provides supplementary information about the certificate.
Domain string
The domain of the Certificate.
LbCertificateV3Id string
Name string
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
PrivateKey string
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
Region string
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
Type string
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
certificate This property is required. String
The public encrypted key of the Certificate, PEM format.
description String
Provides supplementary information about the certificate.
domain String
The domain of the Certificate.
lbCertificateV3Id String
name String
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
privateKey String
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region String
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type String
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
certificate This property is required. string
The public encrypted key of the Certificate, PEM format.
description string
Provides supplementary information about the certificate.
domain string
The domain of the Certificate.
lbCertificateV3Id string
name string
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
privateKey string
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region string
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type string
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
certificate This property is required. str
The public encrypted key of the Certificate, PEM format.
description str
Provides supplementary information about the certificate.
domain str
The domain of the Certificate.
lb_certificate_v3_id str
name str
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
private_key str
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region str
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type str
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
certificate This property is required. String
The public encrypted key of the Certificate, PEM format.
description String
Provides supplementary information about the certificate.
domain String
The domain of the Certificate.
lbCertificateV3Id String
name String
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
privateKey String
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region String
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type String
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.

Outputs

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

CreatedAt string
ExpireTime string
Indicates the expiration time.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
Indicates the update time.
CreatedAt string
ExpireTime string
Indicates the expiration time.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
Indicates the update time.
createdAt String
expireTime String
Indicates the expiration time.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
Indicates the update time.
createdAt string
expireTime string
Indicates the expiration time.
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
Indicates the update time.
created_at str
expire_time str
Indicates the expiration time.
id str
The provider-assigned unique ID for this managed resource.
updated_at str
Indicates the update time.
createdAt String
expireTime String
Indicates the expiration time.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
Indicates the update time.

Look up Existing LbCertificateV3 Resource

Get an existing LbCertificateV3 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?: LbCertificateV3State, opts?: CustomResourceOptions): LbCertificateV3
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        certificate: Optional[str] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        domain: Optional[str] = None,
        expire_time: Optional[str] = None,
        lb_certificate_v3_id: Optional[str] = None,
        name: Optional[str] = None,
        private_key: Optional[str] = None,
        region: Optional[str] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None) -> LbCertificateV3
func GetLbCertificateV3(ctx *Context, name string, id IDInput, state *LbCertificateV3State, opts ...ResourceOption) (*LbCertificateV3, error)
public static LbCertificateV3 Get(string name, Input<string> id, LbCertificateV3State? state, CustomResourceOptions? opts = null)
public static LbCertificateV3 get(String name, Output<String> id, LbCertificateV3State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:LbCertificateV3    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 string
The public encrypted key of the Certificate, PEM format.
CreatedAt string
Description string
Provides supplementary information about the certificate.
Domain string
The domain of the Certificate.
ExpireTime string
Indicates the expiration time.
LbCertificateV3Id string
Name string
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
PrivateKey string
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
Region string
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
Type string
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
UpdatedAt string
Indicates the update time.
Certificate string
The public encrypted key of the Certificate, PEM format.
CreatedAt string
Description string
Provides supplementary information about the certificate.
Domain string
The domain of the Certificate.
ExpireTime string
Indicates the expiration time.
LbCertificateV3Id string
Name string
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
PrivateKey string
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
Region string
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
Type string
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
UpdatedAt string
Indicates the update time.
certificate String
The public encrypted key of the Certificate, PEM format.
createdAt String
description String
Provides supplementary information about the certificate.
domain String
The domain of the Certificate.
expireTime String
Indicates the expiration time.
lbCertificateV3Id String
name String
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
privateKey String
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region String
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type String
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
updatedAt String
Indicates the update time.
certificate string
The public encrypted key of the Certificate, PEM format.
createdAt string
description string
Provides supplementary information about the certificate.
domain string
The domain of the Certificate.
expireTime string
Indicates the expiration time.
lbCertificateV3Id string
name string
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
privateKey string
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region string
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type string
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
updatedAt string
Indicates the update time.
certificate str
The public encrypted key of the Certificate, PEM format.
created_at str
description str
Provides supplementary information about the certificate.
domain str
The domain of the Certificate.
expire_time str
Indicates the expiration time.
lb_certificate_v3_id str
name str
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
private_key str
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region str
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type str
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
updated_at str
Indicates the update time.
certificate String
The public encrypted key of the Certificate, PEM format.
createdAt String
description String
Provides supplementary information about the certificate.
domain String
The domain of the Certificate.
expireTime String
Indicates the expiration time.
lbCertificateV3Id String
name String
Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
privateKey String
The private encrypted key of the Certificate, PEM format. Required for certificates of type server.
region String
The region in which to obtain the V3 ELB client. An ELB client is needed to create an LB certificate. If omitted, the region argument of the provider is used. Changing this creates a new LB certificate.
type String
The type of certificate the container holds. Either server or client. Defaults to server if not set. Changing this creates a new LB certificate.
updatedAt String
Indicates the update time.

Import

Certificates can be imported using the id, e.g.

$ pulumi import opentelekomcloud:index/lbCertificateV3:LbCertificateV3 certificate_1 7117d38e-4c8f-4624-a505-bd96b97d024c
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.