Google Native

v0.26.0 published on Friday, Sep 16, 2022 by Pulumi

SslCertificate

Creates a SslCertificate resource in the specified project using the data included in the request.

Create a SslCertificate Resource

new SslCertificate(name: string, args?: SslCertificateArgs, opts?: CustomResourceOptions);
@overload
def SslCertificate(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   certificate: Optional[str] = None,
                   description: Optional[str] = None,
                   managed: Optional[SslCertificateManagedSslCertificateArgs] = None,
                   name: Optional[str] = None,
                   private_key: Optional[str] = None,
                   project: Optional[str] = None,
                   request_id: Optional[str] = None,
                   self_managed: Optional[SslCertificateSelfManagedSslCertificateArgs] = None,
                   type: Optional[SslCertificateType] = None)
@overload
def SslCertificate(resource_name: str,
                   args: Optional[SslCertificateArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewSslCertificate(ctx *Context, name string, args *SslCertificateArgs, opts ...ResourceOption) (*SslCertificate, error)
public SslCertificate(string name, SslCertificateArgs? args = null, CustomResourceOptions? opts = null)
public SslCertificate(String name, SslCertificateArgs args)
public SslCertificate(String name, SslCertificateArgs args, CustomResourceOptions options)
type: google-native:compute/alpha:SslCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SslCertificateArgs
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 SslCertificateArgs
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 SslCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SslCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SslCertificateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

Certificate string

A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

Description string

An optional description of this resource. Provide this property when you create the resource.

Managed Pulumi.GoogleNative.Compute.Alpha.Inputs.SslCertificateManagedSslCertificateArgs

Configuration and status of a managed SSL certificate.

Name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

PrivateKey string

A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.

Project string
RequestId string

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

SelfManaged Pulumi.GoogleNative.Compute.Alpha.Inputs.SslCertificateSelfManagedSslCertificateArgs

Configuration and status of a self-managed SSL certificate.

Type Pulumi.GoogleNative.Compute.Alpha.SslCertificateType

(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

Certificate string

A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

Description string

An optional description of this resource. Provide this property when you create the resource.

Managed SslCertificateManagedSslCertificateArgs

Configuration and status of a managed SSL certificate.

Name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

PrivateKey string

A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.

Project string
RequestId string

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

SelfManaged SslCertificateSelfManagedSslCertificateArgs

Configuration and status of a self-managed SSL certificate.

Type SslCertificateType

(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

certificate String

A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

description String

An optional description of this resource. Provide this property when you create the resource.

managed SslCertificateManagedSslCertificateArgs

Configuration and status of a managed SSL certificate.

name String

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

privateKey String

A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.

project String
requestId String

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

selfManaged SslCertificateSelfManagedSslCertificateArgs

Configuration and status of a self-managed SSL certificate.

type SslCertificateType

(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

certificate string

A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

description string

An optional description of this resource. Provide this property when you create the resource.

managed SslCertificateManagedSslCertificateArgs

Configuration and status of a managed SSL certificate.

name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

privateKey string

A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.

project string
requestId string

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

selfManaged SslCertificateSelfManagedSslCertificateArgs

Configuration and status of a self-managed SSL certificate.

type SslCertificateType

(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

certificate str

A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

description str

An optional description of this resource. Provide this property when you create the resource.

managed SslCertificateManagedSslCertificateArgs

Configuration and status of a managed SSL certificate.

name str

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

private_key str

A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.

project str
request_id str

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

self_managed SslCertificateSelfManagedSslCertificateArgs

Configuration and status of a self-managed SSL certificate.

type SslCertificateType

(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

certificate String

A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

description String

An optional description of this resource. Provide this property when you create the resource.

managed Property Map

Configuration and status of a managed SSL certificate.

name String

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

privateKey String

A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.

project String
requestId String

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

selfManaged Property Map

Configuration and status of a self-managed SSL certificate.

type "MANAGED" | "SELF_MANAGED" | "TYPE_UNSPECIFIED"

(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

Outputs

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

CreationTimestamp string

Creation timestamp in RFC3339 text format.

ExpireTime string

Expire time of the certificate. RFC3339

Id string

The provider-assigned unique ID for this managed resource.

Kind string

Type of the resource. Always compute#sslCertificate for SSL certificates.

Region string

URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.

SelfLink string

[Output only] Server-defined URL for the resource.

SelfLinkWithId string

Server-defined URL for this resource with the resource id.

SubjectAlternativeNames List<string>

Domains associated with the certificate via Subject Alternative Name.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

ExpireTime string

Expire time of the certificate. RFC3339

Id string

The provider-assigned unique ID for this managed resource.

Kind string

Type of the resource. Always compute#sslCertificate for SSL certificates.

Region string

URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.

SelfLink string

[Output only] Server-defined URL for the resource.

SelfLinkWithId string

Server-defined URL for this resource with the resource id.

SubjectAlternativeNames []string

Domains associated with the certificate via Subject Alternative Name.

creationTimestamp String

Creation timestamp in RFC3339 text format.

expireTime String

Expire time of the certificate. RFC3339

id String

The provider-assigned unique ID for this managed resource.

kind String

Type of the resource. Always compute#sslCertificate for SSL certificates.

region String

URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.

selfLink String

[Output only] Server-defined URL for the resource.

selfLinkWithId String

Server-defined URL for this resource with the resource id.

subjectAlternativeNames List<String>

Domains associated with the certificate via Subject Alternative Name.

creationTimestamp string

Creation timestamp in RFC3339 text format.

expireTime string

Expire time of the certificate. RFC3339

id string

The provider-assigned unique ID for this managed resource.

kind string

Type of the resource. Always compute#sslCertificate for SSL certificates.

region string

URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.

selfLink string

[Output only] Server-defined URL for the resource.

selfLinkWithId string

Server-defined URL for this resource with the resource id.

subjectAlternativeNames string[]

Domains associated with the certificate via Subject Alternative Name.

creation_timestamp str

Creation timestamp in RFC3339 text format.

expire_time str

Expire time of the certificate. RFC3339

id str

The provider-assigned unique ID for this managed resource.

kind str

Type of the resource. Always compute#sslCertificate for SSL certificates.

region str

URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.

self_link str

[Output only] Server-defined URL for the resource.

self_link_with_id str

Server-defined URL for this resource with the resource id.

subject_alternative_names Sequence[str]

Domains associated with the certificate via Subject Alternative Name.

creationTimestamp String

Creation timestamp in RFC3339 text format.

expireTime String

Expire time of the certificate. RFC3339

id String

The provider-assigned unique ID for this managed resource.

kind String

Type of the resource. Always compute#sslCertificate for SSL certificates.

region String

URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.

selfLink String

[Output only] Server-defined URL for the resource.

selfLinkWithId String

Server-defined URL for this resource with the resource id.

subjectAlternativeNames List<String>

Domains associated with the certificate via Subject Alternative Name.

Supporting Types

SslCertificateManagedSslCertificate

Domains List<string>

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

Domains []string

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

domains List<String>

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

domains string[]

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

domains Sequence[str]

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

domains List<String>

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

SslCertificateManagedSslCertificateResponse

DomainStatus Dictionary<string, string>

[Output only] Detailed statuses of the domains specified for managed certificate resource.

Domains List<string>

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

Status string

[Output only] Status of the managed certificate resource.

DomainStatus map[string]string

[Output only] Detailed statuses of the domains specified for managed certificate resource.

Domains []string

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

Status string

[Output only] Status of the managed certificate resource.

domainStatus Map<String,String>

[Output only] Detailed statuses of the domains specified for managed certificate resource.

domains List<String>

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

status String

[Output only] Status of the managed certificate resource.

domainStatus {[key: string]: string}

[Output only] Detailed statuses of the domains specified for managed certificate resource.

domains string[]

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

status string

[Output only] Status of the managed certificate resource.

domain_status Mapping[str, str]

[Output only] Detailed statuses of the domains specified for managed certificate resource.

domains Sequence[str]

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

status str

[Output only] Status of the managed certificate resource.

domainStatus Map<String>

[Output only] Detailed statuses of the domains specified for managed certificate resource.

domains List<String>

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

status String

[Output only] Status of the managed certificate resource.

SslCertificateSelfManagedSslCertificate

Certificate string

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

PrivateKey string

A write-only private key in PEM format. Only insert requests will include this field.

Certificate string

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

PrivateKey string

A write-only private key in PEM format. Only insert requests will include this field.

certificate String

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

privateKey String

A write-only private key in PEM format. Only insert requests will include this field.

certificate string

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

privateKey string

A write-only private key in PEM format. Only insert requests will include this field.

certificate str

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

private_key str

A write-only private key in PEM format. Only insert requests will include this field.

certificate String

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

privateKey String

A write-only private key in PEM format. Only insert requests will include this field.

SslCertificateSelfManagedSslCertificateResponse

Certificate string

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

PrivateKey string

A write-only private key in PEM format. Only insert requests will include this field.

Certificate string

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

PrivateKey string

A write-only private key in PEM format. Only insert requests will include this field.

certificate String

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

privateKey String

A write-only private key in PEM format. Only insert requests will include this field.

certificate string

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

privateKey string

A write-only private key in PEM format. Only insert requests will include this field.

certificate str

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

private_key str

A write-only private key in PEM format. Only insert requests will include this field.

certificate String

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

privateKey String

A write-only private key in PEM format. Only insert requests will include this field.

SslCertificateType

Managed
MANAGED

Google-managed SSLCertificate.

SelfManaged
SELF_MANAGED

Certificate uploaded by user.

TypeUnspecified
TYPE_UNSPECIFIED
SslCertificateTypeManaged
MANAGED

Google-managed SSLCertificate.

SslCertificateTypeSelfManaged
SELF_MANAGED

Certificate uploaded by user.

SslCertificateTypeTypeUnspecified
TYPE_UNSPECIFIED
Managed
MANAGED

Google-managed SSLCertificate.

SelfManaged
SELF_MANAGED

Certificate uploaded by user.

TypeUnspecified
TYPE_UNSPECIFIED
Managed
MANAGED

Google-managed SSLCertificate.

SelfManaged
SELF_MANAGED

Certificate uploaded by user.

TypeUnspecified
TYPE_UNSPECIFIED
MANAGED
MANAGED

Google-managed SSLCertificate.

SELF_MANAGED
SELF_MANAGED

Certificate uploaded by user.

TYPE_UNSPECIFIED
TYPE_UNSPECIFIED
"MANAGED"
MANAGED

Google-managed SSLCertificate.

"SELF_MANAGED"
SELF_MANAGED

Certificate uploaded by user.

"TYPE_UNSPECIFIED"
TYPE_UNSPECIFIED

Package Details

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