1. Packages
  2. Google Cloud Native
  3. API Docs
  4. sqladmin
  5. sqladmin/v1beta4
  6. SslCert

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.sqladmin/v1beta4.SslCert

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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 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)
    public SslCert(String name, SslCertArgs args)
    public SslCert(String name, SslCertArgs args, CustomResourceOptions options)
    
    type: google-native:sqladmin/v1beta4:SslCert
    properties: # The arguments to resource properties.
    options: # 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.
    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.
    name String
    The unique name of the resource.
    args SslCertArgs
    The arguments to resource properties.
    options 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 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
    instance String
    commonName String
    User supplied name. Must be a distinct name from the other certificates for this instance.
    project String

    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 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.
    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.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi