Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/beta.getRegionSslCertificate
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.
Using getRegionSslCertificate
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 getRegionSslCertificate(args: GetRegionSslCertificateArgs, opts?: InvokeOptions): Promise<GetRegionSslCertificateResult>
function getRegionSslCertificateOutput(args: GetRegionSslCertificateOutputArgs, opts?: InvokeOptions): Output<GetRegionSslCertificateResult>def get_region_ssl_certificate(project: Optional[str] = None,
                               region: Optional[str] = None,
                               ssl_certificate: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetRegionSslCertificateResult
def get_region_ssl_certificate_output(project: Optional[pulumi.Input[str]] = None,
                               region: Optional[pulumi.Input[str]] = None,
                               ssl_certificate: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetRegionSslCertificateResult]func LookupRegionSslCertificate(ctx *Context, args *LookupRegionSslCertificateArgs, opts ...InvokeOption) (*LookupRegionSslCertificateResult, error)
func LookupRegionSslCertificateOutput(ctx *Context, args *LookupRegionSslCertificateOutputArgs, opts ...InvokeOption) LookupRegionSslCertificateResultOutput> Note: This function is named LookupRegionSslCertificate in the Go SDK.
public static class GetRegionSslCertificate 
{
    public static Task<GetRegionSslCertificateResult> InvokeAsync(GetRegionSslCertificateArgs args, InvokeOptions? opts = null)
    public static Output<GetRegionSslCertificateResult> Invoke(GetRegionSslCertificateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegionSslCertificateResult> getRegionSslCertificate(GetRegionSslCertificateArgs args, InvokeOptions options)
public static Output<GetRegionSslCertificateResult> getRegionSslCertificate(GetRegionSslCertificateArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:compute/beta:getRegionSslCertificate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Region string
- SslCertificate string
- Project string
- Region string
- SslCertificate string
- Project string
- region String
- sslCertificate String
- project String
- region string
- sslCertificate string
- project string
- region str
- ssl_certificate str
- project str
- region String
- sslCertificate String
- project String
getRegionSslCertificate 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.Google Native. Compute. Beta. Outputs. Ssl Certificate Managed Ssl Certificate Response 
- 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.
- SelfManaged Pulumi.Google Native. Compute. Beta. Outputs. Ssl Certificate Self Managed Ssl Certificate Response 
- Configuration and status of a self-managed SSL certificate.
- SubjectAlternative List<string>Names 
- 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
SslCertificate Managed Ssl Certificate Response 
- 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.
- SelfManaged SslCertificate Self Managed Ssl Certificate Response 
- Configuration and status of a self-managed SSL certificate.
- SubjectAlternative []stringNames 
- 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
SslCertificate Managed Ssl Certificate Response 
- 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.
- selfManaged SslCertificate Self Managed Ssl Certificate Response 
- Configuration and status of a self-managed SSL certificate.
- subjectAlternative List<String>Names 
- 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
SslCertificate Managed Ssl Certificate Response 
- 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.
- selfManaged SslCertificate Self Managed Ssl Certificate Response 
- Configuration and status of a self-managed SSL certificate.
- subjectAlternative string[]Names 
- 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
SslCertificate Managed Ssl Certificate Response 
- 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_managed SslCertificate Self Managed Ssl Certificate Response 
- Configuration and status of a self-managed SSL certificate.
- subject_alternative_ Sequence[str]names 
- 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.
- selfManaged Property Map
- Configuration and status of a self-managed SSL certificate.
- subjectAlternative List<String>Names 
- 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 Cloud Native is in preview. Google Cloud Classic is fully supported.