opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getLbCertificateV3
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 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,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
certificate1 = opentelekomcloud.get_lb_certificate_v3(name=var["certificate_id"])
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
})
}
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,
});
});
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());
}
}
variables:
certificate1:
fn::invoke:
function: opentelekomcloud:getLbCertificateV3
arguments:
name: ${var.certificate_id}
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>
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]
func LookupLbCertificateV3(ctx *Context, args *LookupLbCertificateV3Args, opts ...InvokeOption) (*LookupLbCertificateV3Result, error)
func LookupLbCertificateV3Output(ctx *Context, args *LookupLbCertificateV3OutputArgs, opts ...InvokeOption) LookupLbCertificateV3ResultOutput
> 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)
}
public static CompletableFuture<GetLbCertificateV3Result> getLbCertificateV3(GetLbCertificateV3Args args, InvokeOptions options)
public static Output<GetLbCertificateV3Result> getLbCertificateV3(GetLbCertificateV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getLbCertificateV3:getLbCertificateV3
arguments:
# arguments dictionary
The following arguments are supported:
getLbCertificateV3 Result
The following output properties are available:
- Certificate string
- The public encrypted key of the Certificate, PEM format.
- Created
At string - Description string
- Provides supplementary information about the certificate.
- Domain string
- Expire
Time string - Indicates the expiration time.
- Id string
- Name string
- Private
Key string - The private encrypted key of the Certificate, PEM format.
- Type string
- 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
- Expire
Time string - Indicates the expiration time.
- Id string
- Name string
- Private
Key string - The private encrypted key of the Certificate, PEM format.
- Type string
- 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
- expire
Time String - Indicates the expiration time.
- id String
- name String
- private
Key String - The private encrypted key of the Certificate, PEM format.
- type String
- 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
- expire
Time string - Indicates the expiration time.
- id string
- name string
- private
Key string - The private encrypted key of the Certificate, PEM format.
- type string
- 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
- 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.
- created
At String - description String
- Provides supplementary information about the certificate.
- domain String
- expire
Time String - Indicates the expiration time.
- id String
- name String
- private
Key String - The private encrypted key of the Certificate, PEM format.
- type String
- updated
At 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.37 published on Thursday, Apr 24, 2025 by opentelekomcloud