Scaleway v1.15.0 published on Tuesday, Jul 30, 2024 by pulumiverse
scaleway.LoadbalancerCertificate
Explore with Pulumi AI
Create LoadbalancerCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoadbalancerCertificate(name: string, args: LoadbalancerCertificateArgs, opts?: CustomResourceOptions);
@overload
def LoadbalancerCertificate(resource_name: str,
args: LoadbalancerCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoadbalancerCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
lb_id: Optional[str] = None,
custom_certificate: Optional[LoadbalancerCertificateCustomCertificateArgs] = None,
letsencrypt: Optional[LoadbalancerCertificateLetsencryptArgs] = None,
name: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var loadbalancerCertificateResource = new Scaleway.LoadbalancerCertificate("loadbalancerCertificateResource", new()
{
LbId = "string",
CustomCertificate = new Scaleway.Inputs.LoadbalancerCertificateCustomCertificateArgs
{
CertificateChain = "string",
},
Letsencrypt = new Scaleway.Inputs.LoadbalancerCertificateLetsencryptArgs
{
CommonName = "string",
SubjectAlternativeNames = new[]
{
"string",
},
},
Name = "string",
});
example, err := scaleway.NewLoadbalancerCertificate(ctx, "loadbalancerCertificateResource", &scaleway.LoadbalancerCertificateArgs{
LbId: pulumi.String("string"),
CustomCertificate: &scaleway.LoadbalancerCertificateCustomCertificateArgs{
CertificateChain: pulumi.String("string"),
},
Letsencrypt: &scaleway.LoadbalancerCertificateLetsencryptArgs{
CommonName: pulumi.String("string"),
SubjectAlternativeNames: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
var loadbalancerCertificateResource = new LoadbalancerCertificate("loadbalancerCertificateResource", LoadbalancerCertificateArgs.builder()
.lbId("string")
.customCertificate(LoadbalancerCertificateCustomCertificateArgs.builder()
.certificateChain("string")
.build())
.letsencrypt(LoadbalancerCertificateLetsencryptArgs.builder()
.commonName("string")
.subjectAlternativeNames("string")
.build())
.name("string")
.build());
loadbalancer_certificate_resource = scaleway.LoadbalancerCertificate("loadbalancerCertificateResource",
lb_id="string",
custom_certificate=scaleway.LoadbalancerCertificateCustomCertificateArgs(
certificate_chain="string",
),
letsencrypt=scaleway.LoadbalancerCertificateLetsencryptArgs(
common_name="string",
subject_alternative_names=["string"],
),
name="string")
const loadbalancerCertificateResource = new scaleway.LoadbalancerCertificate("loadbalancerCertificateResource", {
lbId: "string",
customCertificate: {
certificateChain: "string",
},
letsencrypt: {
commonName: "string",
subjectAlternativeNames: ["string"],
},
name: "string",
});
type: scaleway:LoadbalancerCertificate
properties:
customCertificate:
certificateChain: string
lbId: string
letsencrypt:
commonName: string
subjectAlternativeNames:
- string
name: string
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
- Custom
Certificate Pulumiverse.Scaleway. Inputs. Loadbalancer Certificate Custom Certificate - The custom type certificate type configuration
- Letsencrypt
Pulumiverse.
Scaleway. Inputs. Loadbalancer Certificate Letsencrypt - The Let's Encrypt type certificate configuration
- Name string
- The name of the load-balancer certificate
- Lb
Id string - The load-balancer ID
- Custom
Certificate LoadbalancerCertificate Custom Certificate Args - The custom type certificate type configuration
- Letsencrypt
Loadbalancer
Certificate Letsencrypt Args - The Let's Encrypt type certificate configuration
- Name string
- The name of the load-balancer certificate
- lb
Id String - The load-balancer ID
- custom
Certificate LoadbalancerCertificate Custom Certificate - The custom type certificate type configuration
- letsencrypt
Loadbalancer
Certificate Letsencrypt - The Let's Encrypt type certificate configuration
- name String
- The name of the load-balancer certificate
- lb
Id string - The load-balancer ID
- custom
Certificate LoadbalancerCertificate Custom Certificate - The custom type certificate type configuration
- letsencrypt
Loadbalancer
Certificate Letsencrypt - The Let's Encrypt type certificate configuration
- name string
- The name of the load-balancer certificate
- lb_
id str - The load-balancer ID
- custom_
certificate LoadbalancerCertificate Custom Certificate Args - The custom type certificate type configuration
- letsencrypt
Loadbalancer
Certificate Letsencrypt Args - The Let's Encrypt type certificate configuration
- name str
- The name of the load-balancer certificate
- lb
Id String - The load-balancer ID
- custom
Certificate Property Map - The custom type certificate type configuration
- letsencrypt Property Map
- The Let's Encrypt type certificate configuration
- name String
- The name of the load-balancer certificate
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
- 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 - The alternative domain names of the certificate
- Common
Name string - Main domain of the certificate
- 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 - The alternative domain names of the certificate
- common
Name String - Main domain of the certificate
- 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 - The alternative domain names of the certificate
- common
Name string - Main domain of the certificate
- 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 - The alternative domain names of the certificate
- common_
name str - Main domain of the certificate
- 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 - The alternative domain names of the certificate
- common
Name String - Main domain of the certificate
- 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 - The alternative domain names of the 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
- Custom
Certificate Pulumiverse.Scaleway. Inputs. Loadbalancer Certificate Custom Certificate - The custom type certificate type configuration
- Fingerprint string
- The identifier (SHA-1) of the certificate
- Lb
Id string - The load-balancer ID
- Letsencrypt
Pulumiverse.
Scaleway. Inputs. Loadbalancer Certificate Letsencrypt - The Let's Encrypt type certificate configuration
- Name string
- The name of the load-balancer certificate
- 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 - The alternative domain names of the certificate
- Common
Name string - Main domain of the certificate
- Custom
Certificate LoadbalancerCertificate Custom Certificate Args - The custom type certificate type configuration
- Fingerprint string
- The identifier (SHA-1) of the certificate
- Lb
Id string - The load-balancer ID
- Letsencrypt
Loadbalancer
Certificate Letsencrypt Args - The Let's Encrypt type certificate configuration
- Name string
- The name of the load-balancer certificate
- 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 - The alternative domain names of the certificate
- common
Name String - Main domain of the certificate
- custom
Certificate LoadbalancerCertificate Custom Certificate - The custom type certificate type configuration
- fingerprint String
- The identifier (SHA-1) of the certificate
- lb
Id String - The load-balancer ID
- letsencrypt
Loadbalancer
Certificate Letsencrypt - The Let's Encrypt type certificate configuration
- name String
- The name of the load-balancer certificate
- 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 - The alternative domain names of the certificate
- common
Name string - Main domain of the certificate
- custom
Certificate LoadbalancerCertificate Custom Certificate - The custom type certificate type configuration
- fingerprint string
- The identifier (SHA-1) of the certificate
- lb
Id string - The load-balancer ID
- letsencrypt
Loadbalancer
Certificate Letsencrypt - The Let's Encrypt type certificate configuration
- name string
- The name of the load-balancer certificate
- 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 - The alternative domain names of the certificate
- common_
name str - Main domain of the certificate
- custom_
certificate LoadbalancerCertificate Custom Certificate Args - The custom type certificate type configuration
- fingerprint str
- The identifier (SHA-1) of the certificate
- lb_
id str - The load-balancer ID
- letsencrypt
Loadbalancer
Certificate Letsencrypt Args - The Let's Encrypt type certificate configuration
- name str
- The name of the load-balancer certificate
- 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 - The alternative domain names of the certificate
- common
Name String - Main domain of the certificate
- custom
Certificate Property Map - The custom type certificate type configuration
- fingerprint String
- The identifier (SHA-1) of the certificate
- lb
Id String - The load-balancer ID
- letsencrypt Property Map
- The Let's Encrypt type certificate configuration
- name String
- The name of the load-balancer certificate
- 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 - The alternative domain names of the certificate
Supporting Types
LoadbalancerCertificateCustomCertificate, LoadbalancerCertificateCustomCertificateArgs
- 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
LoadbalancerCertificateLetsencrypt, LoadbalancerCertificateLetsencryptArgs
- Common
Name string - Main domain of the certificate
- Subject
Alternative List<string>Names - The alternative domain names of the certificate
- Common
Name string - Main domain of the certificate
- Subject
Alternative []stringNames - The alternative domain names of the certificate
- common
Name String - Main domain of the certificate
- subject
Alternative List<String>Names - The alternative domain names of the certificate
- common
Name string - Main domain of the certificate
- subject
Alternative string[]Names - The alternative domain names of the certificate
- common_
name str - Main domain of the certificate
- subject_
alternative_ Sequence[str]names - The alternative domain names of the certificate
- common
Name String - Main domain 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.