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-----
`,
});
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-----
""")
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
})
}
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-----
",
});
});
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());
}
}
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-----
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 string
- The unique name of the resource.
- args LbCertificateV3Args
- 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 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 string
- The unique name of the resource.
- args LbCertificateV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbCertificateV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var lbCertificateV3Resource = new LbCertificateV3("lbCertificateV3Resource", LbCertificateV3Args.builder()
.certificate("string")
.description("string")
.domain("string")
.lbCertificateV3Id("string")
.name("string")
.privateKey("string")
.region("string")
.type("string")
.build());
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")
const lbCertificateV3Resource = new opentelekomcloud.LbCertificateV3("lbCertificateV3Resource", {
certificate: "string",
description: "string",
domain: "string",
lbCertificateV3Id: "string",
name: "string",
privateKey: "string",
region: "string",
type: "string",
});
type: opentelekomcloud:LbCertificateV3
properties:
certificate: string
description: string
domain: string
lbCertificateV3Id: string
name: string
privateKey: string
region: string
type: string
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 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.
- Lb
Certificate stringV3Id - Name string
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- Private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate.
- Certificate 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.
- Lb
Certificate stringV3Id - Name string
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- Private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate.
- certificate 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.
- lb
Certificate StringV3Id - name String
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate.
- certificate 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.
- lb
Certificate stringV3Id - name string
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate.
- certificate 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_ strv3_ id - 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate.
- certificate 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.
- lb
Certificate StringV3Id - name String
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- private
Key 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
orclient
. Defaults toserver
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:
- Created
At string - Expire
Time string - Indicates the expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - Indicates the update time.
- Created
At string - Expire
Time string - Indicates the expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - Indicates the update time.
- created
At String - expire
Time String - Indicates the expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - Indicates the update time.
- created
At string - expire
Time string - Indicates the expiration time.
- id string
- The provider-assigned unique ID for this managed resource.
- updated
At 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.
- created
At String - expire
Time String - Indicates the expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At 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
- 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 string
- The public encrypted key of the Certificate, PEM format.
- Created
At string - Description string
- Provides supplementary information about the certificate.
- Domain string
- The domain of the Certificate.
- Expire
Time string - Indicates the expiration time.
- Lb
Certificate stringV3Id - Name string
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- Private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - Updated
At string - Indicates the update time.
- Certificate string
- The public encrypted key of the Certificate, PEM format.
- Created
At string - Description string
- Provides supplementary information about the certificate.
- Domain string
- The domain of the Certificate.
- Expire
Time string - Indicates the expiration time.
- Lb
Certificate stringV3Id - Name string
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- Private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - Updated
At string - Indicates the update time.
- certificate String
- The public encrypted key of the Certificate, PEM format.
- created
At String - description String
- Provides supplementary information about the certificate.
- domain String
- The domain of the Certificate.
- expire
Time String - Indicates the expiration time.
- lb
Certificate StringV3Id - name String
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - updated
At String - Indicates the update time.
- certificate string
- The public encrypted key of the Certificate, PEM format.
- created
At string - description string
- Provides supplementary information about the certificate.
- domain string
- The domain of the Certificate.
- expire
Time string - Indicates the expiration time.
- lb
Certificate stringV3Id - name string
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - updated
At 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_ strv3_ id - 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
orclient
. Defaults toserver
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.
- created
At String - description String
- Provides supplementary information about the certificate.
- domain String
- The domain of the Certificate.
- expire
Time String - Indicates the expiration time.
- lb
Certificate StringV3Id - name String
- Specifies the certificate name. Only letters, digits, underscores, and hyphens are allowed.
- private
Key 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
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - updated
At 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
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.