1. Packages
  2. Scaleway
  3. API Docs
  4. getLoadbalancerCertificate
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.getLoadbalancerCertificate

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    Get information about Scaleway Load Balancer certificates.

    This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain.

    For more information, see the main documentation or API documentation.

    Examples

    Using getLoadbalancerCertificate

    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 getLoadbalancerCertificate(args: GetLoadbalancerCertificateArgs, opts?: InvokeOptions): Promise<GetLoadbalancerCertificateResult>
    function getLoadbalancerCertificateOutput(args: GetLoadbalancerCertificateOutputArgs, opts?: InvokeOptions): Output<GetLoadbalancerCertificateResult>
    def get_loadbalancer_certificate(certificate_id: Optional[str] = None,
                                     lb_id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetLoadbalancerCertificateResult
    def get_loadbalancer_certificate_output(certificate_id: Optional[pulumi.Input[str]] = None,
                                     lb_id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetLoadbalancerCertificateResult]
    func LookupLoadbalancerCertificate(ctx *Context, args *LookupLoadbalancerCertificateArgs, opts ...InvokeOption) (*LookupLoadbalancerCertificateResult, error)
    func LookupLoadbalancerCertificateOutput(ctx *Context, args *LookupLoadbalancerCertificateOutputArgs, opts ...InvokeOption) LookupLoadbalancerCertificateResultOutput

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

    public static class GetLoadbalancerCertificate 
    {
        public static Task<GetLoadbalancerCertificateResult> InvokeAsync(GetLoadbalancerCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetLoadbalancerCertificateResult> Invoke(GetLoadbalancerCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLoadbalancerCertificateResult> getLoadbalancerCertificate(GetLoadbalancerCertificateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scaleway:index/getLoadbalancerCertificate:getLoadbalancerCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateId string
    The certificate ID.

    • Only one of name and certificate_id should be specified.
    LbId string
    The Load Balancer ID this certificate is attached to.
    Name string
    The name of the Load Balancer certificate.

    • When using a certificate name you should specify the lb-id
    CertificateId string
    The certificate ID.

    • Only one of name and certificate_id should be specified.
    LbId string
    The Load Balancer ID this certificate is attached to.
    Name string
    The name of the Load Balancer certificate.

    • When using a certificate name you should specify the lb-id
    certificateId String
    The certificate ID.

    • Only one of name and certificate_id should be specified.
    lbId String
    The Load Balancer ID this certificate is attached to.
    name String
    The name of the Load Balancer certificate.

    • When using a certificate name you should specify the lb-id
    certificateId string
    The certificate ID.

    • Only one of name and certificate_id should be specified.
    lbId string
    The Load Balancer ID this certificate is attached to.
    name string
    The name of the Load Balancer certificate.

    • When using a certificate name you should specify the lb-id
    certificate_id str
    The certificate ID.

    • Only one of name and certificate_id should be specified.
    lb_id str
    The Load Balancer ID this certificate is attached to.
    name str
    The name of the Load Balancer certificate.

    • When using a certificate name you should specify the lb-id
    certificateId String
    The certificate ID.

    • Only one of name and certificate_id should be specified.
    lbId String
    The Load Balancer ID this certificate is attached to.
    name String
    The name of the Load Balancer certificate.

    • When using a certificate name you should specify the lb-id

    getLoadbalancerCertificate Result

    The following output properties are available:

    commonName String
    customCertificates List<Property Map>
    fingerprint String
    id String
    The provider-assigned unique ID for this managed resource.
    letsencrypts List<Property Map>
    notValidAfter String
    notValidBefore String
    status String
    subjectAlternativeNames List<String>
    certificateId String
    lbId String
    name String

    Supporting Types

    GetLoadbalancerCertificateCustomCertificate

    CertificateChain string
    The full PEM-formatted certificate chain
    CertificateChain string
    The full PEM-formatted certificate chain
    certificateChain String
    The full PEM-formatted certificate chain
    certificateChain string
    The full PEM-formatted certificate chain
    certificate_chain str
    The full PEM-formatted certificate chain
    certificateChain String
    The full PEM-formatted certificate chain

    GetLoadbalancerCertificateLetsencrypt

    CommonName string
    The main domain name of the certificate
    SubjectAlternativeNames List<string>
    The alternative domain names of the certificate
    CommonName string
    The main domain name of the certificate
    SubjectAlternativeNames []string
    The alternative domain names of the certificate
    commonName String
    The main domain name of the certificate
    subjectAlternativeNames List<String>
    The alternative domain names of the certificate
    commonName string
    The main domain name of the certificate
    subjectAlternativeNames string[]
    The alternative domain names of the certificate
    common_name str
    The main domain name of the certificate
    subject_alternative_names Sequence[str]
    The alternative domain names of the certificate
    commonName String
    The main domain name of the certificate
    subjectAlternativeNames List<String>
    The alternative domain names of the certificate

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse