Certificate class
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
- Certificate(String name, {CertificateArgs? args, CustomResourceOptions? options})
-
Creates a new Certificate.
nameThe Pulumi resource name.argsArguments used to configure this Certificate. The set of arguments for Certificate.optionsResource options controlling this resource's behavior.
Properties
-
caPoolId
↔ Output<
String> -
latefinal
-
certificateDescription
↔ Output<
CertificateDescriptionResponse> -
A structured description of the issued X.509 certificate.
latefinal
-
certificateId
↔ Output<
String?> -
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.latefinal -
certificateTemplate
↔ Output<
String> -
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.latefinal -
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
config
↔ Output<
CertificateConfigResponse> -
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
latefinal
-
createTime
↔ Output<
String> -
The time at which this Certificate was created.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
issuerCertificateAuthority
↔ Output<
String> -
The resource name of the issuing CertificateAuthority in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*.latefinal -
issuingCertificateAuthorityId
↔ Output<
String?> -
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".latefinal -
labels
↔ Output<
Map< String, String> > -
Optional. Labels with user-defined metadata.
latefinal
-
lifetime
↔ Output<
String> -
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.
latefinal
-
location
↔ Output<
String> -
latefinal
-
name
↔ Output<
String> -
The resource name for this Certificate in the format
projects/*/locations/*/caPools/*/certificates/*.latefinal -
pemCertificate
↔ Output<
String> -
The pem-encoded, signed X.509 certificate.
latefinal
-
pemCertificateChain
↔ Output<
List< String> > -
The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
latefinal
-
pemCsr
↔ Output<
String> -
Immutable. A pem-encoded X.509 certificate signing request (CSR).
latefinal
-
project
↔ Output<
String> -
latefinal
-
requestId
↔ Output<
String?> -
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).
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
-
revocationDetails
↔ Output<
RevocationDetailsResponse> -
Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subjectMode
↔ Output<
String> -
Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the
DEFAULTsubject mode will be used.latefinal -
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
updateTime
↔ Output<
String> -
The time at which this Certificate was updated.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited