scaleway.getLoadbalancerCertificate
Explore with Pulumi AI
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:
- Certificate
Id string - The certificate ID.
- Only one of
name
andcertificate_id
should be specified.
- Only one of
- Lb
Id 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 thelb-id
- When using a certificate
- Certificate
Id string - The certificate ID.
- Only one of
name
andcertificate_id
should be specified.
- Only one of
- Lb
Id 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 thelb-id
- When using a certificate
- certificate
Id String - The certificate ID.
- Only one of
name
andcertificate_id
should be specified.
- Only one of
- lb
Id 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 thelb-id
- When using a certificate
- certificate
Id string - The certificate ID.
- Only one of
name
andcertificate_id
should be specified.
- Only one of
- lb
Id 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 thelb-id
- When using a certificate
- certificate_
id str - The certificate ID.
- Only one of
name
andcertificate_id
should be specified.
- Only one of
- 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 thelb-id
- When using a certificate
- certificate
Id String - The certificate ID.
- Only one of
name
andcertificate_id
should be specified.
- Only one of
- lb
Id 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 thelb-id
- When using a certificate
getLoadbalancerCertificate Result
The following output properties are available:
- Common
Name string - Custom
Certificates List<Pulumiverse.Scaleway. Outputs. Get Loadbalancer Certificate Custom Certificate> - Fingerprint string
- Id string
- The provider-assigned unique ID for this managed resource.
- Letsencrypts
List<Pulumiverse.
Scaleway. Outputs. Get Loadbalancer Certificate Letsencrypt> - Not
Valid stringAfter - Not
Valid stringBefore - Status string
- Subject
Alternative List<string>Names - Certificate
Id string - Lb
Id string - Name string
- Common
Name string - Custom
Certificates []GetLoadbalancer Certificate Custom Certificate - Fingerprint string
- Id string
- The provider-assigned unique ID for this managed resource.
- Letsencrypts
[]Get
Loadbalancer Certificate Letsencrypt - Not
Valid stringAfter - Not
Valid stringBefore - Status string
- Subject
Alternative []stringNames - Certificate
Id string - Lb
Id string - Name string
- common
Name String - custom
Certificates List<GetLoadbalancer Certificate Custom Certificate> - fingerprint String
- id String
- The provider-assigned unique ID for this managed resource.
- letsencrypts
List<Get
Loadbalancer Certificate Letsencrypt> - not
Valid StringAfter - not
Valid StringBefore - status String
- subject
Alternative List<String>Names - certificate
Id String - lb
Id String - name String
- common
Name string - custom
Certificates GetLoadbalancer Certificate Custom Certificate[] - fingerprint string
- id string
- The provider-assigned unique ID for this managed resource.
- letsencrypts
Get
Loadbalancer Certificate Letsencrypt[] - not
Valid stringAfter - not
Valid stringBefore - status string
- subject
Alternative string[]Names - certificate
Id string - lb
Id string - name string
- common_
name str - custom_
certificates Sequence[GetLoadbalancer Certificate Custom Certificate] - fingerprint str
- id str
- The provider-assigned unique ID for this managed resource.
- letsencrypts
Sequence[Get
Loadbalancer Certificate Letsencrypt] - not_
valid_ strafter - not_
valid_ strbefore - status str
- subject_
alternative_ Sequence[str]names - certificate_
id str - lb_
id str - name str
- common
Name String - custom
Certificates List<Property Map> - fingerprint String
- id String
- The provider-assigned unique ID for this managed resource.
- letsencrypts List<Property Map>
- not
Valid StringAfter - not
Valid StringBefore - status String
- subject
Alternative List<String>Names - certificate
Id String - lb
Id String - name String
Supporting Types
GetLoadbalancerCertificateCustomCertificate
- Certificate
Chain string - The full PEM-formatted certificate chain
- Certificate
Chain string - The full PEM-formatted certificate chain
- certificate
Chain String - The full PEM-formatted certificate chain
- certificate
Chain string - The full PEM-formatted certificate chain
- certificate_
chain str - The full PEM-formatted certificate chain
- certificate
Chain String - The full PEM-formatted certificate chain
GetLoadbalancerCertificateLetsencrypt
- Common
Name string - The main domain name of the certificate
- Subject
Alternative List<string>Names - The alternative domain names of the certificate
- Common
Name string - The main domain name of the certificate
- Subject
Alternative []stringNames - The alternative domain names of the certificate
- common
Name String - The main domain name of the certificate
- subject
Alternative List<String>Names - The alternative domain names of the certificate
- common
Name string - The main domain name of the certificate
- subject
Alternative string[]Names - The alternative domain names of the certificate
- common_
name str - The main domain name of the certificate
- subject_
alternative_ Sequence[str]names - The alternative domain names of the certificate
- common
Name String - The main domain name of the certificate
- subject
Alternative List<String>Names - 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.