CertificateAuthorityArgs class
The set of arguments for CertificateAuthority. The set of arguments for CertificateAuthority.
Constructors
-
CertificateAuthorityArgs({required Input<
String> caPoolId, required Input<String> certificateAuthorityId, required Input<CertificateConfig> config, Input<String> ? gcsBucket, required Input<KeyVersionSpec> keySpec, Input<Map< ? labels, required Input<String, String> >String> lifetime, Input<String> ? location, Input<String> ? project, Input<String> ? requestId, Input<SubordinateConfig> ? subordinateConfig, required Input<CertificateAuthorityType> type}) -
Creates a new CertificateAuthorityArgs.
caPoolIdRequired.certificateAuthorityIdRequired. It must be unique within a location and match the regular expression[a-zA-Z0-9_-]{1,63}configImmutable. The config used to create a self-signed X.509 certificate or CSR.gcsBucketImmutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such asgs://) or suffixes (such as.googleapis.com). For example, to use a bucket namedmy-bucket, you would simply specifymy-bucket. If not specified, a managed bucket will be created.keySpecImmutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.labelsOptional. Labels with user-defined metadata.lifetimeImmutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.locationOptional.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).subordinateConfigOptional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.typeImmutable. The Type of this CertificateAuthority.const -
CertificateAuthorityArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
caPoolId
→ Input<
String> -
final
-
certificateAuthorityId
→ Input<
String> -
Required. It must be unique within a location and match the regular expression
[a-zA-Z0-9_-]{1,63}final -
config
→ Input<
CertificateConfig> -
Immutable. The config used to create a self-signed X.509 certificate or CSR.
final
-
gcsBucket
→ Input<
String> ? -
Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as
gs://) or suffixes (such as.googleapis.com). For example, to use a bucket namedmy-bucket, you would simply specifymy-bucket. If not specified, a managed bucket will be created.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
keySpec
→ Input<
KeyVersionSpec> -
Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
final
-
labels
→ Input<
Map< ?String, String> > -
Optional. Labels with user-defined metadata.
final
-
lifetime
→ Input<
String> -
Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.
final
-
location
→ Input<
String> ? -
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
-
subordinateConfig
→ Input<
SubordinateConfig> ? -
Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
final
-
type
→ Input<
CertificateAuthorityType> -
Immutable. The Type of this CertificateAuthority.
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