scaleway.LoadbalancerCertificate
Explore with Pulumi AI
Create LoadbalancerCertificate Resource
new LoadbalancerCertificate(name: string, args: LoadbalancerCertificateArgs, opts?: CustomResourceOptions);
@overload
def LoadbalancerCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_certificate: Optional[LoadbalancerCertificateCustomCertificateArgs] = None,
lb_id: Optional[str] = None,
letsencrypt: Optional[LoadbalancerCertificateLetsencryptArgs] = None,
name: Optional[str] = None)
@overload
def LoadbalancerCertificate(resource_name: str,
args: LoadbalancerCertificateArgs,
opts: Optional[ResourceOptions] = None)
func NewLoadbalancerCertificate(ctx *Context, name string, args LoadbalancerCertificateArgs, opts ...ResourceOption) (*LoadbalancerCertificate, error)
public LoadbalancerCertificate(string name, LoadbalancerCertificateArgs args, CustomResourceOptions? opts = null)
public LoadbalancerCertificate(String name, LoadbalancerCertificateArgs args)
public LoadbalancerCertificate(String name, LoadbalancerCertificateArgs args, CustomResourceOptions options)
type: scaleway:LoadbalancerCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadbalancerCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LoadbalancerCertificateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LoadbalancerCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadbalancerCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoadbalancerCertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LoadbalancerCertificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LoadbalancerCertificate resource accepts the following input properties:
- Lb
Id string The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- Custom
Certificate Lbrlabs.Pulumi Package. Scaleway. Inputs. Loadbalancer Certificate Custom Certificate Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- Letsencrypt
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Loadbalancer Certificate Letsencrypt Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- Name string
The name of the certificate backend.
- Lb
Id string The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- Custom
Certificate LoadbalancerCertificate Custom Certificate Args Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- Letsencrypt
Loadbalancer
Certificate Letsencrypt Args Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- Name string
The name of the certificate backend.
- lb
Id String The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- custom
Certificate LoadbalancerCertificate Custom Certificate Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- letsencrypt
Loadbalancer
Certificate Letsencrypt Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name String
The name of the certificate backend.
- lb
Id string The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- custom
Certificate LoadbalancerCertificate Custom Certificate Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- letsencrypt
Loadbalancer
Certificate Letsencrypt Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name string
The name of the certificate backend.
- lb_
id str The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- custom_
certificate LoadbalancerCertificate Custom Certificate Args Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- letsencrypt
Loadbalancer
Certificate Letsencrypt Args Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name str
The name of the certificate backend.
- lb
Id String The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- custom
Certificate Property Map Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- letsencrypt Property Map
Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name String
The name of the certificate backend.
Outputs
All input properties are implicitly available as output properties. Additionally, the LoadbalancerCertificate resource produces the following output properties:
- Common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- Fingerprint string
The identifier (SHA-1) of the certificate
- Id string
The provider-assigned unique ID for this managed resource.
- Not
Valid stringAfter The not valid after validity bound timestamp
- Not
Valid stringBefore The not valid before validity bound timestamp
- Status string
Certificate status
- Subject
Alternative List<string>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- Common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- Fingerprint string
The identifier (SHA-1) of the certificate
- Id string
The provider-assigned unique ID for this managed resource.
- Not
Valid stringAfter The not valid after validity bound timestamp
- Not
Valid stringBefore The not valid before validity bound timestamp
- Status string
Certificate status
- Subject
Alternative []stringNames Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name String Main domain of the certificate. A new certificate will be created if this field is changed.
- fingerprint String
The identifier (SHA-1) of the certificate
- id String
The provider-assigned unique ID for this managed resource.
- not
Valid StringAfter The not valid after validity bound timestamp
- not
Valid StringBefore The not valid before validity bound timestamp
- status String
Certificate status
- subject
Alternative List<String>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- fingerprint string
The identifier (SHA-1) of the certificate
- id string
The provider-assigned unique ID for this managed resource.
- not
Valid stringAfter The not valid after validity bound timestamp
- not
Valid stringBefore The not valid before validity bound timestamp
- status string
Certificate status
- subject
Alternative string[]Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common_
name str Main domain of the certificate. A new certificate will be created if this field is changed.
- fingerprint str
The identifier (SHA-1) of the certificate
- id str
The provider-assigned unique ID for this managed resource.
- not_
valid_ strafter The not valid after validity bound timestamp
- not_
valid_ strbefore The not valid before validity bound timestamp
- status str
Certificate status
- subject_
alternative_ Sequence[str]names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name String Main domain of the certificate. A new certificate will be created if this field is changed.
- fingerprint String
The identifier (SHA-1) of the certificate
- id String
The provider-assigned unique ID for this managed resource.
- not
Valid StringAfter The not valid after validity bound timestamp
- not
Valid StringBefore The not valid before validity bound timestamp
- status String
Certificate status
- subject
Alternative List<String>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
Look up Existing LoadbalancerCertificate Resource
Get an existing LoadbalancerCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LoadbalancerCertificateState, opts?: CustomResourceOptions): LoadbalancerCertificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
common_name: Optional[str] = None,
custom_certificate: Optional[LoadbalancerCertificateCustomCertificateArgs] = None,
fingerprint: Optional[str] = None,
lb_id: Optional[str] = None,
letsencrypt: Optional[LoadbalancerCertificateLetsencryptArgs] = None,
name: Optional[str] = None,
not_valid_after: Optional[str] = None,
not_valid_before: Optional[str] = None,
status: Optional[str] = None,
subject_alternative_names: Optional[Sequence[str]] = None) -> LoadbalancerCertificate
func GetLoadbalancerCertificate(ctx *Context, name string, id IDInput, state *LoadbalancerCertificateState, opts ...ResourceOption) (*LoadbalancerCertificate, error)
public static LoadbalancerCertificate Get(string name, Input<string> id, LoadbalancerCertificateState? state, CustomResourceOptions? opts = null)
public static LoadbalancerCertificate get(String name, Output<String> id, LoadbalancerCertificateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- Custom
Certificate Lbrlabs.Pulumi Package. Scaleway. Inputs. Loadbalancer Certificate Custom Certificate Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- Fingerprint string
The identifier (SHA-1) of the certificate
- Lb
Id string The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- Letsencrypt
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Loadbalancer Certificate Letsencrypt Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- Name string
The name of the certificate backend.
- Not
Valid stringAfter The not valid after validity bound timestamp
- Not
Valid stringBefore The not valid before validity bound timestamp
- Status string
Certificate status
- Subject
Alternative List<string>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- Common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- Custom
Certificate LoadbalancerCertificate Custom Certificate Args Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- Fingerprint string
The identifier (SHA-1) of the certificate
- Lb
Id string The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- Letsencrypt
Loadbalancer
Certificate Letsencrypt Args Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- Name string
The name of the certificate backend.
- Not
Valid stringAfter The not valid after validity bound timestamp
- Not
Valid stringBefore The not valid before validity bound timestamp
- Status string
Certificate status
- Subject
Alternative []stringNames Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name String Main domain of the certificate. A new certificate will be created if this field is changed.
- custom
Certificate LoadbalancerCertificate Custom Certificate Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- fingerprint String
The identifier (SHA-1) of the certificate
- lb
Id String The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- letsencrypt
Loadbalancer
Certificate Letsencrypt Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name String
The name of the certificate backend.
- not
Valid StringAfter The not valid after validity bound timestamp
- not
Valid StringBefore The not valid before validity bound timestamp
- status String
Certificate status
- subject
Alternative List<String>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- custom
Certificate LoadbalancerCertificate Custom Certificate Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- fingerprint string
The identifier (SHA-1) of the certificate
- lb
Id string The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- letsencrypt
Loadbalancer
Certificate Letsencrypt Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name string
The name of the certificate backend.
- not
Valid stringAfter The not valid after validity bound timestamp
- not
Valid stringBefore The not valid before validity bound timestamp
- status string
Certificate status
- subject
Alternative string[]Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common_
name str Main domain of the certificate. A new certificate will be created if this field is changed.
- custom_
certificate LoadbalancerCertificate Custom Certificate Args Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- fingerprint str
The identifier (SHA-1) of the certificate
- lb_
id str The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- letsencrypt
Loadbalancer
Certificate Letsencrypt Args Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name str
The name of the certificate backend.
- not_
valid_ strafter The not valid after validity bound timestamp
- not_
valid_ strbefore The not valid before validity bound timestamp
- status str
Certificate status
- subject_
alternative_ Sequence[str]names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name String Main domain of the certificate. A new certificate will be created if this field is changed.
- custom
Certificate Property Map Configuration block for custom certificate chain. Only one of
letsencrypt
andcustom_certificate
should be specified.- fingerprint String
The identifier (SHA-1) of the certificate
- lb
Id String The load-balancer ID this certificate is attached to.
Important: Updates to
lb_id
will recreate the load-balancer certificate.- letsencrypt Property Map
Configuration block for Let's Encrypt configuration. Only one of
letsencrypt
andcustom_certificate
should be specified.- name String
The name of the certificate backend.
- not
Valid StringAfter The not valid after validity bound timestamp
- not
Valid StringBefore The not valid before validity bound timestamp
- status String
Certificate status
- subject
Alternative List<String>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
Supporting Types
LoadbalancerCertificateCustomCertificate, LoadbalancerCertificateCustomCertificateArgs
- Certificate
Chain string Full PEM-formatted certificate chain.
Important: Updates to
custom_certificate
will recreate the load-balancer certificate.
- Certificate
Chain string Full PEM-formatted certificate chain.
Important: Updates to
custom_certificate
will recreate the load-balancer certificate.
- certificate
Chain String Full PEM-formatted certificate chain.
Important: Updates to
custom_certificate
will recreate the load-balancer certificate.
- certificate
Chain string Full PEM-formatted certificate chain.
Important: Updates to
custom_certificate
will recreate the load-balancer certificate.
- certificate_
chain str Full PEM-formatted certificate chain.
Important: Updates to
custom_certificate
will recreate the load-balancer certificate.
- certificate
Chain String Full PEM-formatted certificate chain.
Important: Updates to
custom_certificate
will recreate the load-balancer certificate.
LoadbalancerCertificateLetsencrypt, LoadbalancerCertificateLetsencryptArgs
- Common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- Subject
Alternative List<string>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- Common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- Subject
Alternative []stringNames Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name String Main domain of the certificate. A new certificate will be created if this field is changed.
- subject
Alternative List<String>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name string Main domain of the certificate. A new certificate will be created if this field is changed.
- subject
Alternative string[]Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common_
name str Main domain of the certificate. A new certificate will be created if this field is changed.
- subject_
alternative_ Sequence[str]names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
- common
Name String Main domain of the certificate. A new certificate will be created if this field is changed.
- subject
Alternative List<String>Names Array of alternative domain names. A new certificate will be created if this field is changed.
Important: Updates to
letsencrypt
will recreate the load-balancer certificate.
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.