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

opentelekomcloud.getLbCertificateV3

Explore with Pulumi AI

opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

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

Use this data source to get the info about an existing ELBv3 certificate.

Example Usage

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

const certificate1 = opentelekomcloud.getLbCertificateV3({
    name: _var.certificate_id,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

certificate1 = opentelekomcloud.get_lb_certificate_v3(name=var["certificate_id"])
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.LookupLbCertificateV3(ctx, &opentelekomcloud.LookupLbCertificateV3Args{
			Name: pulumi.StringRef(_var.Certificate_id),
		}, nil)
		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 = Opentelekomcloud.GetLbCertificateV3.Invoke(new()
    {
        Name = @var.Certificate_id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetLbCertificateV3Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var certificate1 = OpentelekomcloudFunctions.getLbCertificateV3(GetLbCertificateV3Args.builder()
            .name(var_.certificate_id())
            .build());

    }
}
Copy
variables:
  certificate1:
    fn::invoke:
      function: opentelekomcloud:getLbCertificateV3
      arguments:
        name: ${var.certificate_id}
Copy

Using getLbCertificateV3

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLbCertificateV3(args: GetLbCertificateV3Args, opts?: InvokeOptions): Promise<GetLbCertificateV3Result>
function getLbCertificateV3Output(args: GetLbCertificateV3OutputArgs, opts?: InvokeOptions): Output<GetLbCertificateV3Result>
Copy
def get_lb_certificate_v3(domain: Optional[str] = None,
                          id: Optional[str] = None,
                          name: Optional[str] = None,
                          type: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetLbCertificateV3Result
def get_lb_certificate_v3_output(domain: Optional[pulumi.Input[str]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          type: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetLbCertificateV3Result]
Copy
func LookupLbCertificateV3(ctx *Context, args *LookupLbCertificateV3Args, opts ...InvokeOption) (*LookupLbCertificateV3Result, error)
func LookupLbCertificateV3Output(ctx *Context, args *LookupLbCertificateV3OutputArgs, opts ...InvokeOption) LookupLbCertificateV3ResultOutput
Copy

> Note: This function is named LookupLbCertificateV3 in the Go SDK.

public static class GetLbCertificateV3 
{
    public static Task<GetLbCertificateV3Result> InvokeAsync(GetLbCertificateV3Args args, InvokeOptions? opts = null)
    public static Output<GetLbCertificateV3Result> Invoke(GetLbCertificateV3InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLbCertificateV3Result> getLbCertificateV3(GetLbCertificateV3Args args, InvokeOptions options)
public static Output<GetLbCertificateV3Result> getLbCertificateV3(GetLbCertificateV3Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getLbCertificateV3:getLbCertificateV3
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Domain string
The domain of the Certificate.
Id string
Specifies the certificate ID.
Name string
Specifies the certificate name.
Type string
The type of certificate the container holds. Either server or client.
Domain string
The domain of the Certificate.
Id string
Specifies the certificate ID.
Name string
Specifies the certificate name.
Type string
The type of certificate the container holds. Either server or client.
domain String
The domain of the Certificate.
id String
Specifies the certificate ID.
name String
Specifies the certificate name.
type String
The type of certificate the container holds. Either server or client.
domain string
The domain of the Certificate.
id string
Specifies the certificate ID.
name string
Specifies the certificate name.
type string
The type of certificate the container holds. Either server or client.
domain str
The domain of the Certificate.
id str
Specifies the certificate ID.
name str
Specifies the certificate name.
type str
The type of certificate the container holds. Either server or client.
domain String
The domain of the Certificate.
id String
Specifies the certificate ID.
name String
Specifies the certificate name.
type String
The type of certificate the container holds. Either server or client.

getLbCertificateV3 Result

The following output properties are available:

Certificate string
The public encrypted key of the Certificate, PEM format.
CreatedAt string
Description string
Provides supplementary information about the certificate.
Domain string
ExpireTime string
Indicates the expiration time.
Id string
Name string
PrivateKey string
The private encrypted key of the Certificate, PEM format.
Type string
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
ExpireTime string
Indicates the expiration time.
Id string
Name string
PrivateKey string
The private encrypted key of the Certificate, PEM format.
Type string
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
expireTime String
Indicates the expiration time.
id String
name String
privateKey String
The private encrypted key of the Certificate, PEM format.
type String
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
expireTime string
Indicates the expiration time.
id string
name string
privateKey string
The private encrypted key of the Certificate, PEM format.
type string
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
expire_time str
Indicates the expiration time.
id str
name str
private_key str
The private encrypted key of the Certificate, PEM format.
type str
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
expireTime String
Indicates the expiration time.
id String
name String
privateKey String
The private encrypted key of the Certificate, PEM format.
type String
updatedAt String
Indicates the update time.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud