1. Packages
  2. Scaleway
  3. API Docs
  4. loadbalancers
  5. getCertificate
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.loadbalancers.getCertificate

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 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 getCertificate

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 getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>
Copy
def get_certificate(certificate_id: Optional[str] = None,
                    lb_id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_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[GetCertificateResult]
Copy
func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput
Copy

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

public static class GetCertificate 
{
    public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
    public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:loadbalancers/getCertificate:getCertificate
  arguments:
    # arguments dictionary
Copy

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

getCertificate Result

The following output properties are available:

CommonName string
CustomCertificates []GetCertificateCustomCertificate
Fingerprint string
Id string
The provider-assigned unique ID for this managed resource.
Letsencrypts []GetCertificateLetsencrypt
NotValidAfter string
NotValidBefore string
Status string
SubjectAlternativeNames []string
CertificateId string
LbId string
Name string
commonName String
customCertificates List<GetCertificateCustomCertificate>
fingerprint String
id String
The provider-assigned unique ID for this managed resource.
letsencrypts List<GetCertificateLetsencrypt>
notValidAfter String
notValidBefore String
status String
subjectAlternativeNames List<String>
certificateId String
lbId String
name String
commonName string
customCertificates GetCertificateCustomCertificate[]
fingerprint string
id string
The provider-assigned unique ID for this managed resource.
letsencrypts GetCertificateLetsencrypt[]
notValidAfter string
notValidBefore string
status string
subjectAlternativeNames string[]
certificateId string
lbId string
name string
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

GetCertificateCustomCertificate

CertificateChain This property is required. string
The full PEM-formatted certificate chain
CertificateChain This property is required. string
The full PEM-formatted certificate chain
certificateChain This property is required. String
The full PEM-formatted certificate chain
certificateChain This property is required. string
The full PEM-formatted certificate chain
certificate_chain This property is required. str
The full PEM-formatted certificate chain
certificateChain This property is required. String
The full PEM-formatted certificate chain

GetCertificateLetsencrypt

CommonName This property is required. string
The main domain name of the certificate
SubjectAlternativeNames This property is required. List<string>
The alternative domain names of the certificate
CommonName This property is required. string
The main domain name of the certificate
SubjectAlternativeNames This property is required. []string
The alternative domain names of the certificate
commonName This property is required. String
The main domain name of the certificate
subjectAlternativeNames This property is required. List<String>
The alternative domain names of the certificate
commonName This property is required. string
The main domain name of the certificate
subjectAlternativeNames This property is required. string[]
The alternative domain names of the certificate
common_name This property is required. str
The main domain name of the certificate
subject_alternative_names This property is required. Sequence[str]
The alternative domain names of the certificate
commonName This property is required. String
The main domain name of the certificate
subjectAlternativeNames This property is required. 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 v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse