opentelekomcloud.LbCertificateV2
Explore with Pulumi AI
Up-to-date reference of API arguments for ELB certificate you can get at documentation portal
Manages a V2 certificate resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const certificate1 = new opentelekomcloud.LbCertificateV2("certificate1", {
certificate: `-----BEGIN CERTIFICATE-----
MIIDpTCCAo2gAwIBAgIJAKdmmOBYnFvoMA0GCSqGSIb3DQEBCwUAMGkxCzAJBgNV
BAYTAnh4MQswCQYDVQQIDAJ4eDELMAkGA1UEBwwCeHgxCzAJBgNVBAoMAnh4MQsw
CQYDVQQLDAJ4eDELMAkGA1UEAwwCeHgxGTAXBgkqhkiG9w0BCQEWCnh4QDE2My5j
b20wHhcNMTcxMjA0MDM0MjQ5WhcNMjAxMjAzMDM0MjQ5WjBpMQswCQYDVQQGEwJ4
eDELMAkGA1UECAwCeHgxCzAJBgNVBAcMAnh4MQswCQYDVQQKDAJ4eDELMAkGA1UE
CwwCeHgxCzAJBgNVBAMMAnh4MRkwFwYJKoZIhvcNAQkBFgp4eEAxNjMuY29tMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN
2s8tZ/6LC3X82fajpVsYqF1xqEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYld
iE6Vp8HH5BSKaCWKVg8lGWg1UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb
3iyNBmiZ8aZhGw2pI1YwR+15MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dz
Q8z1JXWdg8/9Zx7Ktvgwu5PQM3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5
mf2DPkVgM08XAgaLJcLigwD513koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwID
AQABo1AwTjAdBgNVHQ4EFgQUo5A2tIu+bcUfvGTD7wmEkhXKFjcwHwYDVR0jBBgw
FoAUo5A2tIu+bcUfvGTD7wmEkhXKFjcwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B
AQsFAAOCAQEAWJ2rS6Mvlqk3GfEpboezx2J3X7l1z8Sxoqg6ntwB+rezvK3mc9H0
83qcVeUcoH+0A0lSHyFN4FvRQL6X1hEheHarYwJK4agb231vb5erasuGO463eYEG
r4SfTuOm7SyiV2xxbaBKrXJtpBp4WLL/s+LF+nklKjaOxkmxUX0sM4CTA7uFJypY
c8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA
i34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic
i1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==
-----END CERTIFICATE-----
`,
description: "terraform test certificate",
domain: "www.elb.com",
privateKey: `-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x
qEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1
UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15
MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ
M3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5
13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA
DRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx
Nwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg
iMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3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
`,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
certificate1 = opentelekomcloud.LbCertificateV2("certificate1",
certificate="""-----BEGIN CERTIFICATE-----
MIIDpTCCAo2gAwIBAgIJAKdmmOBYnFvoMA0GCSqGSIb3DQEBCwUAMGkxCzAJBgNV
BAYTAnh4MQswCQYDVQQIDAJ4eDELMAkGA1UEBwwCeHgxCzAJBgNVBAoMAnh4MQsw
CQYDVQQLDAJ4eDELMAkGA1UEAwwCeHgxGTAXBgkqhkiG9w0BCQEWCnh4QDE2My5j
b20wHhcNMTcxMjA0MDM0MjQ5WhcNMjAxMjAzMDM0MjQ5WjBpMQswCQYDVQQGEwJ4
eDELMAkGA1UECAwCeHgxCzAJBgNVBAcMAnh4MQswCQYDVQQKDAJ4eDELMAkGA1UE
CwwCeHgxCzAJBgNVBAMMAnh4MRkwFwYJKoZIhvcNAQkBFgp4eEAxNjMuY29tMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN
2s8tZ/6LC3X82fajpVsYqF1xqEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYld
iE6Vp8HH5BSKaCWKVg8lGWg1UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb
3iyNBmiZ8aZhGw2pI1YwR+15MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dz
Q8z1JXWdg8/9Zx7Ktvgwu5PQM3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5
mf2DPkVgM08XAgaLJcLigwD513koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwID
AQABo1AwTjAdBgNVHQ4EFgQUo5A2tIu+bcUfvGTD7wmEkhXKFjcwHwYDVR0jBBgw
FoAUo5A2tIu+bcUfvGTD7wmEkhXKFjcwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B
AQsFAAOCAQEAWJ2rS6Mvlqk3GfEpboezx2J3X7l1z8Sxoqg6ntwB+rezvK3mc9H0
83qcVeUcoH+0A0lSHyFN4FvRQL6X1hEheHarYwJK4agb231vb5erasuGO463eYEG
r4SfTuOm7SyiV2xxbaBKrXJtpBp4WLL/s+LF+nklKjaOxkmxUX0sM4CTA7uFJypY
c8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA
i34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic
i1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==
-----END CERTIFICATE-----
""",
description="terraform test certificate",
domain="www.elb.com",
private_key="""-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x
qEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1
UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15
MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ
M3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5
13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA
DRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx
Nwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg
iMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3e5Ke0gPVXEqCq1O11/
rh24bMxnwZo4PKBWdcMBN5Zf/4ij9vrZE+fFzW7vGBO48A5lvZxWU2U5t/OZQRtN
1uLOHmMFa0FIF2aWbTVfwdUWAFsvAOkHj9VV8BXOUwKOUuEktdkfAlvrxmsFrO/H
yDeYYPkCgYEA/S55CBbR0sMXpSZ56uRn8JHApZJhgkgvYr+FqDlJq/e92nAzf01P
RoEBUajwrnf1ycevN/SDfbtWzq2XJGqhWdJmtpO16b7KBsC6BdRcH6dnOYh31jgA
vABMIP3wzI4zSVTyxRE8LDuboytF1mSCeV5tHYPQTZNwrplDnLQhywcCgYEAw8Yc
Uk/eiFr3hfH/ZohMfV5p82Qp7DNIGRzw8YtVG/3+vNXrAXW1VhugNhQY6L+zLtJC
aKn84ooup0m3YCg0hvINqJuvzfsuzQgtjTXyaE0cEwsjUusOmiuj09vVx/3U7siK
Hdjd2ICPCvQ6Q8tdi8jV320gMs05AtaBkZdsiWUCgYEAtLw4Kk4f+xTKDFsrLUNf
75wcqhWVBiwBp7yQ7UX4EYsJPKZcHMRTk0EEcAbpyaJZE3I44vjp5ReXIHNLMfPs
uvI34J4Rfot0LN3n7cFrAi2+wpNo+MOBwrNzpRmijGP2uKKrq4JiMjFbKV/6utGF
Up7VxfwS904JYpqGaZctiIECgYA1A6nZtF0riY6ry/uAdXpZHL8ONNqRZtWoT0kD
79otSVu5ISiRbaGcXsDExC52oKrSDAgFtbqQUiEOFg09UcXfoR6HwRkba2CiDwve
yHQLQI5Qrdxz8Mk0gIrNrSM4FAmcW9vi9z4kCbQyoC5C+4gqeUlJRpDIkQBWP2Y4
2ct/bQKBgHv8qCsQTZphOxc31BJPa2xVhuv18cEU3XLUrVfUZ/1f43JhLp7gynS2
ep++LKUi9D0VGXY8bqvfJjbECoCeu85vl8NpCXwe/LoVoIn+7KaVIZMwqoGMfgNl
nEqm7HWkNxHhf8A6En/IjleuddS1sf9e/x+TJN1Xhnt9W6pe7Fk1
-----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.NewLbCertificateV2(ctx, "certificate1", &opentelekomcloud.LbCertificateV2Args{
Certificate: pulumi.String(`-----BEGIN CERTIFICATE-----
MIIDpTCCAo2gAwIBAgIJAKdmmOBYnFvoMA0GCSqGSIb3DQEBCwUAMGkxCzAJBgNV
BAYTAnh4MQswCQYDVQQIDAJ4eDELMAkGA1UEBwwCeHgxCzAJBgNVBAoMAnh4MQsw
CQYDVQQLDAJ4eDELMAkGA1UEAwwCeHgxGTAXBgkqhkiG9w0BCQEWCnh4QDE2My5j
b20wHhcNMTcxMjA0MDM0MjQ5WhcNMjAxMjAzMDM0MjQ5WjBpMQswCQYDVQQGEwJ4
eDELMAkGA1UECAwCeHgxCzAJBgNVBAcMAnh4MQswCQYDVQQKDAJ4eDELMAkGA1UE
CwwCeHgxCzAJBgNVBAMMAnh4MRkwFwYJKoZIhvcNAQkBFgp4eEAxNjMuY29tMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN
2s8tZ/6LC3X82fajpVsYqF1xqEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYld
iE6Vp8HH5BSKaCWKVg8lGWg1UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb
3iyNBmiZ8aZhGw2pI1YwR+15MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dz
Q8z1JXWdg8/9Zx7Ktvgwu5PQM3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5
mf2DPkVgM08XAgaLJcLigwD513koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwID
AQABo1AwTjAdBgNVHQ4EFgQUo5A2tIu+bcUfvGTD7wmEkhXKFjcwHwYDVR0jBBgw
FoAUo5A2tIu+bcUfvGTD7wmEkhXKFjcwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B
AQsFAAOCAQEAWJ2rS6Mvlqk3GfEpboezx2J3X7l1z8Sxoqg6ntwB+rezvK3mc9H0
83qcVeUcoH+0A0lSHyFN4FvRQL6X1hEheHarYwJK4agb231vb5erasuGO463eYEG
r4SfTuOm7SyiV2xxbaBKrXJtpBp4WLL/s+LF+nklKjaOxkmxUX0sM4CTA7uFJypY
c8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA
i34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic
i1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==
-----END CERTIFICATE-----
`),
Description: pulumi.String("terraform test certificate"),
Domain: pulumi.String("www.elb.com"),
PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x
qEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1
UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15
MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ
M3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5
13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA
DRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx
Nwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg
iMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3e5Ke0gPVXEqCq1O11/
rh24bMxnwZo4PKBWdcMBN5Zf/4ij9vrZE+fFzW7vGBO48A5lvZxWU2U5t/OZQRtN
1uLOHmMFa0FIF2aWbTVfwdUWAFsvAOkHj9VV8BXOUwKOUuEktdkfAlvrxmsFrO/H
yDeYYPkCgYEA/S55CBbR0sMXpSZ56uRn8JHApZJhgkgvYr+FqDlJq/e92nAzf01P
RoEBUajwrnf1ycevN/SDfbtWzq2XJGqhWdJmtpO16b7KBsC6BdRcH6dnOYh31jgA
vABMIP3wzI4zSVTyxRE8LDuboytF1mSCeV5tHYPQTZNwrplDnLQhywcCgYEAw8Yc
Uk/eiFr3hfH/ZohMfV5p82Qp7DNIGRzw8YtVG/3+vNXrAXW1VhugNhQY6L+zLtJC
aKn84ooup0m3YCg0hvINqJuvzfsuzQgtjTXyaE0cEwsjUusOmiuj09vVx/3U7siK
Hdjd2ICPCvQ6Q8tdi8jV320gMs05AtaBkZdsiWUCgYEAtLw4Kk4f+xTKDFsrLUNf
75wcqhWVBiwBp7yQ7UX4EYsJPKZcHMRTk0EEcAbpyaJZE3I44vjp5ReXIHNLMfPs
uvI34J4Rfot0LN3n7cFrAi2+wpNo+MOBwrNzpRmijGP2uKKrq4JiMjFbKV/6utGF
Up7VxfwS904JYpqGaZctiIECgYA1A6nZtF0riY6ry/uAdXpZHL8ONNqRZtWoT0kD
79otSVu5ISiRbaGcXsDExC52oKrSDAgFtbqQUiEOFg09UcXfoR6HwRkba2CiDwve
yHQLQI5Qrdxz8Mk0gIrNrSM4FAmcW9vi9z4kCbQyoC5C+4gqeUlJRpDIkQBWP2Y4
2ct/bQKBgHv8qCsQTZphOxc31BJPa2xVhuv18cEU3XLUrVfUZ/1f43JhLp7gynS2
ep++LKUi9D0VGXY8bqvfJjbECoCeu85vl8NpCXwe/LoVoIn+7KaVIZMwqoGMfgNl
nEqm7HWkNxHhf8A6En/IjleuddS1sf9e/x+TJN1Xhnt9W6pe7Fk1
-----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.LbCertificateV2("certificate1", new()
{
Certificate = @"-----BEGIN CERTIFICATE-----
MIIDpTCCAo2gAwIBAgIJAKdmmOBYnFvoMA0GCSqGSIb3DQEBCwUAMGkxCzAJBgNV
BAYTAnh4MQswCQYDVQQIDAJ4eDELMAkGA1UEBwwCeHgxCzAJBgNVBAoMAnh4MQsw
CQYDVQQLDAJ4eDELMAkGA1UEAwwCeHgxGTAXBgkqhkiG9w0BCQEWCnh4QDE2My5j
b20wHhcNMTcxMjA0MDM0MjQ5WhcNMjAxMjAzMDM0MjQ5WjBpMQswCQYDVQQGEwJ4
eDELMAkGA1UECAwCeHgxCzAJBgNVBAcMAnh4MQswCQYDVQQKDAJ4eDELMAkGA1UE
CwwCeHgxCzAJBgNVBAMMAnh4MRkwFwYJKoZIhvcNAQkBFgp4eEAxNjMuY29tMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN
2s8tZ/6LC3X82fajpVsYqF1xqEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYld
iE6Vp8HH5BSKaCWKVg8lGWg1UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb
3iyNBmiZ8aZhGw2pI1YwR+15MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dz
Q8z1JXWdg8/9Zx7Ktvgwu5PQM3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5
mf2DPkVgM08XAgaLJcLigwD513koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwID
AQABo1AwTjAdBgNVHQ4EFgQUo5A2tIu+bcUfvGTD7wmEkhXKFjcwHwYDVR0jBBgw
FoAUo5A2tIu+bcUfvGTD7wmEkhXKFjcwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B
AQsFAAOCAQEAWJ2rS6Mvlqk3GfEpboezx2J3X7l1z8Sxoqg6ntwB+rezvK3mc9H0
83qcVeUcoH+0A0lSHyFN4FvRQL6X1hEheHarYwJK4agb231vb5erasuGO463eYEG
r4SfTuOm7SyiV2xxbaBKrXJtpBp4WLL/s+LF+nklKjaOxkmxUX0sM4CTA7uFJypY
c8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA
i34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic
i1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==
-----END CERTIFICATE-----
",
Description = "terraform test certificate",
Domain = "www.elb.com",
PrivateKey = @"-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x
qEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1
UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15
MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ
M3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5
13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA
DRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx
Nwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg
iMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3e5Ke0gPVXEqCq1O11/
rh24bMxnwZo4PKBWdcMBN5Zf/4ij9vrZE+fFzW7vGBO48A5lvZxWU2U5t/OZQRtN
1uLOHmMFa0FIF2aWbTVfwdUWAFsvAOkHj9VV8BXOUwKOUuEktdkfAlvrxmsFrO/H
yDeYYPkCgYEA/S55CBbR0sMXpSZ56uRn8JHApZJhgkgvYr+FqDlJq/e92nAzf01P
RoEBUajwrnf1ycevN/SDfbtWzq2XJGqhWdJmtpO16b7KBsC6BdRcH6dnOYh31jgA
vABMIP3wzI4zSVTyxRE8LDuboytF1mSCeV5tHYPQTZNwrplDnLQhywcCgYEAw8Yc
Uk/eiFr3hfH/ZohMfV5p82Qp7DNIGRzw8YtVG/3+vNXrAXW1VhugNhQY6L+zLtJC
aKn84ooup0m3YCg0hvINqJuvzfsuzQgtjTXyaE0cEwsjUusOmiuj09vVx/3U7siK
Hdjd2ICPCvQ6Q8tdi8jV320gMs05AtaBkZdsiWUCgYEAtLw4Kk4f+xTKDFsrLUNf
75wcqhWVBiwBp7yQ7UX4EYsJPKZcHMRTk0EEcAbpyaJZE3I44vjp5ReXIHNLMfPs
uvI34J4Rfot0LN3n7cFrAi2+wpNo+MOBwrNzpRmijGP2uKKrq4JiMjFbKV/6utGF
Up7VxfwS904JYpqGaZctiIECgYA1A6nZtF0riY6ry/uAdXpZHL8ONNqRZtWoT0kD
79otSVu5ISiRbaGcXsDExC52oKrSDAgFtbqQUiEOFg09UcXfoR6HwRkba2CiDwve
yHQLQI5Qrdxz8Mk0gIrNrSM4FAmcW9vi9z4kCbQyoC5C+4gqeUlJRpDIkQBWP2Y4
2ct/bQKBgHv8qCsQTZphOxc31BJPa2xVhuv18cEU3XLUrVfUZ/1f43JhLp7gynS2
ep++LKUi9D0VGXY8bqvfJjbECoCeu85vl8NpCXwe/LoVoIn+7KaVIZMwqoGMfgNl
nEqm7HWkNxHhf8A6En/IjleuddS1sf9e/x+TJN1Xhnt9W6pe7Fk1
-----END RSA PRIVATE KEY-----
",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.LbCertificateV2;
import com.pulumi.opentelekomcloud.LbCertificateV2Args;
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 LbCertificateV2("certificate1", LbCertificateV2Args.builder()
.certificate("""
-----BEGIN CERTIFICATE-----
MIIDpTCCAo2gAwIBAgIJAKdmmOBYnFvoMA0GCSqGSIb3DQEBCwUAMGkxCzAJBgNV
BAYTAnh4MQswCQYDVQQIDAJ4eDELMAkGA1UEBwwCeHgxCzAJBgNVBAoMAnh4MQsw
CQYDVQQLDAJ4eDELMAkGA1UEAwwCeHgxGTAXBgkqhkiG9w0BCQEWCnh4QDE2My5j
b20wHhcNMTcxMjA0MDM0MjQ5WhcNMjAxMjAzMDM0MjQ5WjBpMQswCQYDVQQGEwJ4
eDELMAkGA1UECAwCeHgxCzAJBgNVBAcMAnh4MQswCQYDVQQKDAJ4eDELMAkGA1UE
CwwCeHgxCzAJBgNVBAMMAnh4MRkwFwYJKoZIhvcNAQkBFgp4eEAxNjMuY29tMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN
2s8tZ/6LC3X82fajpVsYqF1xqEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYld
iE6Vp8HH5BSKaCWKVg8lGWg1UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb
3iyNBmiZ8aZhGw2pI1YwR+15MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dz
Q8z1JXWdg8/9Zx7Ktvgwu5PQM3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5
mf2DPkVgM08XAgaLJcLigwD513koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwID
AQABo1AwTjAdBgNVHQ4EFgQUo5A2tIu+bcUfvGTD7wmEkhXKFjcwHwYDVR0jBBgw
FoAUo5A2tIu+bcUfvGTD7wmEkhXKFjcwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B
AQsFAAOCAQEAWJ2rS6Mvlqk3GfEpboezx2J3X7l1z8Sxoqg6ntwB+rezvK3mc9H0
83qcVeUcoH+0A0lSHyFN4FvRQL6X1hEheHarYwJK4agb231vb5erasuGO463eYEG
r4SfTuOm7SyiV2xxbaBKrXJtpBp4WLL/s+LF+nklKjaOxkmxUX0sM4CTA7uFJypY
c8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA
i34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic
i1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==
-----END CERTIFICATE-----
""")
.description("terraform test certificate")
.domain("www.elb.com")
.privateKey("""
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x
qEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1
UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15
MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ
M3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5
13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA
DRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx
Nwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg
iMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3e5Ke0gPVXEqCq1O11/
r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4FvRQL6X1hEheHarYwJK4agb231vb5erasuGO463eYEG
r4SfTuOm7SyiV2xxbaBKrXJtpBp4WLL/s+LF+nklKjaOxkmxUX0sM4CTA7uFJypY
c8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA
i34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic
i1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==
-----END CERTIFICATE-----
description: terraform test certificate
domain: www.elb.com
privateKey: |+
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x
qEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1
UM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15
MVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ
M3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5
13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA
DRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx
Nwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg
iMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3e5Ke0gPVXEqCq1O11/
rh24bMxnwZo4PKBWdcMBN5Zf/4ij9vrZE+fFzW7vGBO48A5lvZxWU2U5t/OZQRtN
1uLOHmMFa0FIF2aWbTVfwdUWAFsvAOkHj9VV8BXOUwKOUuEktdkfAlvrxmsFrO/H
yDeYYPkCgYEA/S55CBbR0sMXpSZ56uRn8JHApZJhgkgvYr+FqDlJq/e92nAzf01P
RoEBUajwrnf1ycevN/SDfbtWzq2XJGqhWdJmtpO16b7KBsC6BdRcH6dnOYh31jgA
vABMIP3wzI4zSVTyxRE8LDuboytF1mSCeV5tHYPQTZNwrplDnLQhywcCgYEAw8Yc
Uk/eiFr3hfH/ZohMfV5p82Qp7DNIGRzw8YtVG/3+vNXrAXW1VhugNhQY6L+zLtJC
aKn84ooup0m3YCg0hvINqJuvzfsuzQgtjTXyaE0cEwsjUusOmiuj09vVx/3U7siK
Hdjd2ICPCvQ6Q8tdi8jV320gMs05AtaBkZdsiWUCgYEAtLw4Kk4f+xTKDFsrLUNf
75wcqhWVBiwBp7yQ7UX4EYsJPKZcHMRTk0EEcAbpyaJZE3I44vjp5ReXIHNLMfPs
uvI34J4Rfot0LN3n7cFrAi2+wpNo+MOBwrNzpRmijGP2uKKrq4JiMjFbKV/6utGF
Up7VxfwS904JYpqGaZctiIECgYA1A6nZtF0riY6ry/uAdXpZHL8ONNqRZtWoT0kD
79otSVu5ISiRbaGcXsDExC52oKrSDAgFtbqQUiEOFg09UcXfoR6HwRkba2CiDwve
yHQLQI5Qrdxz8Mk0gIrNrSM4FAmcW9vi9z4kCbQyoC5C+4gqeUlJRpDIkQBWP2Y4
2ct/bQKBgHv8qCsQTZphOxc31BJPa2xVhuv18cEU3XLUrVfUZ/1f43JhLp7gynS2
ep++LKUi9D0VGXY8bqvfJjbECoCeu85vl8NpCXwe/LoVoIn+7KaVIZMwqoGMfgNl
nEqm7HWkNxHhf8A6En/IjleuddS1sf9e/x+TJN1Xhnt9W6pe7Fk1
-----END RSA PRIVATE KEY-----
Create LbCertificateV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbCertificateV2(name: string, args: LbCertificateV2Args, opts?: CustomResourceOptions);
@overload
def LbCertificateV2(resource_name: str,
args: LbCertificateV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def LbCertificateV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
lb_certificate_v2_id: Optional[str] = None,
name: Optional[str] = None,
private_key: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[LbCertificateV2TimeoutsArgs] = None,
type: Optional[str] = None)
func NewLbCertificateV2(ctx *Context, name string, args LbCertificateV2Args, opts ...ResourceOption) (*LbCertificateV2, error)
public LbCertificateV2(string name, LbCertificateV2Args args, CustomResourceOptions? opts = null)
public LbCertificateV2(String name, LbCertificateV2Args args)
public LbCertificateV2(String name, LbCertificateV2Args args, CustomResourceOptions options)
type: opentelekomcloud:LbCertificateV2
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 LbCertificateV2Args
- 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 LbCertificateV2Args
- 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 LbCertificateV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbCertificateV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbCertificateV2Args
- 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 lbCertificateV2Resource = new Opentelekomcloud.LbCertificateV2("lbCertificateV2Resource", new()
{
Certificate = "string",
Description = "string",
Domain = "string",
LbCertificateV2Id = "string",
Name = "string",
PrivateKey = "string",
Region = "string",
Timeouts = new Opentelekomcloud.Inputs.LbCertificateV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Type = "string",
});
example, err := opentelekomcloud.NewLbCertificateV2(ctx, "lbCertificateV2Resource", &opentelekomcloud.LbCertificateV2Args{
Certificate: pulumi.String("string"),
Description: pulumi.String("string"),
Domain: pulumi.String("string"),
LbCertificateV2Id: pulumi.String("string"),
Name: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
Region: pulumi.String("string"),
Timeouts: &opentelekomcloud.LbCertificateV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Type: pulumi.String("string"),
})
var lbCertificateV2Resource = new LbCertificateV2("lbCertificateV2Resource", LbCertificateV2Args.builder()
.certificate("string")
.description("string")
.domain("string")
.lbCertificateV2Id("string")
.name("string")
.privateKey("string")
.region("string")
.timeouts(LbCertificateV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.type("string")
.build());
lb_certificate_v2_resource = opentelekomcloud.LbCertificateV2("lbCertificateV2Resource",
certificate="string",
description="string",
domain="string",
lb_certificate_v2_id="string",
name="string",
private_key="string",
region="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
type="string")
const lbCertificateV2Resource = new opentelekomcloud.LbCertificateV2("lbCertificateV2Resource", {
certificate: "string",
description: "string",
domain: "string",
lbCertificateV2Id: "string",
name: "string",
privateKey: "string",
region: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
type: "string",
});
type: opentelekomcloud:LbCertificateV2
properties:
certificate: string
description: string
domain: string
lbCertificateV2Id: string
name: string
privateKey: string
region: string
timeouts:
create: string
delete: string
update: string
type: string
LbCertificateV2 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 LbCertificateV2 resource accepts the following input properties:
- Certificate string
- The public encrypted key of the Certificate, PEM format.
- Description string
- Human-readable description for the Certificate.
- Domain string
- The domain of the Certificate.
- Lb
Certificate stringV2Id - Name string
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - Timeouts
Lb
Certificate V2Timeouts - 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
- Human-readable description for the Certificate.
- Domain string
- The domain of the Certificate.
- Lb
Certificate stringV2Id - Name string
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - Timeouts
Lb
Certificate V2Timeouts Args - 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
- Human-readable description for the Certificate.
- domain String
- The domain of the Certificate.
- lb
Certificate StringV2Id - name String
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts
Lb
Certificate V2Timeouts - 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
- Human-readable description for the Certificate.
- domain string
- The domain of the Certificate.
- lb
Certificate stringV2Id - name string
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts
Lb
Certificate V2Timeouts - 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
- Human-readable description for the Certificate.
- domain str
- The domain of the Certificate.
- lb_
certificate_ strv2_ id - name str
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts
Lb
Certificate V2Timeouts Args - 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
- Human-readable description for the Certificate.
- domain String
- The domain of the Certificate.
- lb
Certificate StringV2Id - name String
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts Property Map
- 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 LbCertificateV2 resource produces the following output properties:
- Create
Time string - Indicates the creation time.
- Expire
Time string - Indicates certificate expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Indicates the update time.
- Create
Time string - Indicates the creation time.
- Expire
Time string - Indicates certificate expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Indicates the update time.
- create
Time String - Indicates the creation time.
- expire
Time String - Indicates certificate expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Indicates the update time.
- create
Time string - Indicates the creation time.
- expire
Time string - Indicates certificate expiration time.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Indicates the update time.
- create_
time str - Indicates the creation time.
- expire_
time str - Indicates certificate expiration time.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Indicates the update time.
- create
Time String - Indicates the creation time.
- expire
Time String - Indicates certificate expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Indicates the update time.
Look up Existing LbCertificateV2 Resource
Get an existing LbCertificateV2 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?: LbCertificateV2State, opts?: CustomResourceOptions): LbCertificateV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
expire_time: Optional[str] = None,
lb_certificate_v2_id: Optional[str] = None,
name: Optional[str] = None,
private_key: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[LbCertificateV2TimeoutsArgs] = None,
type: Optional[str] = None,
update_time: Optional[str] = None) -> LbCertificateV2
func GetLbCertificateV2(ctx *Context, name string, id IDInput, state *LbCertificateV2State, opts ...ResourceOption) (*LbCertificateV2, error)
public static LbCertificateV2 Get(string name, Input<string> id, LbCertificateV2State? state, CustomResourceOptions? opts = null)
public static LbCertificateV2 get(String name, Output<String> id, LbCertificateV2State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:LbCertificateV2 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.
- Create
Time string - Indicates the creation time.
- Description string
- Human-readable description for the Certificate.
- Domain string
- The domain of the Certificate.
- Expire
Time string - Indicates certificate expiration time.
- Lb
Certificate stringV2Id - Name string
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - Timeouts
Lb
Certificate V2Timeouts - Type string
- The type of certificate the container holds. Either
server
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - Update
Time string - Indicates the update time.
- Certificate string
- The public encrypted key of the Certificate, PEM format.
- Create
Time string - Indicates the creation time.
- Description string
- Human-readable description for the Certificate.
- Domain string
- The domain of the Certificate.
- Expire
Time string - Indicates certificate expiration time.
- Lb
Certificate stringV2Id - Name string
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - Timeouts
Lb
Certificate V2Timeouts Args - Type string
- The type of certificate the container holds. Either
server
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - Update
Time string - Indicates the update time.
- certificate String
- The public encrypted key of the Certificate, PEM format.
- create
Time String - Indicates the creation time.
- description String
- Human-readable description for the Certificate.
- domain String
- The domain of the Certificate.
- expire
Time String - Indicates certificate expiration time.
- lb
Certificate StringV2Id - name String
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts
Lb
Certificate V2Timeouts - type String
- The type of certificate the container holds. Either
server
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - update
Time String - Indicates the update time.
- certificate string
- The public encrypted key of the Certificate, PEM format.
- create
Time string - Indicates the creation time.
- description string
- Human-readable description for the Certificate.
- domain string
- The domain of the Certificate.
- expire
Time string - Indicates certificate expiration time.
- lb
Certificate stringV2Id - name string
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts
Lb
Certificate V2Timeouts - type string
- The type of certificate the container holds. Either
server
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - update
Time string - Indicates the update time.
- certificate str
- The public encrypted key of the Certificate, PEM format.
- create_
time str - Indicates the creation time.
- description str
- Human-readable description for the Certificate.
- domain str
- The domain of the Certificate.
- expire_
time str - Indicates certificate expiration time.
- lb_
certificate_ strv2_ id - name str
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts
Lb
Certificate V2Timeouts Args - type str
- The type of certificate the container holds. Either
server
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - update_
time str - Indicates the update time.
- certificate String
- The public encrypted key of the Certificate, PEM format.
- create
Time String - Indicates the creation time.
- description String
- Human-readable description for the Certificate.
- domain String
- The domain of the Certificate.
- expire
Time String - Indicates certificate expiration time.
- lb
Certificate StringV2Id - name String
- Human-readable name for the Certificate. Does not have to be unique.
- 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 V2 Networking client.
A Networking 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. - timeouts Property Map
- type String
- The type of certificate the container holds. Either
server
orclient
. Defaults toserver
if not set. Changing this creates a new LB certificate. - update
Time String - Indicates the update time.
Supporting Types
LbCertificateV2Timeouts, LbCertificateV2TimeoutsArgs
Import
Certificates can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/lbCertificateV2:LbCertificateV2 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.