Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.RegionSslCertificate
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a SslCertificate resource in the specified project and region using the data included in the request
Create RegionSslCertificate Resource
new RegionSslCertificate(name: string, args: RegionSslCertificateArgs, opts?: CustomResourceOptions);
@overload
def RegionSslCertificate(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,
region: Optional[str] = None,
request_id: Optional[str] = None,
self_managed: Optional[SslCertificateSelfManagedSslCertificateArgs] = None,
type: Optional[RegionSslCertificateType] = None)
@overload
def RegionSslCertificate(resource_name: str,
args: RegionSslCertificateArgs,
opts: Optional[ResourceOptions] = None)
func NewRegionSslCertificate(ctx *Context, name string, args RegionSslCertificateArgs, opts ...ResourceOption) (*RegionSslCertificate, error)
public RegionSslCertificate(string name, RegionSslCertificateArgs args, CustomResourceOptions? opts = null)
public RegionSslCertificate(String name, RegionSslCertificateArgs args)
public RegionSslCertificate(String name, RegionSslCertificateArgs args, CustomResourceOptions options)
type: google-native:compute/v1:RegionSslCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionSslCertificateArgs
- 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 RegionSslCertificateArgs
- 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 RegionSslCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionSslCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegionSslCertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RegionSslCertificate 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 RegionSslCertificate resource accepts the following input properties:
- Region string
- 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.
Google Native. Compute. V1. Inputs. Ssl Certificate Managed Ssl Certificate 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.- Private
Key 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
- Request
Id 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).
- Self
Managed Pulumi.Google Native. Compute. V1. Inputs. Ssl Certificate Self Managed Ssl Certificate Configuration and status of a self-managed SSL certificate.
- Type
Pulumi.
Google Native. Compute. V1. Region Ssl Certificate Type (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.
- Region string
- 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
Ssl
Certificate Managed Ssl Certificate Args 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.- Private
Key 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
- Request
Id 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).
- Self
Managed SslCertificate Self Managed Ssl Certificate Args Configuration and status of a self-managed SSL certificate.
- Type
Region
Ssl Certificate Type (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.
- region String
- 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
Ssl
Certificate Managed Ssl Certificate 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.- private
Key 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
- request
Id 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).
- self
Managed SslCertificate Self Managed Ssl Certificate Configuration and status of a self-managed SSL certificate.
- type
Region
Ssl Certificate Type (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.
- region string
- 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
Ssl
Certificate Managed Ssl Certificate 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.- private
Key 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
- request
Id 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).
- self
Managed SslCertificate Self Managed Ssl Certificate Configuration and status of a self-managed SSL certificate.
- type
Region
Ssl Certificate Type (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.
- region str
- 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
Ssl
Certificate Managed Ssl Certificate Args 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 SslCertificate Self Managed Ssl Certificate Args Configuration and status of a self-managed SSL certificate.
- type
Region
Ssl Certificate Type (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.
- region String
- 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.- private
Key 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
- request
Id 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).
- self
Managed 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 RegionSslCertificate resource produces the following output properties:
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Expire
Time 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.
- Self
Link string [Output only] Server-defined URL for the resource.
- Subject
Alternative List<string>Names Domains associated with the certificate via Subject Alternative Name.
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Expire
Time 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.
- Self
Link string [Output only] Server-defined URL for the resource.
- Subject
Alternative []stringNames Domains associated with the certificate via Subject Alternative Name.
- creation
Timestamp String Creation timestamp in RFC3339 text format.
- expire
Time 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.
- self
Link String [Output only] Server-defined URL for the resource.
- subject
Alternative List<String>Names Domains associated with the certificate via Subject Alternative Name.
- creation
Timestamp string Creation timestamp in RFC3339 text format.
- expire
Time 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.
- self
Link string [Output only] Server-defined URL for the resource.
- subject
Alternative string[]Names 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.
- self_
link str [Output only] Server-defined URL for the resource.
- subject_
alternative_ Sequence[str]names Domains associated with the certificate via Subject Alternative Name.
- creation
Timestamp String Creation timestamp in RFC3339 text format.
- expire
Time 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.
- self
Link String [Output only] Server-defined URL for the resource.
- subject
Alternative List<String>Names Domains associated with the certificate via Subject Alternative Name.
Supporting Types
RegionSslCertificateType, RegionSslCertificateTypeArgs
- Managed
- MANAGED
Google-managed SSLCertificate.
- Self
Managed - SELF_MANAGED
Certificate uploaded by user.
- Type
Unspecified - TYPE_UNSPECIFIED
- Region
Ssl Certificate Type Managed - MANAGED
Google-managed SSLCertificate.
- Region
Ssl Certificate Type Self Managed - SELF_MANAGED
Certificate uploaded by user.
- Region
Ssl Certificate Type Type Unspecified - 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
- 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
SslCertificateManagedSslCertificate, SslCertificateManagedSslCertificateArgs
- 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, SslCertificateManagedSslCertificateResponseArgs
- Domain
Status 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.
- Domain
Status 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.
- domain
Status 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.
- domain
Status {[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.
- domain
Status 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, SslCertificateSelfManagedSslCertificateArgs
- 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.
- Private
Key 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.
- Private
Key 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.
- private
Key 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.
- private
Key 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.
- private
Key String A write-only private key in PEM format. Only insert requests will include this field.
SslCertificateSelfManagedSslCertificateResponse, SslCertificateSelfManagedSslCertificateResponseArgs
- 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.
- Private
Key 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.
- Private
Key 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.
- private
Key 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.
- private
Key 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.
- private
Key String A write-only private key in PEM format. Only insert requests will include this field.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.