Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Google Native

v0.9.0 published on Wednesday, Nov 24, 2021 by Pulumi

SslCert

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. Auto-naming is currently not supported for this resource.

Create a SslCert Resource

new SslCert(name: string, args: SslCertArgs, opts?: CustomResourceOptions);
@overload
def SslCert(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            common_name: Optional[str] = None,
            instance: Optional[str] = None,
            project: Optional[str] = None)
@overload
def SslCert(resource_name: str,
            args: SslCertInitArgs,
            opts: Optional[ResourceOptions] = None)
func NewSslCert(ctx *Context, name string, args SslCertArgs, opts ...ResourceOption) (*SslCert, error)
public SslCert(string name, SslCertArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SslCertArgs
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 SslCertInitArgs
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 SslCertArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SslCertArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SslCert 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 SslCert resource accepts the following input properties:

Instance string
CommonName string
User supplied name. Must be a distinct name from the other certificates for this instance.
Project string
Instance string
CommonName string
User supplied name. Must be a distinct name from the other certificates for this instance.
Project string
instance string
commonName string
User supplied name. Must be a distinct name from the other certificates for this instance.
project string
instance str
common_name str
User supplied name. Must be a distinct name from the other certificates for this instance.
project str

Outputs

All input properties are implicitly available as output properties. Additionally, the SslCert resource produces the following output properties:

Cert string
PEM representation.
CertSerialNumber string
Serial number, as extracted from the certificate.
CreateTime string
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
ExpirationTime string
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
This is always sql#sslCert.
SelfLink string
The URI of this resource.
Sha1Fingerprint string
Sha1 Fingerprint.
Cert string
PEM representation.
CertSerialNumber string
Serial number, as extracted from the certificate.
CreateTime string
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
ExpirationTime string
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
This is always sql#sslCert.
SelfLink string
The URI of this resource.
Sha1Fingerprint string
Sha1 Fingerprint.
cert string
PEM representation.
certSerialNumber string
Serial number, as extracted from the certificate.
createTime string
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
expirationTime string
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
id string
The provider-assigned unique ID for this managed resource.
kind string
This is always sql#sslCert.
selfLink string
The URI of this resource.
sha1Fingerprint string
Sha1 Fingerprint.
cert str
PEM representation.
cert_serial_number str
Serial number, as extracted from the certificate.
create_time str
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
expiration_time str
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
id str
The provider-assigned unique ID for this managed resource.
kind str
This is always sql#sslCert.
self_link str
The URI of this resource.
sha1_fingerprint str
Sha1 Fingerprint.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0