CertificateArgs class
The set of arguments for Certificate. The set of arguments for Certificate.
Constructors
-
CertificateArgs({required Input<
String> caPoolId, Input<String> ? certificateId, Input<String> ? certificateTemplate, Input<CertificateConfig> ? config, Input<String> ? issuingCertificateAuthorityId, Input<Map< ? labels, required Input<String, String> >String> lifetime, Input<String> ? location, Input<String> ? pemCsr, Input<String> ? project, Input<String> ? requestId, Input<CertificateSubjectMode> ? subjectMode}) -
Creates a new CertificateArgs.
caPoolIdRequired.certificateIdOptional. 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.certificateTemplateImmutable. The resource name for a CertificateTemplate used to issue this certificate, in the formatprojects/*/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.configImmutable. A description of the certificate and key that does not require X.509 or ASN.1.issuingCertificateAuthorityIdOptional. 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 byparent. 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".labelsOptional. Labels with user-defined metadata.lifetimeImmutable. 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.locationOptional.pemCsrImmutable. A pem-encoded X.509 certificate signing request (CSR).projectOptional.requestIdOptional. 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).subjectModeImmutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, theDEFAULTsubject mode will be used.const -
CertificateArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
caPoolId
→ Input<
String> -
final
-
certificateId
→ Input<
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.final -
certificateTemplate
→ Input<
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.final -
config
→ Input<
CertificateConfig> ? -
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
issuingCertificateAuthorityId
→ Input<
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".final -
labels
→ Input<
Map< ?String, String> > -
Optional. Labels with user-defined metadata.
final
-
lifetime
→ Input<
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.
final
-
location
→ Input<
String> ? -
final
-
pemCsr
→ Input<
String> ? -
Immutable. A pem-encoded X.509 certificate signing request (CSR).
final
-
project
→ Input<
String> ? -
final
-
requestId
→ Input<
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).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subjectMode
→ Input<
CertificateSubjectMode> ? -
Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the
DEFAULTsubject mode will be used.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited