scaleway.getLoadbalancerCertificate
Explore with Pulumi AI
Get information about Scaleway Load-Balancer Certificates.
This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc.
For more information, see the 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 certificate backend.
- 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 certificate backend.
- 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 certificate backend.
- 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 certificate backend.
- 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 certificate backend.
- 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 certificate backend.
- 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<Lbrlabs.Pulumi Package. Scaleway. Outputs. Get Loadbalancer Certificate Custom Certificate> - Fingerprint string
- Id string
The provider-assigned unique ID for this managed resource.
- Letsencrypts
List<Lbrlabs.
Pulumi Package. 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
- Certificate
Chain string
- certificate
Chain String
- certificate
Chain string
- certificate
Chain String
GetLoadbalancerCertificateLetsencrypt
- Common
Name string - Subject
Alternative List<string>Names
- Common
Name string - Subject
Alternative []stringNames
- common
Name String - subject
Alternative List<String>Names
- common
Name string - subject
Alternative string[]Names
- common_
name str - subject_
alternative_ Sequence[str]names
- common
Name String - subject
Alternative List<String>Names
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.