Class CertificateArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.certificateauthority.CertificateArgs
-
public final class CertificateArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CertificateArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static CertificateArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateArgs.Builder
builder()
static CertificateArgs.Builder
builder(CertificateArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
certificateAuthority()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
certificateTemplate()
java.util.Optional<com.pulumi.core.Output<CertificateConfigArgs>>
config()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
labels()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
lifetime()
com.pulumi.core.Output<java.lang.String>
location()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
pemCsr()
com.pulumi.core.Output<java.lang.String>
pool()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
-
-
-
Field Detail
-
Empty
public static final CertificateArgs Empty
-
-
Method Detail
-
certificateAuthority
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> certificateAuthority()
- Returns:
- The Certificate Authority ID that should issue the certificate. 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`, argument `pool` should be set to `projects/my-project/locations/us-central1/caPools/my-pool`, argument `certificate_authority` should be set to `my-ca`.
-
certificateTemplate
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> certificateTemplate()
- Returns:
- 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.
-
config
public java.util.Optional<com.pulumi.core.Output<CertificateConfigArgs>> config()
- Returns:
- The config used to create a self-signed X.509 certificate or CSR. Structure is documented below.
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- Labels with user-defined metadata to apply to this resource.
-
lifetime
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lifetime()
- Returns:
- The desired lifetime of the CA certificate. Used to create the "notBeforeTime" and "notAfterTime" fields inside an X.509 certificate. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- Location of the Certificate. A full list of valid locations can be found by running `gcloud privateca locations list`. ***
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name for this Certificate.
-
pemCsr
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> pemCsr()
- Returns:
- Immutable. A pem-encoded X.509 certificate signing request (CSR).
-
pool
public com.pulumi.core.Output<java.lang.String> pool()
- Returns:
- The name of the CaPool this Certificate belongs to.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
builder
public static CertificateArgs.Builder builder()
-
builder
public static CertificateArgs.Builder builder(CertificateArgs defaults)
-
-