CertificateArgs

data class CertificateArgs(val caPoolId: Output<String>? = null, val certificateId: Output<String>? = null, val certificateTemplate: Output<String>? = null, val config: Output<CertificateConfigArgs>? = null, val issuingCertificateAuthorityId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val lifetime: Output<String>? = null, val location: Output<String>? = null, val pemCsr: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val subjectMode: Output<CertificateSubjectMode>? = null) : ConvertibleToJava<CertificateArgs>

Create a new Certificate in a given Project, Location from a particular CaPool. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
fun CertificateArgs(caPoolId: Output<String>? = null, certificateId: Output<String>? = null, certificateTemplate: Output<String>? = null, config: Output<CertificateConfigArgs>? = null, issuingCertificateAuthorityId: Output<String>? = null, labels: Output<Map<String, String>>? = null, lifetime: Output<String>? = null, location: Output<String>? = null, pemCsr: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, subjectMode: Output<CertificateSubjectMode>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CertificateArgs

Properties

Link copied to clipboard
val caPoolId: Output<String>? = null
Link copied to clipboard
val certificateId: Output<String>? = null

Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.Tier, but is optional and its value is ignored otherwise.

Link copied to clipboard
val certificateTemplate: Output<String>? = null

Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format projects/*/locations/*/certificateTemplates/*. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.

Link copied to clipboard
val config: Output<CertificateConfigArgs>? = null

Immutable. A description of the certificate and key that does not require X.509 or ASN.1.

Link copied to clipboard

Optional. The resource ID of the CertificateAuthority that should issue the certificate. This optional field will ignore the load-balancing scheme of the Pool and directly issue the certificate from the CA with the specified ID, contained in the same CaPool referenced by parent. Per-CA quota rules apply. If left empty, a CertificateAuthority will be chosen from the CaPool by the service. For example, to issue a Certificate from a Certificate Authority with resource name "projects/my-project/locations/us-central1/caPools/my-pool/certificateAuthorities/my-ca", you can set the parent to "projects/my-project/locations/us-central1/caPools/my-pool" and the issuing_certificate_authority_id to "my-ca".

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. Labels with user-defined metadata.

Link copied to clipboard
val lifetime: Output<String>? = null

Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val pemCsr: Output<String>? = null

Immutable. A pem-encoded X.509 certificate signing request (CSR).

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

Optional. An 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. The server will guarantee that for at least 60 minutes since the first request. 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).

Link copied to clipboard
val subjectMode: Output<CertificateSubjectMode>? = null

Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the DEFAULT subject mode will be used. //*/