1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. getSslCertificate

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/alpha.getSslCertificate

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Returns the specified SslCertificate resource.

    Using getSslCertificate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSslCertificate(args: GetSslCertificateArgs, opts?: InvokeOptions): Promise<GetSslCertificateResult>
    function getSslCertificateOutput(args: GetSslCertificateOutputArgs, opts?: InvokeOptions): Output<GetSslCertificateResult>
    def get_ssl_certificate(project: Optional[str] = None,
                            ssl_certificate: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetSslCertificateResult
    def get_ssl_certificate_output(project: Optional[pulumi.Input[str]] = None,
                            ssl_certificate: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetSslCertificateResult]
    func LookupSslCertificate(ctx *Context, args *LookupSslCertificateArgs, opts ...InvokeOption) (*LookupSslCertificateResult, error)
    func LookupSslCertificateOutput(ctx *Context, args *LookupSslCertificateOutputArgs, opts ...InvokeOption) LookupSslCertificateResultOutput

    > Note: This function is named LookupSslCertificate in the Go SDK.

    public static class GetSslCertificate 
    {
        public static Task<GetSslCertificateResult> InvokeAsync(GetSslCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetSslCertificateResult> Invoke(GetSslCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSslCertificateResult> getSslCertificate(GetSslCertificateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:compute/alpha:getSslCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SslCertificate string
    Project string
    SslCertificate string
    Project string
    sslCertificate String
    project String
    sslCertificate string
    project string
    sslCertificate String
    project String

    getSslCertificate Result

    The following output properties are available:

    Certificate string
    A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    ExpireTime string
    Expire time of the certificate. RFC3339
    Kind string
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    Managed Pulumi.GoogleNative.Compute.Alpha.Outputs.SslCertificateManagedSslCertificateResponse
    Configuration and status of a managed SSL certificate.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    PrivateKey string
    A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
    Region string
    URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
    SelfLink string
    [Output only] Server-defined URL for the resource.
    SelfLinkWithId string
    Server-defined URL for this resource with the resource id.
    SelfManaged Pulumi.GoogleNative.Compute.Alpha.Outputs.SslCertificateSelfManagedSslCertificateResponse
    Configuration and status of a self-managed SSL certificate.
    SubjectAlternativeNames List<string>
    Domains associated with the certificate via Subject Alternative Name.
    Type string
    (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
    Certificate string
    A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    ExpireTime string
    Expire time of the certificate. RFC3339
    Kind string
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    Managed SslCertificateManagedSslCertificateResponse
    Configuration and status of a managed SSL certificate.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    PrivateKey string
    A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
    Region string
    URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
    SelfLink string
    [Output only] Server-defined URL for the resource.
    SelfLinkWithId string
    Server-defined URL for this resource with the resource id.
    SelfManaged SslCertificateSelfManagedSslCertificateResponse
    Configuration and status of a self-managed SSL certificate.
    SubjectAlternativeNames []string
    Domains associated with the certificate via Subject Alternative Name.
    Type string
    (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
    certificate String
    A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    expireTime String
    Expire time of the certificate. RFC3339
    kind String
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    managed SslCertificateManagedSslCertificateResponse
    Configuration and status of a managed SSL certificate.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    privateKey String
    A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
    region String
    URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
    selfLink String
    [Output only] Server-defined URL for the resource.
    selfLinkWithId String
    Server-defined URL for this resource with the resource id.
    selfManaged SslCertificateSelfManagedSslCertificateResponse
    Configuration and status of a self-managed SSL certificate.
    subjectAlternativeNames List<String>
    Domains associated with the certificate via Subject Alternative Name.
    type String
    (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
    certificate string
    A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    description string
    An optional description of this resource. Provide this property when you create the resource.
    expireTime string
    Expire time of the certificate. RFC3339
    kind string
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    managed SslCertificateManagedSslCertificateResponse
    Configuration and status of a managed SSL certificate.
    name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    privateKey string
    A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
    region string
    URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
    selfLink string
    [Output only] Server-defined URL for the resource.
    selfLinkWithId string
    Server-defined URL for this resource with the resource id.
    selfManaged SslCertificateSelfManagedSslCertificateResponse
    Configuration and status of a self-managed SSL certificate.
    subjectAlternativeNames string[]
    Domains associated with the certificate via Subject Alternative Name.
    type string
    (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
    certificate str
    A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    creation_timestamp str
    Creation timestamp in RFC3339 text format.
    description str
    An optional description of this resource. Provide this property when you create the resource.
    expire_time str
    Expire time of the certificate. RFC3339
    kind str
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    managed SslCertificateManagedSslCertificateResponse
    Configuration and status of a managed SSL certificate.
    name str
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    private_key str
    A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
    region str
    URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
    self_link str
    [Output only] Server-defined URL for the resource.
    self_link_with_id str
    Server-defined URL for this resource with the resource id.
    self_managed SslCertificateSelfManagedSslCertificateResponse
    Configuration and status of a self-managed SSL certificate.
    subject_alternative_names Sequence[str]
    Domains associated with the certificate via Subject Alternative Name.
    type str
    (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
    certificate String
    A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    expireTime String
    Expire time of the certificate. RFC3339
    kind String
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    managed Property Map
    Configuration and status of a managed SSL certificate.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    privateKey String
    A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
    region String
    URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
    selfLink String
    [Output only] Server-defined URL for the resource.
    selfLinkWithId String
    Server-defined URL for this resource with the resource id.
    selfManaged Property Map
    Configuration and status of a self-managed SSL certificate.
    subjectAlternativeNames List<String>
    Domains associated with the certificate via Subject Alternative Name.
    type String
    (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

    Supporting Types

    SslCertificateManagedSslCertificateResponse

    DomainStatus Dictionary<string, string>
    [Output only] Detailed statuses of the domains specified for managed certificate resource.
    Domains List<string>
    The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
    Status string
    [Output only] Status of the managed certificate resource.
    DomainStatus map[string]string
    [Output only] Detailed statuses of the domains specified for managed certificate resource.
    Domains []string
    The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
    Status string
    [Output only] Status of the managed certificate resource.
    domainStatus Map<String,String>
    [Output only] Detailed statuses of the domains specified for managed certificate resource.
    domains List<String>
    The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
    status String
    [Output only] Status of the managed certificate resource.
    domainStatus {[key: string]: string}
    [Output only] Detailed statuses of the domains specified for managed certificate resource.
    domains string[]
    The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
    status string
    [Output only] Status of the managed certificate resource.
    domain_status Mapping[str, str]
    [Output only] Detailed statuses of the domains specified for managed certificate resource.
    domains Sequence[str]
    The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
    status str
    [Output only] Status of the managed certificate resource.
    domainStatus Map<String>
    [Output only] Detailed statuses of the domains specified for managed certificate resource.
    domains List<String>
    The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
    status String
    [Output only] Status of the managed certificate resource.

    SslCertificateSelfManagedSslCertificateResponse

    Certificate string
    A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    PrivateKey string
    A write-only private key in PEM format. Only insert requests will include this field.
    Certificate string
    A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    PrivateKey string
    A write-only private key in PEM format. Only insert requests will include this field.
    certificate String
    A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    privateKey String
    A write-only private key in PEM format. Only insert requests will include this field.
    certificate string
    A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    privateKey string
    A write-only private key in PEM format. Only insert requests will include this field.
    certificate str
    A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    private_key str
    A write-only private key in PEM format. Only insert requests will include this field.
    certificate String
    A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
    privateKey String
    A write-only private key in PEM format. Only insert requests will include this field.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi